LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-28-2003, 04:35 PM   #1
frontier1
Member
 
Registered: Feb 2003
Location: Culpeper,Va
Distribution: Mandrake 9.2 Knoppix 3.3 SuSe 9.0
Posts: 140

Rep: Reputation: 15
Trouble trying to configure mplayer


got the following error:
[root@localhost root]# /root/mplayer/MPlayer-0.90rc4/configure
Detected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 3.2, ok
Checking for CPU vendor ... GenuineIntel (15:0:10)
Checking for CPU type ... Intel(R) Pentium(R) 4 CPU 1500MHz
Checking for GCC & CPU optimization abilities ... pentium4
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for mtrr support ... yes
Checking for assembler (as 2.13.90.0.2) ... ok
Checking for Linux kernel version ... 2.4.18-14, ok
Checking for awk ... gawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for i18n ... yes
Checking for setlocale() ... yes
Checking for language ... en not found, using en

Error: help/help_mp-en.h not found


Any help would be appreciated, Thanks
 
Old 02-28-2003, 04:39 PM   #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
[root@localhost root]# /root/mplayer/MPlayer-0.90rc4/configure

you're running the command wrong you must be IN the directory, you can't just run it from anywhere.
 
Old 02-28-2003, 04:46 PM   #3
frontier1
Member
 
Registered: Feb 2003
Location: Culpeper,Va
Distribution: Mandrake 9.2 Knoppix 3.3 SuSe 9.0
Posts: 140

Original Poster
Rep: Reputation: 15
you are a genius! thank you
 
Old 02-28-2003, 04:56 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Also to add, why are you logged in as root, its always a good idea to perform tasks as a regular user.

Just a thought since performing everyday tasks, etc as root can be dangerous, one mistake and everything is gone or non-functional.
 
Old 02-28-2003, 05:12 PM   #5
frontier1
Member
 
Registered: Feb 2003
Location: Culpeper,Va
Distribution: Mandrake 9.2 Knoppix 3.3 SuSe 9.0
Posts: 140

Original Poster
Rep: Reputation: 15
Thanks for the tip trickykid, I started a thread recently asking if it is really that important to not login as root primarily, and I learned exactly what you just posted.

I've got a new problem, when I try to run ./configure --enable-gui

I get the following error
Checking for byte order ... Little Endian
Checking for shared postprocess lib ... no
Checking for New config ... yes
Checking for OSD menu ... no
Checking for QTX codecs ... no
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for GUI ... yes

Error: PNG support required for GUI compilation, please install libpng and libpng-dev packages.

I installed libpng using apt-get, with no problems,
bit when I try to use apt-get install libpng-dev, I get the following error

[root@localhost root]# apt-get install libpng-dev
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package libpng-dev
 
Old 02-28-2003, 06:40 PM   #6
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
The package probably has a slightly different name, try libpng-devel, or have a look for the package on one of your install cd's.
 
Old 02-28-2003, 06:43 PM   #7
frontier1
Member
 
Registered: Feb 2003
Location: Culpeper,Va
Distribution: Mandrake 9.2 Knoppix 3.3 SuSe 9.0
Posts: 140

Original Poster
Rep: Reputation: 15
Thanks Aussie, I found it on Synaptic already,
But now I have another error

Error: X11 support required for GUI compilation


What is that? and how do I get it?
 
Old 02-28-2003, 06:49 PM   #8
frontier1
Member
 
Registered: Feb 2003
Location: Culpeper,Va
Distribution: Mandrake 9.2 Knoppix 3.3 SuSe 9.0
Posts: 140

Original Poster
Rep: Reputation: 15
Is X11 the same as Xfree86??
 
Old 02-28-2003, 06:58 PM   #9
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Yes, and it's the same problem you had with libpng, the xfree86-devel package needs to be installed.
 
Old 02-28-2003, 07:17 PM   #10
frontier1
Member
 
Registered: Feb 2003
Location: Culpeper,Va
Distribution: Mandrake 9.2 Knoppix 3.3 SuSe 9.0
Posts: 140

Original Poster
Rep: Reputation: 15
Thanks Aussie, I downloaded it, and guess what, another error!

Error: the GUI requires GTK (which was not found)

Is this the same as gtk2-devel??

I'm so close, I can feel it, again thanks everyone
 
Old 02-28-2003, 07:25 PM   #11
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Yes, rpm based distro's split the packages into three rpm's, package.rpm, package-devel.rpm and package-src.rpm, you need the devel rpm's if you want to install something from source that depends on header/include files, which are what the devel rpm's contain amongst other things.
 
Old 02-28-2003, 07:34 PM   #12
frontier1
Member
 
Registered: Feb 2003
Location: Culpeper,Va
Distribution: Mandrake 9.2 Knoppix 3.3 SuSe 9.0
Posts: 140

Original Poster
Rep: Reputation: 15
I downloaded gtk2-devel, and I still get the same error

Error: the GUI requires GTK (which was not found)

Any thoughts?
 
Old 02-28-2003, 07:43 PM   #13
frontier1
Member
 
Registered: Feb 2003
Location: Culpeper,Va
Distribution: Mandrake 9.2 Knoppix 3.3 SuSe 9.0
Posts: 140

Original Poster
Rep: Reputation: 15
I think I found it, is it gtkmm-devel, it has gtk+
 
Old 02-28-2003, 08:23 PM   #14
frontier1
Member
 
Registered: Feb 2003
Location: Culpeper,Va
Distribution: Mandrake 9.2 Knoppix 3.3 SuSe 9.0
Posts: 140

Original Poster
Rep: Reputation: 15
I got a new problem, any ideas?

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
[cfg] read config file: /root/.mplayer/gui.conf
Reading config file /root/.mplayer/gui.conf: No such file or directory
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0" => local display)
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No
such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 135 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config
SKIN dir 1: '/root/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
[skin] file ( /usr/local/share/mplayer/Skin/default/skin ) not found.
Skin not found ( default ).
[root@localhost MPlayer-0.90rc4]#
 
Old 02-28-2003, 08:51 PM   #15
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Now that you have it installed the docs will explain all the config files, there are good man pages as well.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mplayer trouble megadeth Linux - Software 6 05-04-2005 03:40 PM
Mplayer configure problem Valhalla Linux - Software 1 12-04-2004 03:56 PM
trouble with ./configure nephron Linux - Newbie 3 07-27-2004 09:49 AM
Mplayer trouble citrus Linux - Software 7 01-25-2004 01:28 PM
trouble ahead, trouble behind....trouble with mplayer Goonie Linux - Software 3 07-02-2003 02:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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