Re: [gentoo-user] unable to emerge ffmpeg

2003-08-29 Thread Mike McGranahan
Hi,

Thank you for your reply.

Andrew wrote:
 At 27 August, 2003 [EMAIL PROTECTED] wrote:
 I am trying to emerge ffmpeg as a dependency to the transcode package.
 However I run into this error:

 [snip]
 snip again
 ffplay.o(.text+0x5dd): In function `main':
 /var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/ffpla
 y.c:1388: undefined reference to `XOpenDisplay'

 You'll need to install the X libraries to make this compile. Adding +X
 to USE isn't enough -- the package *should* have a dependency on xfree.
 Bug?

I have xfree installed.  I emerged xfree explicitly, one time with -X USE
flag, and one time with +X.  After each emerge, I attempted 'emerge
--oneshot ffmpeg', with both X and -X USE flags.  In all four cases, the
above error resulted.  I know I have (at least some) xfree libs installed,
because I successfully emerge imlib2 which links against them (I believe).

'emerge -p xfree' returns:

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R  ] x11-base/xfree-4.3.0-r2

'ls /usr/X11R6/lib/lib*' returns:

/usr/X11R6/lib/libFS.a/usr/X11R6/lib/libXmuu.so.1
/usr/X11R6/lib/libGLw.a   /usr/X11R6/lib/libXmuu.so.1.0
/usr/X11R6/lib/libI810XvMC.a  /usr/X11R6/lib/libXp.a
/usr/X11R6/lib/libICE.a   /usr/X11R6/lib/libXp.so
/usr/X11R6/lib/libICE.so  /usr/X11R6/lib/libXp.so.6
/usr/X11R6/lib/libICE.so.6/usr/X11R6/lib/libXp.so.6.2
/usr/X11R6/lib/libICE.so.6.3  /usr/X11R6/lib/libXpm.a
/usr/X11R6/lib/libMesaGL.so   /usr/X11R6/lib/libXpm.so
/usr/X11R6/lib/libOSMesa.a/usr/X11R6/lib/libXpm.so.4
/usr/X11R6/lib/libOSMesa.la   /usr/X11R6/lib/libXpm.so.4.11
/usr/X11R6/lib/libOSMesa.so   /usr/X11R6/lib/libXrandr.a
/usr/X11R6/lib/libOSMesa.so.4 /usr/X11R6/lib/libXrandr.so
/usr/X11R6/lib/libOSMesa.so.4.0   /usr/X11R6/lib/libXrandr.so.2
/usr/X11R6/lib/libSM.a/usr/X11R6/lib/libXrandr.so.2.0
/usr/X11R6/lib/libSM.so   /usr/X11R6/lib/libXrender.a
/usr/X11R6/lib/libSM.so.6 /usr/X11R6/lib/libXrender.so
/usr/X11R6/lib/libSM.so.6.0   /usr/X11R6/lib/libXrender.so.1
/usr/X11R6/lib/libX11.a   /usr/X11R6/lib/libXrender.so.1.2
/usr/X11R6/lib/libX11.so  /usr/X11R6/lib/libXss.a
/usr/X11R6/lib/libX11.so.6/usr/X11R6/lib/libXt.a
/usr/X11R6/lib/libX11.so.6.2  /usr/X11R6/lib/libXt.so
/usr/X11R6/lib/libXRes.a  /usr/X11R6/lib/libXt.so.6
/usr/X11R6/lib/libXTrap.a /usr/X11R6/lib/libXt.so.6.0
/usr/X11R6/lib/libXTrap.so/usr/X11R6/lib/libXtst.a
/usr/X11R6/lib/libXTrap.so.6  /usr/X11R6/lib/libXtst.so
/usr/X11R6/lib/libXTrap.so.6.4/usr/X11R6/lib/libXtst.so.6
/usr/X11R6/lib/libXau.a   /usr/X11R6/lib/libXtst.so.6.1
/usr/X11R6/lib/libXau.so  /usr/X11R6/lib/libXv.a
/usr/X11R6/lib/libXau.so.6/usr/X11R6/lib/libXv.so
/usr/X11R6/lib/libXau.so.6.0  /usr/X11R6/lib/libXv.so.1
/usr/X11R6/lib/libXaw.a   /usr/X11R6/lib/libXv.so.1.0
/usr/X11R6/lib/libXaw.so  /usr/X11R6/lib/libXvMC.a
/usr/X11R6/lib/libXaw.so.6/usr/X11R6/lib/libXxf86dga.a
/usr/X11R6/lib/libXaw.so.6.1  /usr/X11R6/lib/libXxf86dga.so
/usr/X11R6/lib/libXaw.so.7/usr/X11R6/lib/libXxf86dga.so.1
/usr/X11R6/lib/libXaw.so.7.0  /usr/X11R6/lib/libXxf86dga.so.1.0
/usr/X11R6/lib/libXcursor.a   /usr/X11R6/lib/libXxf86misc.a
/usr/X11R6/lib/libXcursor.so  /usr/X11R6/lib/libXxf86misc.so
/usr/X11R6/lib/libXcursor.so.1/usr/X11R6/lib/libXxf86misc.so.1
/usr/X11R6/lib/libXcursor.so.1.0  /usr/X11R6/lib/libXxf86misc.so.1.0
/usr/X11R6/lib/libXdmcp.a /usr/X11R6/lib/libXxf86rush.a
/usr/X11R6/lib/libXext.a  /usr/X11R6/lib/libXxf86vm.a
/usr/X11R6/lib/libXext.so /usr/X11R6/lib/libXxf86vm.so
/usr/X11R6/lib/libXext.so.6   /usr/X11R6/lib/libXxf86vm.so.1
/usr/X11R6/lib/libXext.so.6.4 /usr/X11R6/lib/libXxf86vm.so.1.0
/usr/X11R6/lib/libXfont.a /usr/X11R6/lib/libdps.a
/usr/X11R6/lib/libXfont.so/usr/X11R6/lib/libdps.so
/usr/X11R6/lib/libXfont.so.1  /usr/X11R6/lib/libdps.so.1
/usr/X11R6/lib/libXfont.so.1.4/usr/X11R6/lib/libdps.so.1.0
/usr/X11R6/lib/libXfontcache.a/usr/X11R6/lib/libdpstk.a
/usr/X11R6/lib/libXft.a   /usr/X11R6/lib/libdpstk.so
/usr/X11R6/lib/libXft.so  /usr/X11R6/lib/libdpstk.so.1
/usr/X11R6/lib/libXft.so.1/usr/X11R6/lib/libdpstk.so.1.0
/usr/X11R6/lib/libXft.so.1.1  /usr/X11R6/lib/libfntstubs.a
/usr/X11R6/lib/libXft.so.2/usr/X11R6/lib/libfontenc.a
/usr/X11R6/lib/libXft.so.2.1  /usr/X11R6/lib/liboldX.a
/usr/X11R6/lib/libXi.a/usr/X11R6/lib/libpsres.a
/usr/X11R6/lib/libXi.so   /usr/X11R6/lib/libpsres.so
/usr/X11R6/lib/libXi.so.6 /usr/X11R6/lib/libpsres.so.1
/usr/X11R6/lib/libXi.so.6.0   /usr/X11R6/lib/libpsres.so.1.0
/usr/X11R6/lib/libXinerama.a  /usr/X11R6/lib/libxf86config.a
/usr/X11R6/lib/libXmu.a   /usr/X11R6/lib/libxkbfile.a
/usr/X11R6/lib/libXmu.so  

