Fyorl Posted May 19, 2006 Share Posted May 19, 2006 UPDATE: Found the problem, I needed to install freealut as well, I'll leave the original post below for reference. I'm trying to compile gemRB for my laptop running Fedora Core 4 but I'm having some trouble with the configure script. I may go and have a look at it myself but I thought I'd post here first to see if it was just something silly I was missing. Basically the steps I followed were: 1. Download the latest (0.2.6) source. 2. tar -xzf it 3. enter the newly created directory 4. ./configure 5. get the following message: checking for old style FreeBSD -pthread flag... no checking for pthread_attr_init in -lpthread... yes checking if zlib is wanted... yes checking for inflateEnd in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for inflateEnd in -lz... (cached) yes checking zlib in /usr... ok checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for alutInit in -lopenal... no checking for alutInit in -lalut... no configure: error: *** You need OpenAL (www.openal.org) to compile GemRB 6. yum install openal-devel Running Transaction Installing: openal ######################### [1/2] Installing: openal-devel ######################### [2/2] Installed: openal-devel.i386 0:0.0.9-0.4.20060204cvs.fc4 Dependency Installed: openal.i386 0:0.0.9-0.4.20060204cvs.fc4 Complete! 7. ./configure 8. get the same message 9. rpm -e openal-devel 10. rpm -e openal 11. go to openal.org 12. download openal-0.0.8-1.i586.rpm and openal-devel-0.0.8-1.i586.rpm 13. rpm -ih both of them 14 ./configure 15. get the same message As you can see, I've got openal but the configure script begs to differ. I'll either try looking at the configure script itself or compiling openal from source. Any ideas would be welcome, thanks. Link to comment
Avenger Posted May 20, 2006 Share Posted May 20, 2006 There are several openal versions floating around. The earlier ones included the alut lib, the newer ones need it installed separately. Link to comment
Fyorl Posted May 20, 2006 Author Share Posted May 20, 2006 There are several openal versions floating around.The earlier ones included the alut lib, the newer ones need it installed separately. <{POST_SNAPBACK}> As I found out... the hard way. I've modified the configure script to tell the user that they need Freealut as well now (I only worked it out because I noticed it was checking for -lopenal and -lalut) Link to comment
Guest Soul Rebel Posted June 19, 2006 Share Posted June 19, 2006 i have the same problems, i.e. checking for sdl-config... /usr/local/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for alutInit in -lopenal... no checking for alutInit in -lalut... no configure: error: *** You need OpenAL (www.openal.org) to compile GemRB only that i have both OpenAL and freealut installed.... i am running freebsd6.... thanks for any help Link to comment
Avenger Posted June 19, 2006 Share Posted June 19, 2006 The libraries and header files should be accessible. Try to check the config.log of gemrb after configuring it. It might give some hint. Link to comment
soul_rebel Posted June 19, 2006 Share Posted June 19, 2006 The libraries and header files should be accessible. Try to check the config.log of gemrb after configuring it. It might give some hint. <{POST_SNAPBACK}> i got it installed, --libdir=/usr/local/lib didnt work but LDFLAGS="-L/usr/local/lib" ./configure did the job! the only problem now is that it crashes when trying to load ToB but i'll post that in another thread. thanks Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.