Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182716 - media-libs/sdl-sound-1.0.1-r2 can't find SDL
Summary: media-libs/sdl-sound-1.0.1-r2 can't find SDL
Status: RESOLVED DUPLICATE of bug 132716
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-20 17:52 UTC by Justin Findlay
Modified: 2007-06-20 18:12 UTC (History)
0 users

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


Attachments
config.log (config.log,48.62 KB, text/plain)
2007-06-20 18:07 UTC, Justin Findlay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Findlay 2007-06-20 17:52:33 UTC
While emerging sdl-sound during the configure phase it says that it can't find SDL, however I can locate SDL.h in /usr/include/SDL/SDL.h.  In the config log it tries to #include "SDL.h", whereas if I modify the statement to #include "SDL/SDL.h" it compiles without error.

configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "SDL_sound"
| #define VERSION "1.0.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define NDEBUG 1
| /* end confdefs.h.  */
|
| #include <stdio.h>
| #include "SDL.h"
|
| int main(int argc, char *argv[])
| { return 0; }
| #undef  main
| #define main K_and_R_C_main
|
| int
| main ()
| {
|  return 0;
|   ;
|   return 0;
| }
configure:19948: error: *** SDL version 1.2.0 not found!


Portage 2.1.3_rc4 (default-linux/amd64/2006.1/no-multilib, gcc-4.1.2, glibc-2.5-r3, 2.6.19.7 x86_64)
=================================================================
System uname: 2.6.19.7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 18 Jun 2007 21:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=athlon64 -m64 -Os -fmessage-length=0 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -m64 -Os -fmessage-length=0 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect digest distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo ftp://gentoo.llarian.net/pub/gentoo http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LC_ALL="en_US.UTF-8"
LINGUAS="en en_US"
MAKEOPTS="-j2 -l3.5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=30"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi adns afs aim alsa amd64 ao apache2 arts audiofile bash-completion bcmath bitmap-fonts blas bonobo bzip2 cairo calendar caps cddb cdinstall cdparanoia cdr cli cracklib crypt cscope ctype cups curl curlwrappers dbus dedicated dga directfb doc dri dts dv dvb dvd dvdr dvdread eds encode esd evo examples exif expat fam fastcgi fbcon ffmpeg firefox flac foomaticdb fortran ftp gb gcj gd geoip gif ginac glut gmp gnome gnutls gphoto2 gpm gps gsl gstreamer gtk gtkhtml guile hal icq imagemagick imap imlib ipv6 isdnlog jabber jack java javascript jbig jikes jpeg kde kdehiddenvisibility ladcca ladspa lapack lash lesstif libg++ libgda libsamplerate libwww lm_sensors mad maildir matroska mbox mcal memlimit mhash midi mikmod mime mmap mng mnogosearch motif mp3 mpeg mplayer msn mudflap musepack ncurses nocd nptl nptlonly nsplugin ocaml ogg openal openexr opengl openmp osc oscar pam pcre pdf perl pic plotutils png portaudio posix postgres ppds pppd python qt3 quicktime readline reflection ruby sasl savedconfig scanner sdl session sharedmem slang sndfile snmp sockets sox speex spell sqlite sqlite3 ssl startup-notification svg symlink sysfs sysvipc tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd videos vim-syntax vorbis wmf x264 xcomposite xine xml xmlrpc xorg xpm xscreensaver xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-20 18:02:58 UTC
Please, attach the complete config.log here.
Comment 2 Justin Findlay 2007-06-20 18:07:39 UTC
Created attachment 122620 [details]
config.log
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-06-20 18:12:38 UTC
<snip>
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libdirectfb-0.9.so.25, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libSDL.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libfusion-0.9.so.25, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libSDL.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libdirect-0.9.so.25, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libSDL.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libSDL.so: undefined reference to `DirectFBCreate'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libSDL.so: undefined reference to `DirectFBErrorString'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libSDL.so: undefined reference to `DirectFBError'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libSDL.so: undefined reference to `DirectFBInit'
</snip>

Run revdep-rebuild; your libsdl is broken after DirectFB upgrade.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-06-20 18:12:53 UTC

*** This bug has been marked as a duplicate of bug 132716 ***