[gentoo-user] unable to emerge ffmpeg

2003-08-28 Thread mikemcg
Hello,

I am trying to emerge ffmpeg as a dependency to the transcode package.
However I run into this error:

[snip]
gcc -march=pentium2 -O3 -pipe -fomit-frame-pointer -Wall -g -I.
-I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24
-I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/lib
avcodec
-I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/lib
avformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
-I/usr/include/SDL -D_REENTRANT -c -o ffplay.o ffplay.c
gcc -Wl,--warn-common -rdynamic -g  -o ffplay_g ffplay.o cmdutils.o
-L./libavformat -lavformat -L./libavcodec -lavcodec -lm -lz -ldl -logg
-lvorbis -lvorbisenc -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
ffplay.o(.text+0x5dd): In function `main':
/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/ffpla
y.c:1388: undefined reference to `XOpenDisplay'
ffplay.o(.text+0x613):/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpe
g-cvs-2003-06-24/ffplay.c:1392: undefined reference to `XCloseDisplay'
collect2: ld returned 1 exit status
make: *** [ffplay_g] Error 1

!!! ERROR: media-video/ffmpeg-0.4.7_pre20030624 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! make failed.

This is right after 'emerge sync'. This machine is headless and doesn't
need X, so I included -X in my USE flags. I also tried emerging 0.4.6-r1, 
as well as a 0.4.7 release ebuild found in one of the bug reports for
ffmpeg (I would post a direct link, but bugs.gentoo.org isn't loading for 
me).  I tried emerging with USE=X but that resulted in the same error.  
Interestingly, I had (what I believe to be) a similar error when emerging 
imlib2, also a dependency of transcode, where it couldn't link some Xlib
font routines.  To fix that, I had to USE=X when emerging it, per
instructions on bugs.gentoo.org .  That isn't working in this case with ffmpeg.

Here is my 'emerge info':

Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=
System uname: 2.4.20-gentoo-r5 i686 Pentium II (Deschutes)
GENTOO_MIRRORS=http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo;
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/config
CONFIG_PROTECT_MASK=/etc/gconf /etc/env.d
PORTDIR=/usr/portage
DISTDIR=/usr/portage/distfiles
PKGDIR=/usr/portage/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR_OVERLAY=
USE=x86 oss apm avi crypt cups encode foomaticdb gif imlib jpeg kde
gnome libg++ libwww mad mikmod motif mpeg ncurses nls pdflib png
quicktime truetype xmms xv zlib gdbm berkdb slang readline arts svga java 
sdl gpm tcpd pam ssl perl python esd gtk qt opengl mmx -X emacs icc
oggvorbis sse postgres samba spell -3dnow xml2
COMPILER=gcc3
CHOST=i686-pc-linux-gnu
CFLAGS=-march=pentium2 -O3 -pipe -fomit-frame-pointer
CXXFLAGS=-march=pentium2 -O3 -pipe -fomit-frame-pointer
ACCEPT_KEYWORDS=x86
MAKEOPTS=-j2
AUTOCLEAN=yes
SYNC=rsync://rsync.gentoo.org/gentoo-portage
FEATURES=sandbox ccache

What's going on? Thanks in advance.

Sincerely,
Mike McGranahan



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] unable to emerge ffmpeg

2003-08-28 Thread Andrew Farmer
At 27 August, 2003 [EMAIL PROTECTED] wrote:
 Hello,
 
 I am trying to emerge ffmpeg as a dependency to the transcode package.
 However I run into this error:
 
 [snip]
snip again
 ffplay.o(.text+0x5dd): In function `main':
 /var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/ffpla
 y.c:1388: undefined reference to `XOpenDisplay'

You'll need to install the X libraries to make this compile. Adding +X
to USE isn't enough -- the package *should* have a dependency on xfree.
Bug?

-- 
Andrew Farmer
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature