LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-20-2005, 05:19 PM   #1
spotslayer
Member
 
Registered: Nov 2003
Location: Texas
Distribution: SuSE
Posts: 128

Rep: Reputation: 15
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
##########################################
 
Old 02-20-2005, 05:22 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
What is installed via the rpm database for your XFree86 packages? Do you definitely have the XFree86 Development packages installed?
 
Old 02-20-2005, 05:33 PM   #3
spotslayer
Member
 
Registered: Nov 2003
Location: Texas
Distribution: SuSE
Posts: 128

Original Poster
Rep: Reputation: 15
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
 
Old 02-20-2005, 05:51 PM   #4
spotslayer
Member
 
Registered: Nov 2003
Location: Texas
Distribution: SuSE
Posts: 128

Original Poster
Rep: Reputation: 15
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
 
Old 02-21-2005, 02:06 AM   #5
lukeleia3
LQ Newbie
 
Registered: Dec 2004
Distribution: Mandrake 9.0 Dolphin Release 2.4.19-16mdk
Posts: 24

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mplayer on AMD 64 Athlon FC4 steve7575 Linux - Software 6 11-03-2005 04:38 PM
AMD Opteron or AMD 64 dual core difference? GATTACA Linux - Hardware 1 10-22-2005 10:46 PM
using mplayer with .asx without -playlist? Would be useful for mplayer plug-in pierrethibault Linux - Software 1 02-18-2005 09:12 AM
AMD 64 bit vs Dual AMD MP 2400+ GATTACA Linux - Hardware 2 06-02-2004 05:54 PM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration