LinuxQuestions.org
Visit Jeremy's Blog.
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 05-03-2012, 04:42 AM   #1
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
ffmpeg needs texlive?


Hello Everyone,

Since upgrading to KDE 4.8, it has been a nightmare trying to get and anything multimedia related installed, most of which was removed during the install.

I cannot install any video editor (Cinelerra, Kdenlive) from corrupted or missing dependencies. In another thread while trying to install Cinelerra, it was recommended that I remove Cinelerra Which was looking for an old version of the x264 libraries, then x264, and ffmpeg. I did all of this and the only thing I have been able to re-install was x264. ffmpeg fails because of a missing texlive. So I went looking for that and found it was a 1.3GB install! What in the world is that? Why would ffmpeg need that?

Can anyone give me some advice on reinstalling ffmpeg, which is a dependency of Cinelerra which is my ultimate aim.

Any help is appreciated.

Bob
 
Old 05-03-2012, 05:22 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,102

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
from slackbuilds.org's readme
Quote:
Make sure to run this script in a real root shell ("su -") and that you
have either tetex or texlive installed.
 
Old 05-03-2012, 05:35 AM   #3
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thank you, I read that as well. My question is that no other version of ffmpeg I have ever installed needed texlive, the most recent was Alien Bob's version (0.5). Why does it need it now? And if I have to install it, can it be installed from my home directory because I would not have room in /tmp.

Bob
 
Old 05-03-2012, 05:46 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,102

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
you can build it also with tetex (already in slackware), texlive is only an alternative.
 
Old 05-03-2012, 05:53 AM   #5
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by ponce View Post
you can build it also with tetex (already in slackware), texlive is only an alternative.
The exact reason for my question. Tetex IS installed but the build from SBopkg failed with a requirement for tetex or tetxlive. I can re-install Alien Bob's version, but would have rather had everything from SBo so that I can get a clean attempt to reinstall Cinelerra. If it is acceptable to build with just tetex, why isn't the build finding its presence?

Bob
 
Old 05-03-2012, 05:54 AM   #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
Hi Bob

Using ffmpeg does not require texlive or tex at all. It is just while compiling ffmpeg, that tex (or texlive) must be present in order to compile the manpages for ffmpeg.

Note that tex is part of Slackware, so if you did a full install then you will not have to install the 3rd party texlive at all.
If you don't care about man pages, then you can also wrap the lines in the ffmpeg.SlackBuild which search for and compress the man pages, in ( ) like this:
Code:
(
  # Compress the man page(s)
  if [ -d $PKG/usr/man ]; then
    find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
    for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
  fi
)
This effectively prevents the SlackBuild script from exiting prematurely in case no man page could be found below $PKG/usr/man

Eric
 
1 members found this post helpful.
Old 05-03-2012, 06:11 AM   #7
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thanks, Eric.

If you don't mind, can you tell me where to put this? Do I put it inside the build script or just wrap that section of the script?

Thanks for your help.

Bob
 
Old 05-03-2012, 06:14 AM   #8
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,102

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
Quote:
Originally Posted by BobNutfield View Post
If it is acceptable to build with just tetex, why isn't the build finding its presence?
I think because you haven't become root with
Code:
su -
that gives you a login root shell instead of just
Code:
su
 
Old 05-03-2012, 07:05 AM   #9
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thank you, I finally installed ffmpeg, but, once again it was all to no avail. Cinelerra STILL will not compile.

