Error compiling Blender, Ubuntu 8.04

I’ve followed the directions on the Web for compiling Blender under Linux, but I’m getting the following error:

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/ed/blender-svn/blender/extern/x264/SConscript”, line 14, in <module>
Configuring libx264…
Found yasm 0.5.0.1591
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/ed/blender-svn/blender/SConstruct”, line 378:
SConscript(B.root_build_dir+’/extern/SConscript’)
File “/home/ed/blender-svn/blender/scons/scons-local-1.1.0/SCons/Script/SConscript.py”, line 599:
return apply(method, args, kw)
File “/home/ed/blender-svn/blender/scons/scons-local-1.1.0/SCons/Script/SConscript.py”, line 536:
return apply(_SConscript, [self.fs,] + files, subst_kw)
File “/home/ed/blender-svn/blender/scons/scons-local-1.1.0/SCons/Script/SConscript.py”, line 259:
exec file in call_stack[-1].globals
File “/home/ed/blender-svn/blender/extern/SConscript”, line 21:
SConscript([‘x264/SConscript’])
File “/home/ed/blender-svn/blender/scons/scons-local-1.1.0/SCons/Script/SConscript.py”, line 599:
return apply(method, args, kw)
File “/home/ed/blender-svn/blender/scons/scons-local-1.1.0/SCons/Script/SConscript.py”, line 536:
return apply(_SConscript, [self.fs,] + files, subst_kw)
File “/home/ed/blender-svn/blender/scons/scons-local-1.1.0/SCons/Script/SConscript.py”, line 259:
exec file in call_stack[-1].globals
File “/home/ed/blender-svn/blender/extern/x264/SConscript”, line 113:
vars = getmakevars([root + ‘/config.mak’, root + ‘/Makefile’])
File “/home/ed/blender-svn/blender/extern/x264/SConscript”, line 91:
fp = open(filename)

,and indeed, there is no config.mak file in that directory! “svn up” shows me at the latest release…

Ubuntu 8.04, latest code base. Not sure where that file comes from. I’ve tried “python scons/scons.py” after a clean, still no joy.

All assistance appreciated! I’d really like to dive into the code! :cool:

Maybe you want to install yasm-0.6.1 or greater.

Urgh, apt-get says I have the latest, but it’s not! Guess it’s time to go download and manually update…

Good call! I’m just blind and stupid today… :-/

have you tried “scons clean” and then try rebuilding?