Need help on compiling blender errorsw with Scons

July 3 2009, 1:50pm

Forum: Blender Posted By: rock Post Time: 07-03-2009 at 05:50 PM Text:

Hi,

Can someone help? Thanks. Following the instructions from blender website, I've tried to compile blender in Fedora 11 Linux, scons 1.2.x, python 2.6, but get this error when I run python scons/scons.py. My user-config.py has the following 2 lines:

BF_OPENAL_LIB = 'openal alut' BF_PYTHON_VERSION="2.6"

python scons/scons.py scons: Reading SConscript files ... /home/user/workspace/cpp/blender/scons/scons-local-1.1.0/SCons/Platform/posix.py:38: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. import popen2 /home/user/workspace/cpp/blender/scons/scons-local-1.1.0/SCons/Tool/msvs.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 Command-line arguments No command-line arguments given Command-line targets No targets given, using default Using config file: config/linux2-config.py Using user-config file: user-config.py Build with 1 parallel jobs Linux platform detected: checking for FreeAlut... no Building in ../build/linux2/ Configuring library bf_soundsystem Configuring library bf_string Configuring library bf_ghost Configuring library bf_guardedalloc Configuring library bf_bmfont Configuring library bf_moto Configuring library blender_CTR Configuring library bf_memutil Configuring library bf_decimation Configuring library bf_IK Configuring library blender_bop Configuring library blender_ONL Configuring library bf_elbeem Configuring library blender_BSP Configuring library extern_glew Configuring library extern_qhull Configuring library extern_solid Configuring library extern_bullet2linmath Configuring library extern_bullet2dynamics Configuring library extern_bullet2collision_broadphase Configuring library extern_bullet2collision_dispatch Configuring library extern_bullet2collision_gimpact Configuring library extern_bullet2collision_shapes Configuring library extern_bullet2collision_narrowphase Configuring library extern_bullet2softbody Configuring library extern_ftgl SCons.Script:12: DeprecationWarning: the sets module is deprecated

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead. File "/home/user/workspace/cpp/blender/extern/x264/SConscript", line 14, in <module> Configuring libx264... Found no assembler Minimum version is yasm-0.6.1 If you really want to compile without asm, configure with --disable-asm. IOError: [Errno 2] No such file or directory: 'extern/x264/config.mak': File "/home/user/workspace/cpp/blender/SConstruct", line 378: SConscript(B.root_build_dir+'/extern/SConscript') File "/home/user/workspace/cpp/blender/scons/scons-local-1.1.0/SCons/Script/SConscript.py", line 599: return apply(method, args, kw) File "/home/user/workspace/cpp/blender/scons/scons-local-1.1.0/SCons/Script/SConscript.py", line 536: return apply(SConscript, [self.fs,] + files, subst_kw) File "/home/user/workspace/cpp/blender/scons/scons-local-1.1.0/SCons/Script/SConscript.py", line 259: exec _file in call_stack[-1].globals File "/home/user/workspace/cpp/blender/extern/SConscript", line 21: SConscript(['x264/SConscript']) File "/home/user/workspace/cpp/blender/scons/scons-local-1.1.0/SCons/Script/SConscript.py", line 599: return apply(method, args, kw) File "/home/user/workspace/cpp/blender/scons/scons-local-1.1.0/SCons/Script/SConscript.py", line 536: return apply(SConscript, [self.fs,] + files, subst_kw) File "/home/user/workspace/cpp/blender/scons/scons-local-1.1.0/SCons/Script/SConscript.py", line 259: exec _file in call_stack[-1].globals File "/home/user/workspace/cpp/blender/extern/x264/SConscript", line 113: vars = getmakevars([root + '/config.mak', root + '/Makefile']) File "/home/user/workspace/cpp/blender/extern/x264/SConscript", line 91: fp = open(filename)

Your favourite external commenting service goes here! I recommend http://www.disqus.com