I am trying to compile MPlayer using the --enable-gui on an HP Pavillion with an AMD 64 processor. When I do ./configure --enable-gui the configure fails with Checking for GUI ... yes Error: X11 support required for GUI compilation. I do have the devel rpms installed I think. Below is the part of my log file that shows the no. What am I missing. MPlayer compiles and works fine without the gui. David ########################################## ============ Checking for X11 headers presence ============ Result is: yes (using /usr/X11/include) ########################################## ============ Checking for X11 libs presence ============ Result is: yes (using /usr/X11R6/lib) ########################################## ============ Checking for X11 ============ #include <X11/Xlib.h> #include <X11/Xutil.h> int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return 0; } cc /tmp/mplayer-conf-25663-32290.c -o /tmp/mplayer-conf-4934-32290.o -I/usr/X11/include -L/usr/X11R6/lib -lXext -lX11 -lnsl /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.so when searching for -lXext /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.a when searching for -lXext /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: cannot find -lXext collect2: ld returned 1 exit status ldd /tmp/mplayer-conf-4934-32290.o ldd: /tmp/mplayer-conf-4934-32290.o: No such file or directory Result is: no ##########################################
David Gillis wrote:
I am trying to compile MPlayer using the --enable-gui on an HP Pavillion with an AMD 64 processor. When I do ./configure --enable-gui the configure fails with
Checking for GUI ... yes
Error: X11 support required for GUI compilation.
<snip> ============ Checking for X11 libs presence ============ Result is: yes (using /usr/X11R6/lib) This is the wrong location for a 64 bit MPlayer. It should be /usr/X11R6/lib64 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.so when searching for -lXext It is mixing 32 bit and 64 bit. Try adding --with-x11libdir=/usr/X11R6/lib64 to your configure line. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
participants (2)
-
David Gillis
-
Joe Morris (NTM)