LinuxQuestions.org
Register a domain and help support LQ
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-25-2004, 12:26 PM   #1
frankydukes
LQ Newbie
 
Registered: Jan 2004
Location: Guatemala City
Distribution: Mandrake 9.1
Posts: 11

Rep: Reputation: 0
Question Having a small problem installing MPlayer


I started the long process of installing Mplayer a few hours ago only because I want to hear stream audio from WMP files, and for no other reason. I hear Mplayer has a Mozilla plugin that lets me do this. I have Mandrake 9.1 intalled on my computer.

So this is what I downloaded from the Mplayer homepage:

M-player-1.Opre3.tar.bz2
font-arial-iso-8859-1.tar.bz2
Blue-1.1.tar.bz2

I extracted the files, and in the console i went to the mplayer-basic directory and, AS USER, I typed:

./configure --enable-gui

everything was fine for while, until I got the following error message:

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

I am a fairly new user to Linux and I have no idea where to go to get these files. Can anyone help me out with this and the rest of the installation problems soon to come. I hear installing Mplayer is a real B!@#h.

BTW, I was using gcc 3.2.2, whick I think is fine...

Franke
 
Old 02-25-2004, 12:40 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
PNG support is needed for the GUI as its image format. Do a search on libpng as I do believe their project page is hosted on http://freshmeat.net
 
Old 02-25-2004, 03:23 PM   #3
frankydukes
LQ Newbie
 
Registered: Jan 2004
Location: Guatemala City
Distribution: Mandrake 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
Exclamation ok got the libpgn but now....

Thanks for the help, I went to freshmeat.org and did a search for libpgn. I installed it along with another pakage zlib for extraction of the first. So I installed both, went back to the
the console and went to the mplayer-basic directory and typed:

./configure --enable-gui

again, this time it gave me this error:

Error: The GUI requires GTK devel packages (which were not found).

I did searches for GTK devel in freshmeat but I came up with nothing, then I searched it in Google and found a list of programs, but none of them seemed to be made for Mandrake 9.1. Does it matter which one I get? Do you know here I can go to get this.

Many thanks,

Franke
 
Old 02-25-2004, 03:44 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
http://www.gtk.org/ official site for Gtk.
 
Old 02-25-2004, 03:57 PM   #5
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
would those developmental packages be available on your mandrake disk? It might be worth checking add/remove programs(something like that), it would be the easiest way of installing them.
 
Old 02-25-2004, 06:11 PM   #6
frankydukes
LQ Newbie
 
Registered: Jan 2004
Location: Guatemala City
Distribution: Mandrake 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
Solved the problem....but wait....arrrgh!!

Thanks, after doing some more digging I got the packages I needed for GTK. So I ran the "./configure --enable GUI" command again and this time it ran with no problems.

Now, the prompt tells me to type make to compile mplayer and make install to install it. The first process, that compiles mplayer takes some time, 10 minutes on my computes. But at the very end it gives me another error message:

gtf.c:139: stray '\' in program
gtf.c:271:36: warning: multi-line string literals are deprecated
gtf.c:139: stray '\' in program
gtf.c:275:36: warning: multi-line string literals are deprecated
gtf.c:139: stray '\' in program
gtf.c:277:34: warning: multi-line string literals are deprecated
gtf.c:277:34: missing terminating " character
gtf.c:139:3: possible start of unterminated string literal
make[1]: *** [gtf.o] Error 1
make[1]: Leaving directory `/home/fasturias/mplayer/MPlayer-1.0pre3/libvo'
make: *** [libvo/libvo.a] Error 2


I don know were to go from here, I need help. I'm I typing "make" and compiling the mplayer in the wrong directory. I downloaded it and extracted the .bz2 pakage in my home directory. After configuring mplayer, should I go to another directory and compile it there? Maybe I can solve my own question if I try it myself? Any hints or comments woud be welcome.

Franke
 
Old 02-25-2004, 06:33 PM   #7
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
Are you trying to compile from your /home directory? The default compile directory is /usr/local/src. That could be part of your problem.
 
Old 02-25-2004, 07:06 PM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by Allen614
Are you trying to compile from your /home directory? The default compile directory is /usr/local/src. That could be part of your problem.
You can compile mplayer from any directory you extract it to.

The error your receiving frankydukes seems to be a problem with one of the files downloaded packaged with mplayer. Maybe a bad download, I'm not sure. What happened to the next download when attempting to compile now?
 
  


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
subfont too small in mplayer h2gofast Linux - Software 1 11-26-2005 07:12 PM
problem installing mplayer linuxboy_inside Linux - Software 15 04-03-2004 12:27 AM
Problem with installing mplayer.... avols143 Linux - General 2 02-20-2004 07:34 AM
Small problem installing GTK2 from source stickfigure Linux - Software 7 11-23-2003 02:28 PM
problem installing mplayer kired Linux - Newbie 6 04-21-2003 09:28 AM


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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration