LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2004, 10:16 PM   #1
dwmorton
LQ Newbie
 
Registered: Apr 2004
Location: Illinois, USA
Distribution: Fedora 12 & 13, x86_64
Posts: 20

Rep: Reputation: 0
Problems with mplayer GUI in Fedora C2 x86_64


I recently compiled and installed mplayer-1.0pre3try2 on my Fedora C2 T2 x86_64 system. I'm running kernel 2.6.5-1.327. In command line mode, mplayer works great, playing music and video with no problem.

The trouble is that when I try to compile for the GUI version, the configure script insists that I need X11 support. I have tried even specifying the location of X11 libraries and include files - to no avail. Here is my configuration command:

./configure --enable-gui --with-x11libdir=/usr/X11R6/lib/X11 --with-x11incdir=/usr/X11R6/include/X11 --with-codecsdir=/usr/lib/win32

Here is the end of the output from the configure script:
____________________________
...
Checking for byte order ... Little Endian
Checking for shared postprocess lib ... no
Checking for OSD menu ... no
Checking for QTX codecs ... no
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for FLAC support ... yes (using internal libmpflac)
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for GUI ... yes

Error: X11 support required for GUI compilation

Check "configure.log" if you do not understand why it failed.
_____________________________

I realize that this is all pre-release software. But this seems to be more along the lines of a configuration problem. When I installed Fedora C2 T2, I had it install everything. Anyone have any suggestions on what I'm doing wrong?
 
Old 04-25-2004, 09:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i expect the development package has not been installed, but a trick i use to get info about things like this is to open the configure script and go to the line that says "Checking for GUI" and see what tests it performs. you should easily be able to see what is missing, or recreate the tests yourself to see what errors it is dealing with to assume there is no X support.
 
Old 04-25-2004, 04:30 PM   #3
dwmorton
LQ Newbie
 
Registered: Apr 2004
Location: Illinois, USA
Distribution: Fedora 12 & 13, x86_64
Posts: 20

Original Poster
Rep: Reputation: 0
The configure.log file kept complaining about incompatible libXext files when it tried to make a test window as part of the X11 test. When the attempt to make a test window failed, the script was concluding that X11 was not supported.

It turns out the problem was that I was compiling using /usr/X11R6/lib. When I compiled using lib64, all of the problems vanished!

My final, successful configuration command line was:

./configure --enable-gui --with-x11libdir=/usr/X11R6/lib64 --with-x11incdir=/usr/X11R6/include --enable-largefiles --with-codecsdir=/usr/local/share/mplayer/codecs

I copied all of my downloaded codecs to /usr/local/share/mplayer/codecs before configuring.

Thanks!
 
Old 05-02-2004, 11:22 PM   #4
bazzoon
LQ Newbie
 
Registered: May 2004
Location: USA
Distribution: Fedora Core 1 ( i386+x86_64)
Posts: 1

Rep: Reputation: 0
Did the compilation for win32 codes support succeed?
 
Old 05-04-2004, 10:06 PM   #5
dwmorton
LQ Newbie
 
Registered: Apr 2004
Location: Illinois, USA
Distribution: Fedora 12 & 13, x86_64
Posts: 20

Original Poster
Rep: Reputation: 0
When I enable win32 using the "--enable-win32" configure switch, it configures OK, but the compile fails. It seems to run into trouble at this point:

...
make[2]: Entering directory `/root/src/mplayer/mplayer-1.0pre4/loader/dshow'
cc -MM -I../libvo/ -I../../libvo -O4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/X11R6/include -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/X11R6/include -DNOAVIFILE_HEADERS DS_AudioDecoder.c DS_Filter.c DS_VideoDecoder.c allocator.c cmediasample.c guids.c inputpin.c outputpin.c 1>.depend
In file included from ../wine/winbase.h:5,
from ../wine/winreg.h:7,
from libwin32.h:17,
from DS_AudioDecoder.c:13:
../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU
In file included from ../wine/pe_image.h:4,
from ../wine/module.h:11,
from guids.h:5,
from iunk.h:4,
from interfaces.h:10,
from inputpin.h:4,
from DS_Filter.h:4,
from DS_Filter.c:2:
../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU
In file included from ../wine/pe_image.h:4,
from ../wine/module.h:11,
from guids.h:5,
from DS_VideoDecoder.c:8:
../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU
In file included from ../wine/pe_image.h:4,
from ../wine/module.h:11,
from guids.h:5,
from iunk.h:4,
from interfaces.h:10,
from allocator.h:4,
from allocator.c:2:
../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU
In file included from ../wine/pe_image.h:4,
from ../wine/module.h:11,
from guids.h:5,
from iunk.h:4,
from interfaces.h:10,
from cmediasample.h:4,
from cmediasample.c:1:
../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU

... and so on

I have never played around much with Wine. It is not installed on my system - which is probably why the compile fails ...
 
Old 06-19-2004, 01:09 PM   #6
KTLiberty
LQ Newbie
 
Registered: Apr 2004
Posts: 23

Rep: Reputation: 15
Quote:
Originally posted by acid_kewpie
i expect the development package has not been installed, but a trick i use to get info about things like this is to open the configure script and go to the line that says "Checking for GUI" and see what tests it performs. you should easily be able to see what is missing, or recreate the tests yourself to see what errors it is dealing with to assume there is no X support.
I have the same problem, I also get always the the error "Error: X11 support required for GUI compilation

Check "configure.log" if you do not understand why it failed."

I checked the configure. log and looked as you said under "Checking for GUI" and its empty.

What am I doing wrong?

Thanks

KTL
 
  


Reply



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 wont compile with gui on FC3 x86_64 a1ex_007 Fedora 1 06-22-2005 08:39 AM
MPlayer GUI problems Valhalla Linux - Software 10 02-13-2005 01:49 PM
mplayer gui problems cyborg_jt Linux - Software 3 10-12-2004 10:51 PM
problems with mplayer gui highhighs Mandriva 3 09-18-2003 03:37 AM
mplayer gui problems... scape Linux - Software 11 01-28-2003 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:34 PM.

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
Open Source Consulting | Domain Registration