Page 1 of 1

Best way to get an 2.42 AMD64 linux build?

Posted: Mon Jul 17, 2006 10:12 pm
by BIGtrouble77
Looking for either a 2.42 x64 compiled .deb or a link to the souce so I can compile it myself. I looked around and could not find links to anything but 32bit binaries. I really want to stay away from the cvs builds- just want the latest stable release. If any ubuntu repositories with 2.42 x64 have popped up that'd be ideal.

Also, if anyone can give give advice on compiling, like info on dependencies, I'd appreciate it.

Thanks,
-bt

Posted: Tue Jul 18, 2006 8:34 am
by scourage
Here's where you can find the source. Building isn't bad with scons if you have the libraries installed. I think it tells you in the README or INSTALL file in the main directory.

http://www.blender.org/cms/Source_Code.12.0.html

Cheers,

Bob

Posted: Tue Jul 18, 2006 8:31 pm
by BIGtrouble77
Thanks, I actually found that link. Are there any good instructional links to compile? I'm sifting through a lot of documentation and am still a little confused. I'm used to doing the standard ./configure->make->make install, but this appears much more involved.

Posted: Tue Jul 18, 2006 9:09 pm
by kidb
BIGtrouble77 wrote:Thanks, I actually found that link.
tar -xzf blender-2.42.tar.gz
cd blender2.42
scons

Posted: Wed Jul 19, 2006 12:44 am
by BIGtrouble77
I'm reading through the scons docs now. Never used this before. I did run scons, but there's a ton of sound system system errors lke this:

Code: Select all

intern/SoundSystem/openal/SND_OpenALDevice.cpp:46:19: error: AL/al.h: No such file or directory
intern/SoundSystem/openal/SND_OpenALDevice.cpp:47:20: error: AL/alc.h: No such file or directory
intern/SoundSystem/openal/SND_OpenALDevice.cpp:48:21: error: AL/alut.h: No such file or directory
intern/SoundSystem/openal/SND_OpenALDevice.cpp:66: error: ‘ALvoid’ does not name a type
I assume that paths need to be adjusted so I'm reading through it all now. Weird thing is that "intern/SoundSystem/openal/SND_OpenALDevice.cpp" does exist so I don't understand why the error is coming up.

Posted: Wed Jul 19, 2006 12:49 am
by kidb
BIGtrouble77 wrote:

Code: Select all

intern/SoundSystem/openal/SND_OpenALDevice.cpp:46:19: error: AL/al.h: No such file or directory

apt-get install apt-file
apt-file search al.h
apt-get install "found package" on Debian.
For other Distributions search for the development package which contains al.h. Something like OpenAL-dev.
Or compile blender without OpenAl: scons WITH_BF_OPENAL=no.
scons --help or scons -h helps too.

Posted: Wed Jul 19, 2006 2:19 am
by BIGtrouble77
kidb, I really appreciate the help. I got that issue resolved. Now i'm a bit further, but I 'm getting this error:

Code: Select all

Compiling ==> 'GHOST_DisplayManager.cpp'
intern/ghost/intern/GHOST_DisplayManager.cpp: In member function ‘virtual GHOST_TSuccess GHOST_DisplayManager::getDisplaySetting(GHOST_TUns8, GHOST_TInt32, GHOST_DisplaySetting&) const’:
intern/ghost/intern/GHOST_DisplayManager.cpp:119: warning: comparison between signed and unsigned integer expressions
Compiling ==> 'GHOST_DisplayManagerX11.cpp'
In file included from intern/ghost/intern/GHOST_DisplayManagerX11.cpp:37:
intern/ghost/intern/GHOST_SystemX11.h:40:20: error: GL/glx.h: No such file or directory
intern/ghost/intern/GHOST_Buttons.h:48: warning: ‘struct GHOST_Buttons’ has virtual functions but non-virtual destructor
intern/ghost/intern/GHOST_ModifierKeys.h:48: warning: ‘struct GHOST_ModifierKeys’ has virtual functions but non-virtual destructor
scons: *** [/home/bob/build/linux2/intern/ghost/intern/GHOST_DisplayManagerX11.o] Error 1
scons: building terminated because of errors.
I looked around and couldn't find any info on ghost display manager so I don't know how to resolve this dependency or how to disable it (if advisable).

BTW, searching for al.h turned up nothing so I disabled it. I'm using Ubuntu Dapper 64.

EDIT: I found the package in synaptic to resolve the openal dependency so that part works. Still can't get the ghost display manager error to go away.

Posted: Wed Jul 19, 2006 8:27 am
by kidb
BIGtrouble77 wrote:

Code: Select all

intern/ghost/intern/GHOST_SystemX11.h:40:20: error: GL/glx.h: No such file or directory
http://packages.ubuntu.com/cgi-bin/sear ... arch=amd64

http://packages.ubuntu.com/

There are builds for x86_64 architecture:
http://blendertestbuilds.de/index.php?d ... /0_X86_64/
http://blendertestbuilds.de/index.php?d ... ux_x86_64/
Ibuld them on my experimental machine, so they may not work for everybody.

Posted: Wed Jul 19, 2006 5:36 pm
by BIGtrouble77
I've gotten much further, I think most of Blender is compiled. I'm getting this error now:

Code: Select all

Compiling ==> 'buildinfo.c'
scons: *** Source `/usr/libGL.a' not found, needed by target `/home/bob/build/linux2/bin/blender'.  Stop.
libGL.a is not on my system and I cannot find what package provides it. BTW, you were right, the precompiled version you made aren't working because they require newer packages than I have. Of cource the 2.41 versions you have there work fine.

nothing in packages.ubuntu.com is coming up. I think the site may be having a problem.

Posted: Wed Jul 19, 2006 6:14 pm
by kidb
BIGtrouble77 wrote: scons: *** Source `/usr/libGL.a' not found, needed by target
[/code]
http://packages.ubuntu.com/cgi-bin/sear ... arch=amd64

libdevel/libgl1-mesa-swrast-dev

Posted: Wed Jul 19, 2006 7:56 pm
by BIGtrouble77
kidb,
It's funny, I didn't install that package because, being it replaced so many packages, I thought it would break things.

Anyway, I now have Blender 2.42 compiled and it works! I REALLY appreciate your help, I wouldn't have been able to do it without your guidence.

I did have to disable a few things like ffmpeg support and openal and I still need to add some optimization flags, but that should be easy at this point.

Thanks again,
-BT

Posted: Wed Jul 19, 2006 8:56 pm
by kidb
apt-get install libalut-dev