Skip to content

First scons build failed #26

@GToad

Description

@GToad

On ubuntu 18.04, I enter ./build and use "scons", the error info :
System-Product-Name:~/NUL/build$ scons
scons: Reading SConscript files ...
Checking whether the C++ compiler works... yes
Checking whether the C compiler works... yes
Check if we can link a program...no
Your compiler cannot build 32-bit host utilities. m(
No target_arch option given. Defaulting to core2.
Check if compiler supports "-std=gnu++0x"... yes
Check if compiler supports "-std=gnu99"... yes
Check if compiler supports "-mpreferred-stack-boundary=4 -mincoming-stack-boundary=4"... yes
Check if compiler supports "-fno-threadsafe-statics"... yes

scons: warning: doxygen executable (doxygen) not found - documentation won't be built
File "/home/chenjh/NUL/michal/doc/SConscript", line 43, in
AttributeError: 'filter' object has no attribute 'name':
File "/home/chenjh/NUL/build/SConstruct", line 20:
SConscript('SConscript')
File "/usr/lib/scons/SCons/Script/SConscript.py", line 660:
return method(*args, **kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 597:
return _SConscript(self.fs, files, **subst_kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 286:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/home/chenjh/NUL/base/SConscript", line 205:
SConscript(Glob('
/SConscript'))
File "/usr/lib/scons/SCons/Script/SConscript.py", line 660:
return method(*args, **kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 597:
return _SConscript(self.fs, *files, **subst_kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 286:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/home/chenjh/NUL/base/host/SConscript", line 6:
nul.Lib(target_env, 'host',
File "/home/chenjh/NUL/base/tools/nul.py", line 53:
return env.StaticLibrary(output + "/lib/%s" % name,
File "/usr/lib/scons/SCons/Environment.py", line 255:
return MethodWrapper.call(self, target, source, *args, **kw)
File "/usr/lib/scons/SCons/Environment.py", line 219:
return self.method(*nargs, **kwargs)
File "/usr/lib/scons/SCons/Builder.py", line 651:
return self._execute(env, target, source, OverrideWarner(kw), ekw)
File "/usr/lib/scons/SCons/Builder.py", line 548:
source = self.src_builder_sources(env, source, overwarn)
File "/usr/lib/scons/SCons/Builder.py", line 757:
match_suffix = match_src_suffix(s.name)

Can U help? There's python2.7 on ubuntu and I've install the software in prerequisites.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions