Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73865 - mpeg4ip dependencies on X in order to build GTK+ based player & tools?
Summary: mpeg4ip dependencies on X in order to build GTK+ based player & tools?
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Olivier Crete (RETIRED)
URL:
Whiteboard:
Keywords:
: 73864 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-08 21:38 UTC by Gregg Casillo
Modified: 2004-12-10 17:51 UTC (History)
0 users

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 Gregg Casillo 2004-12-08 21:38:32 UTC
I cannot get mpeg4ip-1.1 or mpeg4ip-1.2 to compile, because both seem to want X and GTK+ installed for the GUI based player and other tools. I do not have X installed on this box and only want the command-line tools from mpeg4ip. The ebuilds don't seem to demand X or GTK+ which is great, but the compiles brake. Here's the error I get from 1.1:

 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../../common/video/mpeg4 -I./codec -I./codec/mpeg4 -I../lib -I../lib/audio -I../../lib/SDLAudio/include -I../../lib/mp4 -I../../lib/mp4v2 -I../../lib/ismacryp -I../../include -I../../include -I../../lib/avi -I../../lib -I../../common/video/libmpeg32 -I../../lib/sdp -I../../lib/mp4av -I../../lib/utils -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -DPLAYER_PLUGIN_DIR=\"/usr/lib/mp4player_plugin\" -march=pentium4 -O3 -pipe -fomit-frame-pointer -DUSE_MMX -DMPEG4IP -MT sync.lo -MD -MP -MF .deps/sync.Tpo -c sync.cpp -o sync.o >/dev/null 2>&1
ar cru .libs/libmp4playerutils.a .libs/our_bytestream_file.o .libs/player_util.o
ranlib .libs/libmp4playerutils.a
creating libmp4playerutils.la
(cd .libs && rm -f libmp4playerutils.la && ln -s ../libmp4playerutils.la libmp4playerutils.la)
distcc[21158] ERROR: compile (null) on localhost failed
In file included from video_sdl.cpp:35:
/usr/include/SDL/SDL_syswm.h:55:22: X11/Xlib.h: No such file or directory
/usr/include/SDL/SDL_syswm.h:56:23: X11/Xatom.h: No such file or directory
In file included from video_sdl.cpp:35:
/usr/include/SDL/SDL_syswm.h:68: error: 'XEvent' is used as a type, but is not
   defined as a type.
/usr/include/SDL/SDL_syswm.h:81: error: syntax error before `*' token
/usr/include/SDL/SDL_syswm.h:82: error: 'Window' is used as a type, but is not
   defined as a type.
/usr/include/SDL/SDL_syswm.h:92: error: 'Window' is used as a type, but is not
   defined as a type.
/usr/include/SDL/SDL_syswm.h:93: error: 'Window' is used as a type, but is not
   defined as a type.
video_sdl.cpp: In constructor `CSDLVideo::CSDLVideo(int, int)':
video_sdl.cpp:105: error: 'struct SDL_SysWMinfo::<anonymous union>::<anonymous>
   ' has no member named 'display'
video_sdl.cpp:106: error: 'struct SDL_SysWMinfo::<anonymous union>::<anonymous>
   ' has no member named 'display'
video_sdl.cpp:106: error: `DefaultScreen' undeclared (first use this function)
video_sdl.cpp:106: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
video_sdl.cpp:106: error: `DisplayWidth' undeclared (first use this function)
video_sdl.cpp:107: error: 'struct SDL_SysWMinfo::<anonymous union>::<anonymous>
   ' has no member named 'display'
video_sdl.cpp:108: error: 'struct SDL_SysWMinfo::<anonymous union>::<anonymous>
   ' has no member named 'display'
video_sdl.cpp:108: error: `DisplayHeight' undeclared (first use this function)
video_sdl.cpp: In member function `void CSDLVideo::set_screen_size(int, int,
   int, int, int, int)':
video_sdl.cpp:274: error: 'struct SDL_SysWMinfo::<anonymous union>::<anonymous>
   ' has no member named 'display'
video_sdl.cpp:274: error: 'struct SDL_SysWMinfo::<anonymous union>::<anonymous>
   ' has no member named 'wmwindow'
video_sdl.cpp:275: error: `XMoveWindow' undeclared (first use this function)
distcc[21154] ERROR: compile video_sdl.cpp on localhost failed
make[4]: *** [video_sdl.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/mpeg4ip-1.1/work/mpeg4ip-1.1/player/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/mpeg4ip-1.1/work/mpeg4ip-1.1/player/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/mpeg4ip-1.1/work/mpeg4ip-1.1/player'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mpeg4ip-1.1/work/mpeg4ip-1.1'
make: *** [all] Error 2

!!! ERROR: media-video/mpeg4ip-1.1 failed.
!!! Function src_compile, Line 69, Exitcode 2
!!! make failed

And from 1.2:

 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../../common/video/mpeg4 -I./codec -I./codec/mpeg4 -I../lib -I../lib/audio -I../../lib/SDLAudio/include -I../../lib/mp4 -I../../lib/mp4v2 -I../../lib/ismacryp -I../../include -I../../include -I../../lib/avi -I../../lib -I../../lib/mpeg2ps -I../../lib/sdp -I../../lib/mp4av -I../../lib/utils -I../../lib/audio -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -DPLAYER_PLUGIN_DIR=\"/usr/lib/mp4player_plugin\" -march=pentium4 -O3 -pipe -fomit-frame-pointer -DUSE_MMX -DMPEG4IP -I/usr/include/SDL -D_REENTRANT -MT audio.lo -MD -MP -MF .deps/audio.Tpo -c audio.cpp -o audio.o >/dev/null 2>&1
distcc[17437] ERROR: compile (null) on localhost failed
ar cru .libs/libmp4decode_plugin.a .libs/codec_plugin.o
In file included from video_sdl.cpp:31:
/usr/include/SDL/SDL_syswm.h:55:22: X11/Xlib.h: No such file or directory
ranlib .libs/libmp4decode_plugin.a
creating libmp4decode_plugin.la
/usr/include/SDL/SDL_syswm.h:56:23: X11/Xatom.h: No such file or directory
distcc[17436] ERROR: compile video_sdl.cpp on 192.168.0.177 failed
make[4]: *** [video_sdl.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
(cd .libs && rm -f libmp4decode_plugin.la && ln -s ../libmp4decode_plugin.la libmp4decode_plugin.la)
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../../common/video/mpeg4 -I./codec -I./codec/mpeg4 -I../lib -I../lib/audio -I../../lib/SDLAudio/include -I../../lib/mp4 -I../../lib/mp4v2 -I../../lib/ismacryp -I../../include -I../../include -I../../lib/avi -I../../lib -I../../lib/mpeg2ps -I../../lib/sdp -I../../lib/mp4av -I../../lib/utils -I../../lib/audio -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -DPLAYER_PLUGIN_DIR=\"/usr/lib/mp4player_plugin\" -march=pentium4 -O3 -pipe -fomit-frame-pointer -DUSE_MMX -DMPEG4IP -I/usr/include/SDL -D_REENTRANT -MT audio_buffer.lo -MD -MP -MF .deps/audio_buffer.Tpo -c audio_buffer.cpp -o audio_buffer.o >/dev/null 2>&1
make[4]: Leaving directory `/var/tmp/portage/mpeg4ip-1.2/work/mpeg4ip-1.2/player/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/mpeg4ip-1.2/work/mpeg4ip-1.2/player/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/mpeg4ip-1.2/work/mpeg4ip-1.2/player'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mpeg4ip-1.2/work/mpeg4ip-1.2'
make: *** [all] Error 2

!!! ERROR: media-video/mpeg4ip-1.2 failed.
!!! Function src_compile, Line 65, Exitcode 2
!!! make failed

Reproducible: Always
Steps to Reproduce:
1. emerge mpeg4ip-1.1 or mpeg4ip-1.2
2. compile brakes in either at libmp4playerutils.a because of missing X11/Xlib.h or some other X11 lib
Comment 1 Gregg Casillo 2004-12-08 21:42:15 UTC
My emerge info:

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r8 i686)
=================================================================
System uname: 2.6.9-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi alsa apache2 apm audiofile avi bash-completion berkdb bzlib crypt divx4linux encode flac gdbm imagemagick libg++ libwww mad mmx mpeg mssql ncurses nls nptl nptlonly oggvorbis pam perl python quicktime readline samba simplexml sndfile soap speex sse ssl tcpd theora x86 xml xml2 xmlrpc xvid zlib"
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-12-08 23:38:26 UTC
*** Bug 73864 has been marked as a duplicate of this bug. ***
Comment 3 Olivier Crete (RETIRED) gentoo-dev 2004-12-09 12:32:12 UTC
arg.. I will look into it... 
Comment 4 Gregg Casillo 2004-12-09 18:12:04 UTC
Sorry for the dupe. I posted a <a href="https://sourceforge.net/forum/forum.php?thread_id=1192704&forum_id=59136">question</a> to the mpeg4ip forums regarding this.

Hopefully we'll get some word there soon. Thanks, Olivier!
Comment 5 Gregg Casillo 2004-12-10 17:51:19 UTC
Nevermind. According to Bill May's response, it doesn't sound like it is possible without major hackage. I'll just install X for the libs and go from there. Bummer.