当我从提取的源代码树中的neo文件夹中运行scons命令时,得到以下输出:
nroach44@ASUS-P5G43T-U1110:~/Source/doom3engine/neo$ scons
scons: Reading SConscript files ...
Loading build configuration from site.conf:
BUILD_GAMEPAK='0'
JOBS='1'
DEDICATED='0'
SILENT='0'
GL_HARDLINK='0'
ID_MCHECK='2'
BUILD_ROOT='build'
ALSA='1'
CC='gcc'
TARGET_D3XP='1'
TARGET_CORE='1'
BUILD='debug'
TARGET_GAME='1'
TARGET_MONO='0'
BASEFLAGS=''
CXX='g++'
NOCURL='0'
DEBUG_MEMORY='0'
IDNET_HOST=''
LIBC_MALLOC='1'
ID_NOLANADDRESS='0'
TARGET_DEMO='0'
AttributeError: 'SConsEnvironment' object has no attribute 'M4':
File "/home/nroach44/Source/doom3engine/neo/SConstruct", line 422:
SConscript( g_build + '/core/glimp/sys/scons/SConscript.gl' )
File "/usr/lib/scons/SCons/Script/SConscript.py", line 614:
return method(*args, **kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:
return _SConscript(self.fs, *files, **subst_kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
exec _file_ in call_stack[-1].globals
File "/home/nroach44/Source/doom3engine/neo/build/debug/core/glimp/sys/scons/SConscript.gl", line 69:
gl_env.M4( i_m4, i_m4 + '.m4' )
我无法判断它是否缺少某些内容,未引用某些内容或内容。这确实是从新的提取到新文件夹中发生的。
谢谢!
最佳答案
尝试安装m4
宏软件包-也许scons
正在寻找它,这是其报告缺少的工具的方式吗?
关于linux - Scons/Doom 3在Ubuntu上编译错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/8254095/