Quote:
In file included from ../guicast/guicast.h:42:0,
from filebase.h:29,
from ffmpeg.C:10:
../guicast/bcpot.h: In member function 'virtual char* BC_Pot::get_caption()':
../guicast/bcpot.h:56:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
In file included from ffmpeg.h:5:0,
from ffmpeg.C:12:
/usr/include/libavcodec/avcodec.h: At global scope:
/usr/include/libavcodec/avcodec.h:533:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [ffmpeg.o] Error 1lled
make[3]: Leaving directory `/tmp/SBo/cinelerra/cinelerra'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/cinelerra/cinelerra'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/cinelerra'
make: *** [all] Error 2
Once again, I kept getting:

Quote:
WARNING: Depricated conversion to constant (char*)
throughout the compile, ending in failure.

I probably should just give up. It's been weeks of trying to get either Cinelerra or Kdenlive installed again. I have both installed on a Ubuntu install on another machine, so I guess I am relegated to using that. I tried so hard to get them installed on Slack because when I used to have them they ran so much better in Slack.

Oh well.....

Thanks for your help

Bob
 
Old 05-03-2012, 08:03 AM   #10
roberto967
Member
 
Registered: Apr 2011
Location: Cagliari, Italy
Distribution: Slackware64-15.0 multilib
Posts: 117

Rep: Reputation: 36
Hi Bob,
I had the same problem days ago, but at the end I got cinelerra-2.1.5 (and also kino) working with the latest kde-4.8.2 compiled by Pat.
I'm using ffmpeg-0.6.3-x86_64-1alien. I can't remember what exactly I have done.. I'm not sure but I faced that compilation problem too, and that issue should be caused by this bug http://sources.gentoo.org/cgi-bin/vi...patch?view=log

I think that you have to build v. 2.1.5 and not 2.2.0 because you have to apply patches against ffmpeg and vfl1 removal (the bug above http://sources.gentoo.org/cgi-bin/vi...nelerra/files/), which are both included in the SBo tar.

In addition, if you use Eric's multilib, you may have to add this to your configure

Code:
--x-libraries=/usr/lib${LIBDIRSUFFIX}
In my case it was looking for X libraries in /lib instead of /lib64.

Last edited by roberto967; 05-03-2012 at 08:04 AM.
 
Old 05-03-2012, 08:44 AM   #11
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,102

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
@bob: FYI, I had all the deps installed here on 64-current multilib, so I tried a build using slackbuilds.org's script and adding only the line above to the configure (shouldn't be needed on pure 32 or 64 slackware) and all went fine.

It just complained, but only after starting the application, to increase a proc value (/proc/sys/kernel/shmmax) this way
Code:
echo "0x7fffffff" > /proc/sys/kernel/shmmax
done it (as root) and now it's happy

Last edited by ponce; 05-03-2012 at 08:46 AM.
 
Old 05-03-2012, 09:08 AM   #12
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by roberto967 View Post
Hi Bob,
I had the same problem days ago, but at the end I got cinelerra-2.1.5 (and also kino) working with the latest kde-4.8.2 compiled by Pat.
I'm using ffmpeg-0.6.3-x86_64-1alien. I can't remember what exactly I have done.. I'm not sure but I faced that compilation problem too, and that issue should be caused by this bug http://sources.gentoo.org/cgi-bin/vi...patch?view=log

I think that you have to build v. 2.1.5 and not 2.2.0 because you have to apply patches against ffmpeg and vfl1 removal (the bug above http://sources.gentoo.org/cgi-bin/vi...nelerra/files/), which are both included in the SBo tar.

In addition, if you use Eric's multilib, you may have to add this to your configure

Code:
--x-libraries=/usr/lib${LIBDIRSUFFIX}
In my case it was looking for X libraries in /lib instead of /lib64.
Thank for the reply, but I was building 2.1.5. I don't believe I need any patches as I am using a pure 32bit system (no multilibs). It looked like a gcc error, not sure as I don't have too much experience in investigating failed builds.

I believe I might try getting the source file from the Cinelerra-CV site and using scr2pkg to make a slackpkg. It couldn't hurt, nothing else has seemed to help.

Thanks again,

Bob
 
Old 05-03-2012, 09:10 AM   #13
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by ponce View Post
@bob: FYI, I had all the deps installed here on 64-current multilib, so I tried a build using slackbuilds.org's script and adding only the line above to the configure (shouldn't be needed on pure 32 or 64 slackware) and all went fine.

It just complained, but only after starting the application, to increase a proc value (/proc/sys/kernel/shmmax) this way
Code:
echo "0x7fffffff" > /proc/sys/kernel/shmmax
done it (as root) and now it's happy
Thanks, yes, that is common on Slack to have to enter that line before starting Cinelerra. When I had it installed last time I had to do it each time I started Cinelerra. Problem is, I just can't get it installed at all. I am not using multilib, I am on a strictly 32bit system.

Thanks again

Bob
 
Old 05-03-2012, 09:20 AM   #14
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Well, creating a package with src2pkg at least gave the appearance that it was installing. But when I run it,

Quote:
cinelerra: error while loading shared libraries: libavcodec.so.52: cannot open shared object file: No such file or directory
I have libavcodec libraries installed. This is no longer worth it. I don't remember ever having this much trouble getting anything installed.
 
Old 05-03-2012, 10:32 AM   #15
roberto967
Member
 
Registered: Apr 2011
Location: Cagliari, Italy
Distribution: Slackware64-15.0 multilib
Posts: 117

Rep: Reputation: 36
Quote:
Originally Posted by BobNutfield View Post
Thank for the reply, but I was building 2.1.5. I don't believe I need any patches as I am using a pure 32bit system (no multilibs).
those patches should be applyed in any case, you can find them in the SBo

Last edited by roberto967; 05-03-2012 at 10:34 AM.
 
  


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
update texlive (tlmgr): no texlive.tlpdb tramni1980 Slackware 3 03-30-2011 07:30 AM
ffmpeg.SlackBuild: line 194: cd: /tmp/SBo/package-ffmpeg/usr/man: No such file or dir darkstarbyte Linux - Software 7 12-29-2010 05:45 PM
Help me in installing ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encod mitesh.ever Red Hat 5 05-16-2009 12:14 PM
Does the latest version of ffmpeg not work with ffmpeg-php? whitey4900 Linux - Software 0 08-04-2008 05:16 PM

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

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