LinuxQuestions.org
Review your favorite Linux distribution.
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 01-23-2005, 01:29 AM   #1
Nego
LQ Newbie
 
Registered: Jul 2004
Posts: 16

Rep: Reputation: 0
mplayer GUI problems


Well, I installed mplayer and I tried
Code:
./configure --enable-gui
and I got an error like PNG support required for GUI compilation, please install libpng and libpng-dev packages. I checked log and:
============ Checking for PNG support ============

#include <png.h>
#include <string.h>
int main(void) {
printf("png.h : %s\n", PNG_LIBPNG_VER_STRING);
printf("libpng: %s\n", png_libpng_ver);
return (strcmp(PNG_LIBPNG_VER_STRING, png_libpng_ver));
}

cc /tmp/mplayer-conf-6266-15467.c -o /tmp/mplayer-conf-1785-15467.o -lpng -lz -lm
/tmp/mplayer-conf-6266-15467.c:1:17: png.h: No such file or directory
/tmp/mplayer-conf-6266-15467.c: In function `main':
/tmp/mplayer-conf-6266-15467.c:4: error: `PNG_LIBPNG_VER_STRING' undeclared (first use in this function)
/tmp/mplayer-conf-6266-15467.c:4: error: (Each undeclared identifier is reported only once
/tmp/mplayer-conf-6266-15467.c:4: error: for each function it appears in.)
/tmp/mplayer-conf-6266-15467.c:5: error: `png_libpng_ver' undeclared (first use in this function)

ldd /tmp/mplayer-conf-1785-15467.o
ldd: /tmp/mplayer-conf-1785-15467.o: No such file or directory

Result is: no

Anyone know how I can fix this?
 
Old 01-23-2005, 01:57 AM   #2
linux-rulz
Member
 
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Rep: Reputation: 30
Install the libpng and libpng-dev packages like it says to do, and then try again. What distro are you using?
 
  


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 cyborg_jt Linux - Software 3 10-12-2004 10:51 PM
Problems with mplayer GUI in Fedora C2 x86_64 dwmorton Linux - Newbie 5 06-19-2004 01:09 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 - Software

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