LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-02-2004, 01:58 PM   #1
flubber
LQ Newbie
 
Registered: Oct 2003
Location: Lithuania
Distribution: Arch 0.6
Posts: 27

Rep: Reputation: 15
Unhappy MPlayer checking problem


When I tried to do this comman (./configure --enable-gui) in Mplayer's source I got an error message: Error: X11 support required for GUI compilation. I don't understand! What kind of X11 support Mplayer needs? Please help me! Thanks in advance.
 
Old 04-02-2004, 05:01 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
What you've posted doesn't make much sense, it would help if you could copy and paste the actual text from the shell and don't forget to include a 5 or 10 lines before the error so we can see what lead up to it.
 
Old 04-02-2004, 05:28 PM   #3
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
MPlayer is difficult to setup the first time you set it up... considering you have to do it in shell ;-)

Also, you have to execute the program from shell, unless you add it to the start menu. Plus for GUI you have to have a skin in the skins folder, and a font in the fonts folder. Difficult, like I said, the first time installing, but it's -WELL- worth it I say :-)
 
Old 03-16-2005, 10:37 PM   #4
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
Re: MPlayer checking problem

Quote:
Originally posted by flubber
When I tried to do this comman (./configure --enable-gui) in Mplayer's source I got an error message: Error: X11 support required for GUI compilation. I don't understand! What kind of X11 support Mplayer needs? Please help me! Thanks in advance.
I have this exact question. I see there was no answer here.

I downloaded mplayer and the codecs and the fonts as detailed in the README.

I ran sudo ./configure (this is in ubuntu)
Then I noticed the README says:

to configure MPlayer with the default options. The codecs you installed above
should be autodetected. GUI support has to be enabled separately, run

./configure --enable-gui

I then did that and got an error that I needed libpng and libpng-dev. Well, I had libpng, but I had to install libpng-dev. Then I ran ./configure --enable-gui again. This time I got the:
Error: X11 support required for GUI compilation.

I saw there's an --enable-x11 option, I tried that: ./configure --enable-x11 --enable-gui, but got the same error message: Error: X11 support required for GUI compilation.

I don't know what it wants. Maybe I should just forget about the gui part and stick with plain ol' ./configure.

I looked in the README for X11 and just discovered this:

- To compile MPlayer with X11 support, you need to have the XFree86 development
packages installed.
- For the GUI you need the libpng and GTK 1.2 development packages.

Maybe it doesn't like xorg?

I have, according to synaptic, gtk2-engines-abunchofstuff, including gtk2-engines-dev. There's no mention of gtk 1.2. Oh, well...

Last edited by itsjustme; 03-16-2005 at 10:38 PM.
 
Old 03-16-2005, 10:54 PM   #5
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
Man... does mplayer installation really suck this bad?
 
Old 04-10-2005, 09:32 PM   #6
EricTheLeg
LQ Newbie
 
Registered: Apr 2005
Location: Michigan
Distribution: Fedora
Posts: 4

Rep: Reputation: 0
There are bad RPMs floating around. Specifically some of the xorg-libs-devel have a non-working Xext library. Only solution that I found was to download xorg source, compile, move my /usr/X11R6/ directory, make an empty one and install. The follow-up for this is messy though because any of your graphics libraries installed under X need to be reinstalled (gtk, glib, their devel packages etc). This can be done from your source CD, but it's still messy (rpm -i --force...). Installing by this method includes all your xorgs-libs/devel/etc, so don't go and re-install the rpm'd libraries that caused the problem in the first place ;-)

If you decide to go that route don't yell at me when you spend some time on it, but just FYI, it DID work!
 
Old 04-10-2005, 09:52 PM   #7
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
There's no crying in baseball.

There's no RPM's in slackware.

And, you just helped confirm that mplayer installation really does suck!

 
Old 04-10-2005, 11:06 PM   #8
EricTheLeg
LQ Newbie
 
Registered: Apr 2005
Location: Michigan
Distribution: Fedora
Posts: 4

Rep: Reputation: 0
RPMs, Binaries, either way they're out there and seem to be getting onto peoples' systems.
 
Old 04-11-2005, 12:01 AM   #9
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
I think you might be missing the xorg devel libraries.

--Shade
 
Old 04-11-2005, 12:44 AM   #10
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Mplayer has extensive documentation...
http://www.mplayerhq.hu/DOCS/HTML/en/index.html

I use it almost exclusivally for music, video, streaming, and through my web browser and have had no problems with it.

I would suggest using your distros (UPDATED) package mgr. so it will install all the dependencies it needs. don't give up on it. It's a wonderfull program.

KC
 
Old 04-11-2005, 12:53 AM   #11
AxeZ
Member
 
Registered: Sep 2002
Location: Novi Sad, Vojvodina
Distribution: Slackware, FreeBSD
Posts: 386

Rep: Reputation: 32
Funny....I never had any problems like that with compiling mplayer in Slackware and I do it all the time with CVS version.
 
Old 04-11-2005, 02:45 AM   #12
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to make sure that you have the xorg devel package installed. It is called x11-devel (or something similar)
 
Old 04-11-2005, 04:29 PM   #13
AxeZ
Member
 
Registered: Sep 2002
Location: Novi Sad, Vojvodina
Distribution: Slackware, FreeBSD
Posts: 386

Rep: Reputation: 32
Quote:
Originally posted by reddazz
You need to make sure that you have the xorg devel package installed. It is called x11-devel (or something similar)
Slackware doesn't have devel packages...everything is included in regular Slackware package, including headers.
 
Old 04-11-2005, 05:13 PM   #14
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Yes it has for xorg, check in the package listing for Slackware 10.1.
 
Old 04-11-2005, 05:34 PM   #15
EricTheLeg
LQ Newbie
 
Registered: Apr 2005
Location: Michigan
Distribution: Fedora
Posts: 4

Rep: Reputation: 0
does anybody else find it funny that after I suggested that a file found in some versions of the xorg-libs-devel binaries may be corrupt, someone with 1000+ prior posts comes in and suggests that you (or I) might not have xorg-libs-devel installed (actually 2 of them)?

I'm sorry I won't be clicking thanks!

This seems to be quite a specific problem.

BTW, having the corrupt libXext.so file also killed my OpenOffice.org, which if started from command line gave an error indicating that the Xext library was not working. Investigation using ld /usr/...../ lXorg also showed the library as being corrupt.

As most of the threads where I came across this problem also made mention of X86_64, it could be limited to the binaries available for that architecture.
 
  


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
Checking md5sum problem. satimis *BSD 3 12-20-2006 05:07 AM
Simple bash problem - checking for files and displaying the first line morrolan Programming 4 03-07-2005 10:40 AM
./configure problem checking for libxml libraries >= 2.6.15 jackkerouac Linux - Software 2 01-12-2005 04:17 PM
problem while running linux 9,it always stops at checking modular dependencies sooraj_menon Linux - Hardware 1 03-02-2004 06:06 AM
Problem checking hardware before RH8 setup davee Linux - Hardware 3 02-14-2003 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:26 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