Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75612 - sdl-mixer 1.2.6 doesn't compile
Summary: sdl-mixer 1.2.6 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-25 02:39 UTC by Patrizio Bassi
Modified: 2011-09-14 20:37 UTC (History)
1 user (show)

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


Attachments
sdl-mixer error-log (sdl-mixer.log,7.59 KB, text/plain)
2005-01-10 07:16 UTC, Florian Loitsch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2004-12-25 02:39:43 UTC
actually i see it's masked, but yesterday wasn't.

however it hangs on configure while searching for a sdl version.

i traced it and i see that the problem is not the version (i have 1.2.8)
but the problem is that the test app doesn't compile properly.
Comment 1 Sandman 2004-12-25 07:11:42 UTC
Try

emerge -v =libsdl-1.2.8

with the following CFLAGS:
CFLAGS="-O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer"
Comment 2 Sandman 2004-12-25 07:13:06 UTC
I forgot to add:
if you' re system is running with a Athlon XP, try using the following CFLAGS ... 

Pardon me ;)
Comment 3 Patrizio Bassi 2004-12-25 07:21:37 UTC
i used similar flags (no funroll only) for my system (pentium2)
Comment 4 SpanKY gentoo-dev 2004-12-25 22:45:07 UTC
you neglected to actually post any error output or `emerge info` like the bug report page told you to

re-open once you have
Comment 5 Patrizio Bassi 2004-12-26 03:04:07 UTC
sorry, but i tought it wasn't important.

Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Pentium II (Deschutes)
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Jun  5 2004, 17:49:50)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.2.3-r5, 2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.9.3, 1.6.3, 1.4_p6, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mtune=pentium2 -march=pentium2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/fenris /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium2 -march=pentium2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X X509 Xaw3d aac aalib acl acpi activefilter adns alsa apache2 apm arts audiofile avi bash-completion berkdb bidi bitmap-fonts bonobo bootsplash caps cddb cdparanoia cdr chroot clamav codecs crypt css cups curl dga dhcp directfb divx4linux djbfft dlloader edl encode ethereal exif f77 faac faad fam fbcon fftw flac flash foomaticdb foreign-package freetds gd gdbm ggi gif gimp gimpprint gnokii gnome gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile iconv idea imagemagick imlib innodb ipv6 irda irmc jack java javascript jikes jit joystick jpeg jpeg2k junit justify kde kerberos lcd ldap libcaca libclamav libgda libusb libwww lirc live lm_sensors lzo mad mailwrapper matroska md5sum mdb mikmod mime mmx mng motif mozdevelop mozillamoznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network nls nntp no_wxgtk1 nobsh noxalan oav odbc oggvorbis opengl operanom2 oss pam pcmcia pda pdf pdflib perl png pnp postgres ppds pthreads python qemu-fast qhull qt quicktime quotas readline real rrdtool rtc ruby samba scanner sdl sftplogging slang slp snortsam soap sockets socks5 softmmu softquota spamassassin spell sqlite ssl subject-rewrite svg svga tcltk tcpd tetex tga theora tiff truetype truetype-fonts trusted type1-fonts usb vhosts wsconvert wxwindows xanim xchatdccserver xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xv xvid xvm xvmc zlib linguas_it"
Comment 6 SpanKY gentoo-dev 2004-12-26 14:00:31 UTC
you still havent posted any actual errors

post the log file from `emerge sdl-mixer >& log`
Comment 7 Patrizio Bassi 2004-12-27 01:05:04 UTC
oooops! i'm sorry.
now i an't post, im not @home
the error was about the test program compilation during configure check for libsdl.

i bypassed that adding --disable-sdltest in configure and works good.

i checked the configure and i saw that in C program there are some $version that should  be managed by configure.
Probably that are some errors there.

you can mark as fixed, and the disable switch to configure.
Comment 8 Ari Rahikkala 2004-12-29 04:55:23 UTC
I had the same problem and was thinking of putting a log here... but I'd remerged libsdl and apparently that made the configure succeed, and now I don't have the configure.log from a failed case anymore :/.
Comment 9 Florian Loitsch 2005-01-10 07:16:32 UTC
Created attachment 48098 [details]
sdl-mixer error-log
Comment 10 SpanKY gentoo-dev 2005-01-10 07:19:50 UTC
attach the config.log file from the build directory
Comment 11 Florian Loitsch 2005-01-10 07:25:12 UTC
reemerging the libsdl (even with -O3 instead of the suggested -O2) worked
here. If somebody could nevertheless reopen the bug, as this should either
happen automatically, or sdl-mixer should find the installed lib.

I had saved the error-log though (already attached here).

AFAICS the real source of the problem comes from sdl-mixer not correctly
detecting the installed libsdl:

checking for SDL - version >= 1.2.4... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /usr/bin/sdl-config
configure: error: *** SDL version 1.2.4 not found!

!!! ERROR: media-libs/sdl-mixer-1.2.6 failed.
!!! Function econf, Line 447, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

my emerge --info:
$ emerge --info
Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r4 i686)
=================================================================
System uname: 2.6.9-gentoo-r4 i686 AMD Athlon(TM) XP 2200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Nov  6 2004, 15:41:47)]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=athlon-xp -mtune=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -fomit-frame-pointer -march=athlon-xp -mtune=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib acl alsa apm arts audiofile avi berkdb bitmap-fonts cdparanoia cdr cgj crypt cups dga directfb divx4linux doc dvd dvdr encode esd fam flac foomaticdb fortran gdbm ggi gif gpm gstreamer gtk2 guile imagemagick imap imlib innodb ipv6 jpeg junit kde libwww mad matroska mikmod mmx motif mozilla mpeg nas ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang speex spell sse ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts v4l v4l2 xinerama xml xml2 xmms xv xvid zlib"
Comment 12 Florian Loitsch 2005-01-10 07:27:23 UTC
sorry. too late. sdl-mixer emerged, and I've no idea how to reproduce this
problem. maybe the next person experiencing this problem could do that, before
reemerging libsdl...
Comment 13 SpanKY gentoo-dev 2005-01-10 07:33:47 UTC
chances are you upgraded DirectFB and didnt run revdep-rebuild like the ebuild told you to

in that case, re-emerging libsdl is the only solution
Comment 14 Florian Loitsch 2005-01-10 08:18:21 UTC
you're right. I just verified my logs. sorry.
is there a way of telling emerge to print a summary of important messages
after emerge -u world?
Comment 15 Mr. Bones. (RETIRED) gentoo-dev 2005-02-28 23:47:06 UTC
seems to be fixed.  closing.
Comment 16 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:37:12 UTC
clean up bug list after bugzilla update