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.