sdl not found

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
me

sdl not found

Post by me »

Hi,
I have installed SDL after getting all the dependancies, but when running the ./configure --enable-boost-128 I keep getting an error saying

*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path. Or set the SDL_CONFIG environment variable to the
*** full path to the sdl-config.

also when I run make I get this error

Making all in boost129
make[3]: Entering directory `/home/oli/Games/vegastrike-0.4.1-installer/vegastrike/src/boost129'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/oli/Games/vegastrike-0.4.1-installer/vegastrike/src/boost129'
make[3]: Entering directory `/home/oli/Games/vegastrike-0.4.1-installer/vegastrike/src'
c++ -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -pipe -L/usr/X11R6/lib -L/usr/X11R6/lib -o vegastrike posh.o stardate.o star_system_xml.o star_system_generic.o universe_generic.o universe_util_generic.o galaxy.o galaxy_xml.o galaxy_gen.o faction_generic.o hashtable.o configxml.o easydom.o xml_serializer.o xml_support.o lin_time.o endianness.o faction_util_generic.o load_mission.o savegame.o vs_globals.o vs_path.o debug_vs.o gfxlib_struct.o in_joystick.o force_feedback.o faction_util.o in_kb.o in_sdl.o in_mouse.o in_main.o in_handler.o main_loop.o physics.o star_system_jump.o star_system.o universe.o universe_util.o config_xml.o macosx_math.o cg_global.o main.o networking/netserver_devices.o aldrv/libaldrv.a common/libvscommon.a networking/libnetclient.a networking/lowlevel/libnetlowlevel.a cmd/script/script_call_briefing.o cmd/script/libscript.a cmd/script/c_alike/libc_alike.a python/briefing_wrapper.o cmd/libcmd.a cmd/base_init.o python/libpython.a gfx/libgfx.a gldrv/libgldrv.a cmd/ai/libai.a gui/libgui.anetworking/libnet.a cmd/collide/libcollide.a boost129/libboost_python.a boost/libboost_python.a gfx/nav/libnav.a -lpthread -lz -lutil -lGL -lGLU -lglut -lXi -lXmu -lexpat -lpng -ljpeg -lopenal -lpython2.3 -Xlinker -export-dynamic
aldrv/libaldrv.a(al_sound.o)(.text+0x236): In function `AUDCreateSoundWAV(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
: undefined reference to `soundHash'
aldrv/libaldrv.a(al_sound.o)(.text+0x441): In function `AUDCreateSoundWAV(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
: undefined reference to `soundHash'
aldrv/libaldrv.a(al_sound.o)(.text+0x7d6): In function `AUDCreateSoundMP3(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
: undefined reference to `soundHash'
aldrv/libaldrv.a(al_sound.o)(.text+0x919): In function `AUDCreateSoundMP3(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
: undefined reference to `alutLoadMP3p'
aldrv/libaldrv.a(al_sound.o)(.text+0x945): In function `AUDCreateSoundMP3(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
: undefined reference to `soundHash'
aldrv/libaldrv.a(al_sound.o)(.text+0xf0d): In function `AUDDeleteSound(int, bool)':
: undefined reference to `unusedsrcs'
aldrv/libaldrv.a(al_sound.o)(.text+0xfb3): In function `AUDAdjustSound(int, QVector const&, Vector const&)':
: undefined reference to `scalepos'
aldrv/libaldrv.a(al_sound.o)(.text+0xfc3): In function `AUDAdjustSound(int, QVector const&, Vector const&)':
: undefined reference to `usepositional'
aldrv/libaldrv.a(al_sound.o)(.text+0xfe7): In function `AUDAdjustSound(int, QVector const&, Vector const&)':
: undefined reference to `scalevel'
aldrv/libaldrv.a(al_sound.o)(.text+0x1047): In function `AUDAdjustSound(int, QVector const&, Vector const&)':
: undefined reference to `usedoppler'
aldrv/libaldrv.a(al_sound.o)(.text+0x1304): In function `AUDStopPlaying(int)':
: undefined reference to `unusedsrcs'
aldrv/libaldrv.a(al_sound.o)(.text+0x1340): In function `AUDReclaimSource(int)':
: undefined reference to `unusedsrcs'
aldrv/libaldrv.a(al_sound.o)(.text+0x1346): In function `AUDReclaimSource(int)':
: undefined reference to `unusedsrcs'
aldrv/libaldrv.a(al_sound.o)(.text+0x1363): In function `AUDReclaimSource(int)':
: undefined reference to `unusedsrcs'
collect2: ld returned 1 exit status
make[3]: *** [vegastrike] Error 1
make[3]: Leaving directory `/home/oli/Games/vegastrike-0.4.1-installer/vegastrike/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/oli/Games/vegastrike-0.4.1-installer/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/oli/Games/vegastrike-0.4.1-installer/vegastrike'
make: *** [all-recursive-am] Error 2

I've been trying to get this game working for a few days now and I really want to play it as it looks really good. If anyone can help it would be most appreciated

Thanks
energyman76b
ISO Party Member
ISO Party Member
Posts: 445
Joined: Tue Feb 11, 2003 8:04 am

Post by energyman76b »

Hi,

have you installed sdl via rpm/deb/ebuild or via tgz&configure make make install?

Our error looks like some sld dependant packets (sdlmixer&co) got compiled against a different libsdl.

To solve this problem, you have to:
install lib sdl (you did it, great, next step).
run ldconfig.
rebuild all sdl packages! (sdl-net, sdl-mixer, sdl-sound etc pp) .
run ldconfig (both ldconfig runs are superflous. They are to be save).

After that, go into the vs dir, make a make clean and start again with configure.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

go into src/aldrv
make clean
make
cd ..
make

if that deosn't work at top level
make clean; make
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Post Reply