On 2/11/26 11:36 PM, Andrew Randrianasulu via Cin wrote:
[aggressively snip]I have perl and a lot of perl- packages installed. /home3/cinelerra/cinelerra-5.1 # autoreconf Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 299. autoreconf: error: aclocal failed with exit status: 2 aclocal must be in https://software.opensuse.org/download.html?project=openSUSE%3AFactory&package=automake install THIS too. Yes, thanks. Another evident that "blds/bld_prepare.sh suse" didn't install the complete package list. Both automake and fftw3-devel were on the package list. I installed the latter manually afterwards.yes, but Im not sure about that it complain ... "man test" and "man bash" both show -L and -f test conditions exist May be it complain about ln -s command?
You commented it also on my 2024 installation, at that time line 77
https://lists.cinelerra-gg.org/archives/list/cin@lists.cinelerra-gg.org/message/5PZ2JUYMRKVAI6ZSFMV646KZXDKG46P2/
Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c): c blds/bld_prepare.sh: line 77: [: missing `]' ocalhost:/home/cinelerra/cinelerra-5.1 #
Looks like a typo in blds/bld_prepare.sh: line 77: [: missing `]'
it seems error catching in our script is not great? If 'c' mean cancel for zypper command then may be condition on line 77 misfired ..? and also we need to add openmlib-devel to list? (newer heard about such pkg name before - but Iam on Slackware so it probably rolled into libc package)
I commented out # line 79-82, which avoided the claimed line 79: [: missing `]'You can try to comment this out with # and see if bld_prepare.sh now works for suse ?
but didn't seem to complete the package installation.
But possibly I have found an installation syntax error in the "bld_prepare suse" script:
I changed the order from "zypper -n install" to "zypper in -n" <exact package names>
and ran this install command and package list manually.
Resolving package dependencies...
2 Problems:
Problem: 1: the installed libjpeg62-devel-62.4.0-82.1.x86_64 conflicts with 'libjpeg-devel' provided by the to be installed libjpeg8-devel-8.3.2-82.1.x86_64
Problem: 2: the installed zlib-ng-compat-devel-2.3.2-1.1.x86_64 conflicts with 'zlib-devel' provided by the to be installed zlib-devel-1.3.1-1.3.x86_64
Problem: 1: the installed libjpeg62-devel-62.4.0-82.1.x86_64 conflicts with 'libjpeg-devel' provided by the to be installed libjpeg8-devel-8.3.2-82.1.x86_64
Solution 1: deinstallation of libjpeg62-devel-62.4.0-82.1.x86_64
Solution 2: do not install libjpeg8-devel-8.3.2-82.1.x86_64
Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c): 1
Problem: 2: the installed zlib-ng-compat-devel-2.3.2-1.1.x86_64 conflicts with 'zlib-devel' provided by the to be installed zlib-devel-1.3.1-1.3.x86_64
Solution 1: deinstallation of zlib-ng-compat-devel-2.3.2-1.1.x86_64
Solution 2: do not install zlib-devel-1.3.1-1.3.x86_64
Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c): 1
Resolving dependencies...
Resolving package dependencies...
2105 new packages to install, 2 to remove.
Package download size: 847.1 MiB
.... a lot of libs, perl, texlive etc were installed
# ./autogen.sh
+ rm -f global_config configure Makefile Makefile.in
+ rm -f aclocal.m4 depcomp compile install-sh ltmain.sh
+ rm -f config.log config.guess config.h config.h.in config.sub config.status missing
+ rm -rf autom4te.cache m4
+ '[' '' = clean ']'
+ mkdir m4
+ autoreconf --install
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'm4'.
libtoolize: copying file 'm4/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:10: installing 'm4/compile'
configure.ac:10: installing 'm4/config.guess'
configure.ac:10: installing 'm4/config.sub'
configure.ac:9: installing 'm4/install-sh'
configure.ac:9: installing 'm4/missing'
++ uname -o
+ '[' GNU/Linux = Android ']'
+ '[' -e /system/bin/app_process ']'
configure was created
localhost:/Cin # ls -la /Cin
lrwxrwxrwx. 1 root root 30 Feb 11 23:37 /Cin -> /home3/cinelerra/cinelerra-5.1
localhost:/Cin # ./configure --help | grep ffmpeg
--enable-ffmpeg build ffmpeg (yes)
--with-git-ffmpeg git ffmpeg using url (no)
--with-libplacebo libplacebo ffmpeg Vulkan filter (no)
--with-libzimg libzimg ffmpeg filter (no)
localhost:/Cin # cat bld.sh
#!/bin/bash
# IMPORTANT comments below to change the configure line
# For newer operating system versions, add --enable-libsvtav1
# For really old versions, such as ubuntu 16, add --enable-libaom=no
# Faster compile if include --disable-x265_hidepth
# To add OpenCV plugins, add --with-opencv=sta,tar=https://download.cinelerra-gg.org/download.php?file=opencv%2Fopencv-20200306.tgz
( ./autogen.sh
./configure --with-single-user --with-booby
make && make install ) 2>&1 | tee log
mv Makefile Makefile.cfg
cp Makefile.devel Makefile
Should I edit the configure line in bld.sh
from
./configure --with-single-user --with-booby
to
./configure --with-single-user --disable-static-build --without-thirdparty --without-libdpx --enable-ffmpeg
./configure --with-single-user --disable-static-build --without-thirdparty --without-libdpx
and get keep all that already are enabled in the system ffmpeg-8 (i.e --enable-libvpl --enable-vaapi --enable-vdpau)?
At the same time, to cleanup I think build_prepare.sh should have two separate package sections for respectively suse|leap (LTS, enterprise, older versions) tumbleweed|slowroll (rolling new versions and packages) # zypper in automake from zypper info: Automake is a tool for automatically generating "Makefile.in" files from "Makefile.am" files. "Makefile.am" is a series of "make" macro definitions (with rules occasionally thrown in). The generated "Makefile.in" files are compatible with the GNU Makefile standards. But unhappily, still not success: /home3/cinelerra/cinelerra-5.1 # ./autogen.sh + rm -f global_config configure Makefile Makefile.in + rm -f aclocal.m4 depcomp compile install-sh ltmain.sh + rm -f config.log config.guess config.h config.h.in config.sub config.status missing + rm -rf autom4te.cache m4 + '[' '' = clean ']' + mkdir m4 + autoreconf --install configure.ac:12: installing 'm4/compile' configure.ac:9: installing 'm4/install-sh' configure.ac:9: installing 'm4/missing' configure.ac:28: error: required file 'm4/ltmain.sh' not found configure.ac:28: installing 'm4/config.guess' configure.ac:28: installing 'm4/config.sub' autoreconf: error: automake failed with exit status: 1 ++ uname -o + '[' GNU/Linux = Android ']' + '[' -e /system/bin/app_process ']'Install libtool .... /me updating Fedora 42 on qemu ..well, at some point it will finish I hope! I tried build with libplacebo and it stopped due to some errors in libplacebo's includes, so I'm trying to update whole thing and see if it work.[trim here too] _______________________________________________ Cin mailing list -- cin@lists.cinelerra-gg.org To unsubscribe send an email to cin-leave@lists.cinelerra-gg.org