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 02-21-2011, 03:34 PM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
MPlayer fails to compile on -current


So I have been using 13.1 pretty much exclusively, but today I thought I would try out -current since I have finally gotten compiz-0.9 git running stable with KDE 4.5.5. The error I am getting seems to be related to the fact that when the slackbuild makes a tarball from mplayer svn it complains about ffmpeg libswscale not existing.

root@Slackware64:/rm/MPlayer# ./MPlayer.SlackBuild
Source 'MPlayer-20101018.tar.xz' not available yet...
Will checkout sources to /rm/MPlayer
svn: warning: Error handling externals definition for 'ffmpeg/libswscale':
svn: warning: URL 'svn://svn.ffmpeg.org/mplayer/trunk/libswscale' at revision 32947 doesn't exist

It still makes the tarball, but as expected the build fails because it cant find libswscale...

-Iffmpeg -D_REENTRANT -I/usr/X11/include -I/usr/include/ -I/usr/include/cdda -I/usr/include/freetype2 -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -c -o mpcommon.o mpcommon.c
make -C ffmpeg/libswscale
make: *** ffmpeg/libswscale: No such file or directory. Stop.
make: *** [ffmpeg/libswscale/libswscale.a] Error 2
Makefile:4: xml.mak: No such file or directory

This seems maybe more of a problem with mplayer svn than the actual build itself.

If anyone has any ideas please let me know.

Thanks.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-21-2011, 03:38 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Being in slackware, can you use the locate command?

Code:
locate libswscale
 
Old 02-21-2011, 03:38 PM   #3
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
NO. MPlayer NOT fails to be compiled on current. YOUR SlackBuild fail to checkout the right source code from the SVN repository. BTW, why you use the development tree from their SVN Repo?
 
0 members found this post helpful.
Old 02-21-2011, 03:56 PM   #4
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Original Poster
Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by Darth Vader View Post
NO. MPlayer NOT fails to be compiled on current. YOUR SlackBuild fail to checkout the right source code from the SVN repository. BTW, why you use the development tree from their SVN Repo?
It's not MY slackbuild, its from -current. It's actually an Alien Bob slackbuild. But if the build is checking out the wrong source code, then wouldn't that mean that MPlayer has changed something in SVN since the slackbuild is essentially the same one that Pat has been using since 13.0?

ftp://elektroni.phys.tut.fi/slackwar...yer.SlackBuild
 
Old 02-21-2011, 04:05 PM   #5
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Original Poster
Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by corp769 View Post
Being in slackware, can you use the locate command?

Code:
locate libswscale
Yes, I can locate it. It exists in my ffmpeg package and in my VLC package. But mplayer uses its own static version of ffmpeg and for some reason when the build makes my tarball from SVN it can't seem to find it and therefore skips it, so the build fails since it can't find it. I am going to boot into 13.1 and see if I can recreate the problem.

Last edited by Daedra; 02-21-2011 at 04:06 PM.
 
Old 02-21-2011, 04:15 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
There was a war amongst the Ffmpeg developers, some of them hi-jacked (or won, or earned, you name it) the name and created a new repository in git.
The old svn repository was in fact multiple repositories - libswcale was in a separate repository and got drawn in during checkout of the ffmpeg code. In git, all of that has merged into one tree.

And the Slackware mplayer.SlackBuild which uses ffmpeg at its core will certainly suffer from that repository change too.

Eric
 
3 members found this post helpful.
Old 02-21-2011, 04:39 PM   #7
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Original Poster
Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Thanks Eric,

I had a feeling it was something on there end, since your builds never fail . Could I just edit the build to make the source tarball from git? I just made a tarball from git and compiled it by hand, it compiled fine, but I wasn't able to enable the gui, but that was not a big surprise since mplayer has abandoned the gui for a while, but I am wondering if they finally removed it for good? I'm going to keep looking.

Thanks again.
 
0 members found this post helpful.
Old 02-21-2011, 06:48 PM   #8
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Original Poster
Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Got it.

I just changed the script to grab the latest revision from SVN. Now MPlayer gave me an option to checkout ffmpeg...

Building ...
No FFmpeg checkout, press enter to download one with git or CTRL+C to abort

Once it downloaded it compiled and installed fine.

Thanks for the help guys.
 
0 members found this post helpful.
Old 08-18-2011, 10:07 PM   #9
CMartin
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 48

Rep: Reputation: 22
Can't compile either. It exits with the Error 2 like this:

In file included from libswscale/x86/yuv2rgb_mmx.c:55:0:
libswscale/x86/yuv2rgb_template.c: In function 'yuva420_rgb32_MMX':
libswscale/x86/yuv2rgb_template.c:394:9: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
libswscale/x86/yuv2rgb_template.c:394:9: error: 'asm' operand has impossible constraints
make[1]: *** [libswscale/x86/yuv2rgb_mmx.o] Error 1
make[1]: Leaving directory `/home/picilli/mplayer-export-2011-08-18/ffmpeg'
make: *** [ffmpeg/libswscale/libswscale.a] Error 2


There is libswscale already installed, just as ffmpeg of course, yet mplayer keeps reminding me to hit Enter to get ffmpeg source when executing ./configure --options... and I do.

Anyway, the exit error no2 about libswscale happens with mplayer Alien slackbuild with a version from June this year, as well as with SVN trunk and source snapshot.

Any idea how to fix this ? Thank you.

Last edited by CMartin; 08-18-2011 at 10:23 PM.
 
  


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
usbimg2disk.sh fails in current piratesmack Slackware 6 11-26-2010 02:27 PM
inkscape fails on current... imitis Slackware 6 04-07-2010 10:08 AM
[SOLVED] Alien Bob's VLC fails to compile on newest current Daedra Slackware 3 03-06-2010 04:23 PM
[SOLVED] Firefox fails to compile on -current Daedra Slackware 7 01-16-2010 09:08 PM
GCC fails to compile - Chapter 6.14 - C preprocessor "/lib/cpp" fails sanity check jaydoc Linux From Scratch 1 01-28-2009 05:17 PM

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

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