Best way to get an 2.42 AMD64 linux build?

User-contributed CVS development builds. Please test and give feedback!

Moderators: jesterKing, stiv

Post Reply
BIGtrouble77
Posts: 0
Joined: Mon Jul 17, 2006 10:01 pm

Best way to get an 2.42 AMD64 linux build?

Post by BIGtrouble77 » Mon Jul 17, 2006 10:12 pm

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

scourage
Posts: 0
Joined: Wed Jan 07, 2004 12:54 pm

Post by scourage » Tue Jul 18, 2006 8:34 am

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
Halfway down the trail to hell....

BIGtrouble77
Posts: 0
Joined: Mon Jul 17, 2006 10:01 pm

Post by BIGtrouble77 » Tue Jul 18, 2006 8:31 pm

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.

kidb
Posts: 0
Joined: Wed Jul 23, 2003 4:31 pm
Contact:

Post by kidb » Tue Jul 18, 2006 9:09 pm

BIGtrouble77 wrote:Thanks, I actually found that link.
tar -xzf blender-2.42.tar.gz
cd blender2.42
scons

BIGtrouble77
Posts: 0
Joined: Mon Jul 17, 2006 10:01 pm

Post by BIGtrouble77 » Wed Jul 19, 2006 12:44 am

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.

kidb
Posts: 0
Joined: Wed Jul 23, 2003 4:31 pm
Contact:

Post by kidb » Wed Jul 19, 2006 12:49 am

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.

BIGtrouble77
Posts: 0
Joined: Mon Jul 17, 2006 10:01 pm

Post by BIGtrouble77 » Wed Jul 19, 2006 2:19 am

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.

kidb
Posts: 0
Joined: Wed Jul 23, 2003 4:31 pm
Contact:

Post by kidb » Wed Jul 19, 2006 8:27 am

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.

BIGtrouble77
Posts: 0
Joined: Mon Jul 17, 2006 10:01 pm

Post by BIGtrouble77 » Wed Jul 19, 2006 5:36 pm

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.

kidb
Posts: 0
Joined: Wed Jul 23, 2003 4:31 pm
Contact:

Post by kidb » Wed Jul 19, 2006 6:14 pm

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

BIGtrouble77
Posts: 0
Joined: Mon Jul 17, 2006 10:01 pm

Post by BIGtrouble77 » Wed Jul 19, 2006 7:56 pm

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

kidb
Posts: 0
Joined: Wed Jul 23, 2003 4:31 pm
Contact:

Post by kidb » Wed Jul 19, 2006 8:56 pm

apt-get install libalut-dev

Post Reply