LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-16-2015, 11:22 PM   #1
_gin
Member
 
Registered: Aug 2012
Distribution: Oracle Linux
Posts: 106

Rep: Reputation: Disabled
Slackware-current MPlayer libmng


Hi there!

On my Slack-box (Slackware-current) MPlayer (MPlayer-20150425) does not detect MNG (Checking for MNG support ... no), does this occur to you as well...and if so, does anyone have a fix for It?

REM: I believe that mng is the libmng library.
 
Old 08-17-2015, 12:53 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
MNG (Multiple-image Network Graphics) libPNG
clean up your libpng install uninstall libpng14 if it is still there and libpng16 also then install the latest updated build from current Pat updated that a while back then cleaned up the old libpng at the same time. then reinstall mplayer. that should do it.
mine.
Quote:
MPlayer 20150425-4.9.2
also read the change log notes http://www.slackware.com/changelog/c...php?cpu=x86_64

Last edited by Drakeo; 08-17-2015 at 01:00 AM.
 
Old 08-18-2015, 03:37 AM   #3
_gin
Member
 
Registered: Aug 2012
Distribution: Oracle Linux
Posts: 106

Original Poster
Rep: Reputation: Disabled
The answer came from BLFS , according to this page, libmng-2.0.2 does not link properly with libjpeg-turbo. You have to add a missing header file. BLFS does this with a sed command.

This is why MPlayer in current does not detect libmng and if you add "--enable-mng" to force MPlayer to link with, the build fails like this:

Code:
In file included from /usr/include/libmng_types.h:207:0,
                 from /usr/include/libmng.h:386,
                 from libvo/vo_mng.c:38:
/usr/include/jpeglib.h:914:53: error: unknown type name 'FILE'
 EXTERN(void) jpeg_stdio_dest (j_compress_ptr cinfo, FILE * outfile);
                                                     ^
/usr/include/jpeglib.h:915:54: error: unknown type name 'FILE'
 EXTERN(void) jpeg_stdio_src (j_decompress_ptr cinfo, FILE * infile);
                                                      ^
make: *** [libvo/vo_mng.o] Erreur 1

I requested help because I was not sure that the problem came from me or from Slackware-current. I usually install MPlayer that I link to ffmpeg as a shared library and my current ffmpeg install includes quite a few of external libraries as well.

The problem will solve by Itself when libmng will be upgraded to libmng-2.0.3, I guess...

Case solved, thanks everyone for reading.
 
  


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
MPlayer vaapi on Slackware-current slackd Slackware 14 09-01-2015 02:03 AM
[SOLVED] Script to build always a current ISO image of Slackware (slackware-current) robertjinx Slackware 2 12-09-2010 02:00 AM
mplayer your system is too slow after updating slackware current matters Slackware 10 07-15-2009 02:04 PM
Libmng problems muppski Linux - Software 1 11-03-2005 02:09 PM

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

All times are GMT -5. The time now is 09:21 AM.

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