| Summary: | vlc-0.6.2: build broken against libdvb-0.5.0 AND mozilla-1.5-r1 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | crusaderky |
| Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | grandmasterlinux, lordvan, media-tv, mholzer, mog.johnny |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | My proposed fix | ||
|
Description
crusaderky
2003-10-23 14:22:54 UTC
I ran into the same problem. There seems to be a problem with the include pathes, therefore some header files are not found: dvb.c:41:21: ost/sec.h: No such file or directory dvb.c:42:21: ost/dmx.h: No such file or directory dvb.c:43:26: ost/frontend.h: No such file or directory If I try to merge vlc-0.6.2 without libdvb, I run into another error: USE="-dvb" emerge vlc make[3]: Entering directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/mozilla' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYS_LINUX -I../include `top_builddir=".." ../vlc-config --cxxflags mozilla pic` -Imozilla -Wsign-compare -Wsign-compare -Wall -finline-limit-30000 -pipe -MT libplugin_a-vlcshell.o -MD -MP -MF ".deps/libplugin_a-vlcshell.Tpo" \ -c -o libplugin_a-vlcshell.o `test -f 'vlcshell.cpp' || echo './'`vlcshell.cpp; \ then mv -f ".deps/libplugin_a-vlcshell.Tpo" ".deps/libplugin_a-vlcshell.Po"; \ else rm -f ".deps/libplugin_a-vlcshell.Tpo"; exit 1; \ fi vlcshell.cpp:209: syntax error before `)' token vlcshell.cpp: In function `NPError NPP_SetWindow(NPP_t*, NPWindow*)': vlcshell.cpp:456: `struct NPSetWindowCallbackStruct' has no member named ` display' make[3]: *** [libplugin_a-vlcshell.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/mozilla' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/mozilla' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2' make: *** [all] Error 2 !!! ERROR: media-video/vlc-0.6.2 failed. !!! Function src_compile, Line 211, Exitcode 2 !!! make failed I have mozilla-1.5-r1 installed. # emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22) ================================================================= System uname: 2.4.22 i686 AMD Athlon(TM) XP 2000+ Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 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 oss apm avi crypt encode foomaticdb jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xmms xv zlib gdbm berkdb slang readline arts tetex bonobo svga X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl gphoto2 3dnow aalib alsa apache2 cdr cscope cups curl directfb dga doc dvb dvd faad fbcon flash gd ggi gif gtk2 guile ipv6 java jikes kerberos imap lcms ldap mcal memlimit mmx mozilla moznoirc mozp3p mozsvg mpi mysql nptl odbc offensive parse-clocks pic ppds prelude samba scanner skey slp snmp socks5 sse tcltk tiff v4l vim-with-x wmf wxwindows X509 xchattext xml xml2 xvid" I fixed this problem by changing the configure option --enable-satellite to --enable-dvb. I believe this flag has changed in the DVB files because the ost/*.h files are outdated based on what I've read. I'm using the same versions of vlc, libdvb, and mozilla as this bug specifies and this seems to fix it for me. Created attachment 21014 [details, diff]
My proposed fix
*** Bug 37408 has been marked as a duplicate of this bug. *** fixed with vlc-0.6.2-r1 if still fails, reemerge linuxtv-dvb |