SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to install cinelerra-gg from sbopkg on current. I ran into a build problem in ffmpeg and found a fix for it described by marav in this thread:
The patch is to ffmpeg-4.3 libavcodec/x86/mathops.h
This is what I did that got me past the original problem:
- Copied the cinelerra-gg tar file from /var/cache/sbopkg/cinelerra-gg-20210331_eabda9c.tar.xz to a working directory, and untar'd it.
- Found the ffmpeg package in the tree, copied it to a working directory, and untar'd it.
- Copied the patch file from the link in the thread above, and applied it with the patch command. patch was successful.
- tar'd the ffmpeg directories and replaced the tar file in the cinelerra-gg tree with the patched one.
- tar'd the cinelerra-gg package and replaced the one in /var/cache/sbopkg/ directory with the patched one.
- Tried to install it again with sbopkg. It was already in the cache, so it did not download it again. The MD5SUM check failed, but I told it to continue.
makeinfo*: erreur d'analyse de ./doc/t2h.pm*: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
makeinfo*: erreur d'analyse de ./doc/t2h.pm*: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
make[3]: *** [doc/Makefile:70: doc/ffprobe.html] Error 1
that, for my POV, is worst than the previous error ...
AOMedia Video 1 (AV1) is an Open Source video codec designed for
video transmission over the Internet. AV1 is planned to surpass
VP9 and also to eventually be a competitor with HEVC/H.265.
This script builds the encoder aomenc, the decoder aomdec as well
as shared libraries which can be utilised by suitable versions of
both FFmpeg and vlc.
Since I won't be using video over the Internet, I wonder if I can just omit it.
For some time now the cinelerra-gg team have been providing and recommending the AppImage which, as far as I remember, was quite straightforward to get up and running on Slackware (two or three years ago).
Last edited by Gerard Lally; 11-04-2023 at 07:56 PM.
makeinfo*: erreur d'analyse de ./doc/t2h.pm*: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
makeinfo*: erreur d'analyse de ./doc/t2h.pm*: Undefined subroutine &Texinfo::Config::set_from_init_file called at ./doc/t2h.pm line 24.
make[3]: *** [doc/Makefile:70: doc/ffprobe.html] Error 1
that, for my POV, is worst than the previous error ...
I think we can fix this, but I have not time at all these days!
Plz look my patch for texinfo in the ffmpeg thread
As I see the error, I think /doc/t2h.pm need the same fix ... set_from_init_file > texinfo_set_from_init_file etc...
actually just not building the html documentation (like you suggested in another thread) should be enough, after all it's just an internal ffmpeg version (and in this case you have the same one already installed on current): here I have done just these mods to let it build on current
@Z038: I can't see any problem in building the internal libaom or using an external one from SBo (there is called just "aom"): probably you can just redirect the building output in a file and examine that, also using just one make job could help having a cleaner output and identify your specific problem
@Gerard Lally - thanks for the suggestion. The Appimage does indeed work. I still want to build it anyway. The Appimage at least lets me start using Cinelerra in the meantime.
@rizitis - thank you for the patch. I will try it if all else fails. But as ponce was able to build without it, that sounds like a good solution for now.
@ponce - thank you the updated Slackbuild to disable html doc. Looks like you are using a newer version of cinelerra-gg also. Before I try this, I will redirect my build output to a file, as you suggested, and try to find the specific error in it.
The patched build worked, but the slackpkg install of the package complains about a null byte in line 2xx (I don't recall exactly), something about a command substitution I think, and then the terminal fonts get messed up and lots of hex garbage gets written to the terminal, like when you cat a binary file. You don't have much time to read it, which is why I'm not sure exactly what it said. The install seems to go on forever with nothing but garbage output to the console. I couldn't get it to stop, finally had to reboot my system.
I suppose I could redirect the output to a file, but not sure I want to try it again.
Maybe I can untar the package and see if I can find the problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.