LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 09-08-2006, 11:55 AM   #1
goggyturk
LQ Newbie
 
Registered: Oct 2003
Posts: 22

Rep: Reputation: 15
MPlayer GUI compilation problems - Debian 3.1


Hi

Having problems compiling MPlayer under Debian 3.1 (Sarge). It keeps complaining about missing png libraries:

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

I've done everything I can think of: added a link (libpng.so) with the library files in /usr/lib, added /usr/lib in my $PATH, done apt-get install libpng*, etc..

Apparently this is a common problem, so common that I can't_actually_find the solution anywhere when I search for it.

Can anyone out there help with this?
 
Old 09-08-2006, 12:28 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
why not try apt-get install mplayer
 
Old 09-08-2006, 12:45 PM   #3
goggyturk
LQ Newbie
 
Registered: Oct 2003
Posts: 22

Original Poster
Rep: Reputation: 15
It's not part of the Debian distro. The command draws a blank.
 
Old 09-08-2006, 01:09 PM   #4
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian
Posts: 2,491

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Quote:
Originally Posted by goggyturk
Hi

Having problems compiling MPlayer under Debian 3.1 (Sarge). It keeps complaining about missing png libraries:

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

I've done everything I can think of: added a link (libpng.so) with the library files in /usr/lib, added /usr/lib in my $PATH, done apt-get install libpng*, etc..

Apparently this is a common problem, so common that I can't_actually_find the solution anywhere when I search for it.

Can anyone out there help with this?
The trick you have to install libpng-dev as the error says. The dev package has necessary headers and stuff that you need for compiling, libpng is only the runtime.

Edit: I noticed you did put the '*' after libpng, I think the reason that didn't work is that apt-get uses regexps which is not quite the same as shell globbing. What you meant was libpng.*
The '*' means 0 or more of the previous character so libpng* means libpn, libpng, libpngg, libpnggg, etc...
The dot means any character. You might have to escape the '*' with a backslash to stop the shell from expanding it:
Code:
apt-get install libpng.\*

Last edited by ntubski; 09-08-2006 at 01:16 PM.
 
Old 09-08-2006, 03:32 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Add one of the following to your sources.list
# This is Christian Marillat's package tree. Very high-quality packages.
# Primarily audio/video related, including ffmpeg, libdvdcss, Mplayer,
# pymusique, w32codecs, RealPlayer, and Adobe Acrobat.
# For more info see: http://hpisi.nerim.net/
# or ftp://ftp.nerim.net/debian-marillat/index.html
# Stable:
deb ftp://ftp.nerim.net/debian-marillat/ stable main
# Testing:
deb ftp://ftp.nerim.net/debian-marillat/ etch main
# Unstable:
deb ftp://ftp.nerim.net/debian-marillat/ sid main
deb-src ftp://ftp.nerim.net/debian-marillat/ sid main

thn use apt-get install mplayer
 
  


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 GUI problems Valhalla Linux - Software 10 02-13-2005 01:49 PM
mplayer GUI problems Nego Linux - Software 1 01-23-2005 01:57 AM
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


All times are GMT -5. The time now is 05:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration