wow. that is a lot of hoops to jump through! well, no one said linux was for the faint of heart.
It’s the same hoops you have to jump through whether you are on Mac, Win, Linux, FreeBSD, Solaris, or any other operating system. You are talking about downloading program code and compiling it to work for your specific computer. That isn’t for a beginner user.
I use Ubuntu. I have a script that downloads and builds Blender for me so I have the newest version to have fun with every day. I just run that script, get a cup of coffee, and when I come back, I have a new Blender. If you need help setting this up for you computer, I’d be glad to help. Just PM me here.
If you would like a 64-bit build optimized for SSE2 with contributed addons included, I make that about once a day and I can just post it on my web server for you to download.
For those interested in building Blender for themselves from SVN:
Here is my userconfig.py:
BF_BUILDDIR = r'../buildOpt'
BF_INSTALLDIR = r'../installOpt'
WITH_BF_OPENAL = True
WITH_BF_QUICKTIME = False
WITH_BF_GAMEENGINE = True
WITH_BF_PLAYER = False # set this to True whenever the player has been ported properly
WITH_BF_JACK = True
WITH_BF_SDL = True
WITH_BF_ICONV = False # has something to do with Collada says loopduplicate
WITH_BF_COLLADA = False
WITH_BF_OPENEXR = True
WITH_BF_FFTW3 = True
WITH_BUILDINFO = True
WITH_BF_RAYOPTIMIZATION = True
WITH_OPENMP = True
WITH_BF_TIFF = True
BF_NUMJOBS = 2
WITH_BF_FFMPEG = True # -DWITH_FFMPEG
BF_FFMPEG = '/usr'
BF_FFMPEG_LIB = 'avformat avcodec swscale avutil avdevice'
BF_FFMPEG_INC = '${BF_FFMPEG}/include'
BF_FFMPEG_LIBPATH='${BF_FFMPEG}/lib'
REL_CFLAGS = ['-O3','-fomit-frame-pointer','-funroll-loops','-ffast-math' ]
REL_CCFLAGS = ['-O3','-fomit-frame-pointer','-funroll-loops','-ffast-math' ]
CCFLAGS = ['-pipe','-march=nocona','-ftracer','-ffast-math','-msse','-msse2','-msse3','-mmmx','-funroll-loops','-fforce-addr','-fomit-frame-pointer','-funsigned-char','-fno-strict-aliasing' ]
CXXFLAGS = ['-pipe','-march=nocona','-ftracer','-ffast-math','-msse','-msse2','-msse3','-mmmx','-funroll-loops','-fforce-addr','-fomit-frame-pointer','-funsigned-char','-fno-strict-aliasing' ]
and here is my update and build script:
# get contributed addons - these might be unstable
cd ~/blender-svn/bf_blender_extensions
svn up
# get blender from svn
cd ~/blender-svn/blender
svn up
# make sure to use the optimized user-config.py, I have another userconfig.py file that doesn't use CFlags etc.
rm user-config.py
cp user-config.py-opt user-config.py
# remove old build directories
rm -r ../buildOpt
rm -r ../installOpt
# build blender using both cores
python scons/scons.py -j 2
# change to my installation directory
#
cd ~/blender-svn/installOpt
# strip reference at IBM
# http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds5/strip.htm
#
strip blender
When I first set up this environment, it was hard to find examples of people’s build setups. I hope this helps someone.
Cheers!