Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130168 - games-simulation/lincity-ng-1.0.3 can't find SDL_mixer
Summary: games-simulation/lincity-ng-1.0.3 can't find SDL_mixer
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 130169 139384 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-16 07:23 UTC by Thomas Kuther
Modified: 2006-07-08 21:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kuther 2006-04-16 07:23:07 UTC
trying to compile lincity-ng i get following error:
----8<----
..
checking for OpenGL library... -lGL
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.5... yes
checking for SDL_mixer >= 1.2... not found
configure: error: Please install SDLMixer >=1.2.2
---->8----

# epm -qa | grep -i 'sdl'
libsdl-1.2.9-r1
sdl-gfx-2.0.13-r1
sdl-mixer-1.2.6-r1
sdl-sound-1.0.1-r2
sdl-image-1.2.4
sdl-net-1.2.5
sdl-ttf-2.0.7

I tried recompiling sdl-mixer, but that didn't help.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-16 08:02:45 UTC
*** Bug 130169 has been marked as a duplicate of this bug. ***
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2006-04-16 09:20:31 UTC
attach the config.log from the build directory as text/plain and reopen please.
Comment 3 Thomas Kuther 2006-04-16 09:43:38 UTC
first sorry for the doubled bug. no idea how that happened.

d'oh.. the config.log... looking through it i found this:

configure:6704: checking for SDL_mixer >= 1.2
configure:6728: i686-pc-linux-gnu-gcc -o conftest -march=athlon-xp -O2 -pipe -fomit-frame-pointer  -I/usr/include/SDL -D_REENTRANT   -I/usr/include/SDL -D_REENTRANT -Wl,-O1 -Wl,--sort-common conftest.c  -lSDL_mixer -lSDL -lpthread >&5
/usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_GetIP'
/usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_Resume_or_Rethrow'
/usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_GetRegionStart'
/usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_Resume'
/usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_DeleteException'
/usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_RaiseException'
/usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_SetIP'
/usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_GetTextRelBase'
/usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_GetLanguageSpecificData'
/usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_SetGR'
/usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_GetDataRelBase'
collect2: ld returned 1 exit status
configure:6734: $? = 1

so re-installed smpeg, and now it passes configure successfully.
sorry for the noise then!
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2006-04-16 13:37:29 UTC
yep, that's what I thought.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2006-04-16 13:46:15 UTC
rebuilding packages required.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-07-08 21:41:51 UTC
*** Bug 139384 has been marked as a duplicate of this bug. ***