Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131322 - xine-lib-1.1.2_pre20060328-r3 fails - SDL.h not found
Summary: xine-lib-1.1.2_pre20060328-r3 fails - SDL.h not found
Status: RESOLVED DUPLICATE of bug 131287
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-26 05:09 UTC by Alexander Skwar
Modified: 2006-04-26 05:11 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 Alexander Skwar 2006-04-26 05:09:58 UTC
I failed compiling xine-lib with:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -fvisibility=hidden -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O2 -march=pentium4 -pipe -frename-registers -ffunction-sections -UHAVE_MMX -mno-sse -fomit-frame-pointer -c video_out_sdl.c  -fPIC -DPIC -o .libs/xineplug_vo_out_sdl_la-video_out_sdl.o
distcc[29231] ERROR: compile (null) on localhost failed
video_out_sdl.c:54:18: SDL.h: No such file or directory
video_out_sdl.c:79: error: syntax error before "SDL_Overlay"
video_out_sdl.c:79: warning: no semicolon at end of struct or union
video_out_sdl.c:80: warning: data definition has no type or storage class
video_out_sdl.c:91: error: syntax error before "SDL_Surface"
[...]
video_out_sdl.c:563: error: dereferencing pointer to incomplete type
video_out_sdl.c: In function `init_class':
video_out_sdl.c:586: error: `SDL_INIT_VIDEO' undeclared (first use in this function)
distcc[29230] ERROR: compile video_out_sdl.c on localhost failed
make[4]: *** [xineplug_vo_out_sdl_la-video_out_sdl.lo] Fehler 1
make[4]: Leaving directory `/0b/Gentoo/portage/tmp/portage/xine-lib-1.1.2_pre20060328-r3/work/xine-lib-1.1.2cvs/src/video_out'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/0b/Gentoo/portage/tmp/portage/xine-lib-1.1.2_pre20060328-r3/work/xine-lib-1.1.2cvs/src/video_out'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/0b/Gentoo/portage/tmp/portage/xine-lib-1.1.2_pre20060328-r3/work/xine-lib-1.1.2cvs/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/0b/Gentoo/portage/tmp/portage/xine-lib-1.1.2_pre20060328-r3/work/xine-lib-1.1.2cvs'
make: *** [all] Fehler 2

!!! ERROR: media-libs/xine-lib-1.1.2_pre20060328-r3 failed.


I suppose, it mainly failed because of:

video_out_sdl.c:54:18: SDL.h: No such file or directory

[14:07:00 vz6tml@dewup-ww02:/dev/shm] $ locate SDL.h
/usr/include/SDL/SDL.h
/usr/lib/mozilla-firefox/include/websrvcs/nsIWSDL.h
/usr/lib/gecko-sdk/include/websrvcs/nsIWSDL.h
/usr/lib/mozilla-thunderbird/include/websrvcs/nsIWSDL.h
/usr/lib/mozilla/include/websrvcs/nsIWSDL.h



[14:06:15 vz6tml@dewup-ww02:/dev/shm] $ ls -la /usr/include/SDL/SDL.h
-rw-r--r-- 1 root root 3186  5. Jan 15:25 /usr/include/SDL/SDL.h
[14:06:18 vz6tml@dewup-ww02:/dev/shm] $ epm -qf /usr/include/SDL/SDL.h
libsdl-1.2.9-r1
[14:06:30 vz6tml@dewup-ww02:/dev/shm] $ emerge -vpt libsdl

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/libsdl-1.2.9-r1  USE="X -aalib -alsa -arts -dga -directfb -esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo -opengl -oss -svga -xinerama xv" 0 kB

Total size of downloads: 0 kB
[14:06:37 vz6tml@dewup-ww02:/dev/shm] $ emerge -vpt =media-libs/xine-lib-1.1.2_pre20060328-r3

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild     U ] media-libs/xine-lib-1.1.2_pre20060328-r3 [1.1.2_pre20060328-r1] USE="X -a52 -aac -aalib -alsa -arts -asf -debug -directfb -dts dvd -dxr3 -esd -fbcon ffmpeg -flac gnome imagemagick -ipv6 -libcaca mad -mng -modplug nls -opengl -oss samba sdl -speex -theora -v4l -vcd -vidix vorbis win32codecs -xinerama xv xvmc" VIDEO_CARDS="-i810 -nvidia -via" 0 kB

Total size of downloads: 0 kB




[14:06:46 vz6tml@dewup-ww02:/dev/shm] $ emerge --info
Portage 2.1_pre9-r4 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r3.05 i686)
=================================================================
System uname: 2.6.15-gentoo-r3.05 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.12.0_pre18
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/Gentoo/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache collision-protect distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="        http://localhost/~vz6tml/gentoo-files http://dewup-ww02.dewup.europe.delphiauto.net/~vz6tml/gentoo-files    http://localhost/gentoo-files/ http://dewup-ww02.dewup.europe.delphiauto.net/gentoo-files/      http://localhost/~vz6tml/gentoo-files/ http://cifs-srvr1.europe.delphiauto.net/~vz6tml/Misc._Software/Gentoo/       http://alexander.skwar.name/~askwar/stuff/gentoo/           http://mirrors.sec.informatik.tu-darmstadt.de:80/gentoo/        http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/        ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     http://localhost:60081/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/     http://localhost:60080/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/        http://localhost:60082/mirror/rsync.gentoo.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
        ftp://pandemonium.tiscali.de/pub/gentoo/        http://localhost:60083/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/    http://distro.ibiblio.org/pub/linux/distributions/gentoo/       ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/    http://localhost:60084/ http://distfiles.gentoo.org/ "
LANG="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j11"
PKGDIR="/Gentoo/portage/packages"
PORTAGE_TMPDIR="/Gentoo/portage/tmp"
PORTDIR="/Gentoo/portage/tree"
PORTDIR_OVERLAY="/Gentoo/portage/local-tree/misc"
SYNC="rsync://localhost:10873/gentoo-portage"
USE="x86 7zip GAPING_SECURITY_HOLE X acl apache apache2 artworkextra async avi bash-completion berkdb bitmap-fonts ccache ck-server cli crypt css cups dbus dri dvd encode exif fat firefox font-server foomaticdb gd gdbm gif gmail gmailtimestamps gnome gpm gs gtk gtk2 hal hfs hpn i8x0 iconv id3 imagemagick imlib imlib2 isdnlog java javascript jfs jikes jpeg kde kdeenablefinal lame libg++ libwww linuxthreads-tls lm_sensors lynxkeymap lzo lzw lzw-tiff mad mailbox maildir matroska mmx motif mozsvg mp3 mpeg mpm-worker msdav mysql mysqli ncurses network nfs nis nls no-old-linux no-suexec nodrm nomusic nptl nptlonly ntlm offensive ogg oggvorbis pam pcre pdflib perl php png posix postfix pppd python qt quicktime rar rdesktop readline real recode reflection reiserfs samba sapdb screen sdl sendfile session sftp smp sockets spell spl sse sse2 ssl stream subtitles symlink sysvipc tcpd tiff transcode truetype truetype-fonts unicode usb userlocales utf8 vhosts vim vim-pager vim-with-x vorbis webdav win32codecs xattr xfs xinetd xml2 xmms xorg xprint xv xvid yp zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_vmmouse input_devices_void kernel_linux linguas_de userland_GNU video_cards_ati video_cards_vesa video_cards_vga video_cards_vmware"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-26 05:11:13 UTC

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