无法构建SCons

时间:2017-03-15 20:14:52

标签: scons

我试图使用现有的scons版本2.5.1来引导 - 构建官方Bitbucket仓库的SCons默认分支

通过

python bootstrap.py

但错误为

EnvironmentError: No module named gxx:
  File "/home/per/ware/scons/SConstruct", line 59:
    SConsignFile()
  File "/home/per/ware/scons/bootstrap/src/engine/SCons/Script/SConscript.py", line 604:
    env = self.factory()
  File "/home/per/ware/scons/bootstrap/src/engine/SCons/Script/SConscript.py", line 584:
    default_env = SCons.Defaults.DefaultEnvironment()
  File "/home/per/ware/scons/bootstrap/src/engine/SCons/Defaults.py", line 88:
    _default_env = SCons.Environment.Environment(*args, **kw)
  File "/home/per/ware/scons/bootstrap/src/engine/SCons/Environment.py", line 982:
    apply_tools(self, tools, toolpath)
  File "/home/per/ware/scons/bootstrap/src/engine/SCons/Environment.py", line 107:
    env.Tool(tool)
  File "/home/per/ware/scons/bootstrap/src/engine/SCons/Environment.py", line 1789:
    tool(self)
  File "/home/per/ware/scons/bootstrap/src/engine/SCons/Tool/__init__.py", line 225:
    self.generate(env, *args, **kw)
  File "/home/per/ware/scons/bootstrap/src/engine/SCons/Tool/default.py", line 40:
    for t in SCons.Tool.tool_list(env['PLATFORM'], env):
  File "/home/per/ware/scons/bootstrap/src/engine/SCons/Tool/__init__.py", line 1134:
    cxx_compiler = FindTool(cxx_compilers, env) or cxx_compilers[0]
  File "/home/per/ware/scons/bootstrap/src/engine/SCons/Tool/__init__.py", line 1021:
    t = Tool(tool)
  File "/home/per/ware/scons/bootstrap/src/engine/SCons/Tool/__init__.py", line 107:
    module = self._tool_module()
  File "/home/per/ware/scons/bootstrap/src/engine/SCons/Tool/__init__.py", line 190:
    raise SCons.Errors.EnvironmentError(e)

出了什么问题?

0 个答案:

没有答案