![](https://secure.gravatar.com/avatar/5187dad5d54b530d74f69498bd25f850.jpg?s=120&d=mm&r=g)
Hi Matt As maintainer of the Gnome port can I ask you how to proceed? Except for one page (see below), there wasn't any clue on either the Net or the Gnome forum, as to what might be the problem and how to fix this: Following the instructions in http://crux.nu/Main/GnomePorts to the letter, I got stuck during a new install of Gnome with gstreamer-plugins-ffmpeg failing to compile: [stuff deleted] ffplay-ffplay.o: In function `main': ffplay.c:(.text+0x3e18): undefined reference to `XOpenDisplay' ffplay.c:(.text+0x3e4b): undefined reference to `XCloseDisplay' collect2: ld returned 1 exit status make[7]: *** [ffplay] Error 1 [make leaving all directories ] make: *** [all] Error 2 =======> ERROR: Building '/usr/ports/gnome/gstreamer-plugins-ffmpeg/gstreamer-plugins-ffmpeg#0.10.0.2-1.pkg.tar.gz' failed. I tried to see if there were any hints in http://crux.nu/Main/Gnome212to214 but there were none to my knowledge. The following web page: http://www.nabble.com/Bug-375266:-ffmpeg:-FTBFS:-Missing--lX11-link-flag-t18... claims the remedy to be to link ffplay against -lX11. If this is what is missing, I am not sure how to apply this piece to the package itself or to the install script mentioned in http://crux.nu/Main/GnomePorts. Perhaps there is something else that is causing trouble. --theo
![](https://secure.gravatar.com/avatar/10a3ceea7f0886152bd6ee6fb28b3579.jpg?s=120&d=mm&r=g)
On Thu, 2006-10-05 at 17:20 +0200, Theo G. Kanter wrote:
Hi Matt
As maintainer of the Gnome port can I ask you how to proceed? Except for one page (see below), there wasn't any clue on either the Net or the Gnome forum, as to what might be the problem and how to fix this:
Following the instructions in http://crux.nu/Main/GnomePorts to the letter, I got stuck during a new install of Gnome with gstreamer-plugins-ffmpeg failing to compile:
[stuff deleted] ffplay-ffplay.o: In function `main': ffplay.c:(.text+0x3e18): undefined reference to `XOpenDisplay' ffplay.c:(.text+0x3e4b): undefined reference to `XCloseDisplay' collect2: ld returned 1 exit status make[7]: *** [ffplay] Error 1 [make leaving all directories ] make: *** [all] Error 2 =======> ERROR: Building '/usr/ports/gnome/gstreamer-plugins-ffmpeg/gstreamer-plugins-ffmpeg#0.10.0.2-1.pkg.tar.gz' failed.
I tried to see if there were any hints in http://crux.nu/Main/Gnome212to214 but there were none to my knowledge. The following web page:
http://www.nabble.com/Bug-375266:-ffmpeg:-FTBFS:-Missing--lX11-link-flag-t18...
claims the remedy to be to link ffplay against -lX11. If this is what is missing, I am not sure how to apply this piece to the package itself or to the install script mentioned in http://crux.nu/Main/GnomePorts. Perhaps there is something else that is causing trouble.
It's the recent (lib)sdl version upgrade that broke this. Try to revert it or wait for upstream to fix/workaround.
![](https://secure.gravatar.com/avatar/10a3ceea7f0886152bd6ee6fb28b3579.jpg?s=120&d=mm&r=g)
On Thu, 2006-10-05 at 20:46 +0200, Mark Rosenstand wrote:
It's the recent (lib)sdl version upgrade that broke this. Try to revert it or wait for upstream to fix/workaround.
... or pass --disable-ffplay in order to not build ffplay at all, since it isn't installed anyway. This obviously also shaves off some unneeded build time :)
![](https://secure.gravatar.com/avatar/5187dad5d54b530d74f69498bd25f850.jpg?s=120&d=mm&r=g)
Changing the ./configure line in Pkgfile, works. ./configure --prefix=/usr LIBS=-lX11
It didn't work as this option wasn't recognized. I have no clue what the correct options are and I am still puzzled as to where to find the configure options after visiting the gstreamer website and CVS.
... or pass --disable-ffplay in order to not build ffplay at all, since it isn't installed anyway. This obviously also shaves off some unneeded build time :)
./configure --prefix=/usr LIBS=-lX11 That worked. Thanks Mark. --theo PS Later the evince and gnome-terminal complained about outdated versions of poppler and vte. Both are present in the opt and gnome repositories. And I'm done yet. Gnome is less smooth an install than expected. XFCE4 worked right out of the box. DS
![](https://secure.gravatar.com/avatar/c5ece095a21e6a9b74fb9464c30120d5.jpg?s=120&d=mm&r=g)
On Thu, 05 Oct 2006 20:46:11 +0200 Mark Rosenstand <mark@borkware.net> wrote:
On Thu, 2006-10-05 at 17:20 +0200, Theo G. Kanter wrote:
Hi Matt
[...]
=======> ERROR: Building '/usr/ports/gnome/gstreamer-plugins-ffmpeg/gstreamer-plugins-ffmpeg#0.10.0.2-1.pkg.tar.gz' failed.
Got same error.
Changing the ./configure line in Pkgfile, works. ./configure --prefix=/usr LIBS=-lX11 I hope this can be usefull and if I am in wrong, I hope someone can tell me. Learning bit BY bit. Victor Martinez
participants (3)
-
Mark Rosenstand
-
pitillo
-
Theo G. Kanter