Mplayer and AMD 64
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 ########################################## |
What is installed via the rpm database for your XFree86 packages? Do you definitely have the XFree86 Development packages installed?
|
Trickykid, I am using SuSE 9.2 which uses XORG. This was installed via the rpm during the initial installation. I went back and installed every XORG X11 package that was available except for the man pages and the DOCS. I have installed mplayer without the gui from the current source and from the CVS. I have googled for two days looking for a solution, but have not found one. I installed the packman rpm for mplayer and it worked but not nearly as well as a compiled setup. No DTS support. That tarball by the way took me a while to track down. I know I must be missing something and probably something simple. Sometimes I can't see the forest for the trees.
David |
I received the answer from Joe Morris via the SuSE mailing list. The following line needed to be added to the ./configure.
--with-x11libdir=/usr/X11R6/lib64 Thank's |
i found that if you have a 64 bit processor then you should have the 64 bit linux version, my buddy has a notebook and had lots of problems til' he went out and purchased the box set mandrake 10 for the 64 bit and has smooth operations ever since
|
All times are GMT -5. The time now is 07:28 PM. |