On 2/15/26 9:52 AM, Terje J. Hanssen
wrote:
On 2/14/26 11:59 PM, Andrew
Randrianasulu wrote:
On 2/14/26 5:48 PM, Andrew Randrianasulu wrote:
On 2/14/26 12:54 PM, Andrew
Randrianasulu wrote:
On 2/12/26 4:34 PM,
Andrew Randrianasulu wrote:
To continue
from/with
Procedure and
build scripts for
Unbundled Builds
(Slowroll)
https://lists.cinelerra-gg.org/archives/list/cin@lists.cinelerra-gg.org/thread/DDID2KFLR2DV4AML4XHVLJDTQVHVSKFZ/
Edited bld.sh
./configure line:
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
./configure
--with-single-user
--disable-static-build --without-thirdparty --without-libdpx
--enable-ffmpeg
make
&& make
install )
2>&1 |
tee log
mv Makefile
Makefile.cfg
cp
Makefile.devel
Makefile
--------------
Test-run
./bld.sh
.........
checking for
openexr
available... yes
configure:
error: lv2
requested but no
lv2 headers
found
make: *** No
targets
specified and no
makefile found.
Stop.
mv: cannot stat
'Makefile': No
such file or
directory
------
The start of
blds/bld_prepare.sh
say
#!/bin/bash
# need lv2
plugins (eg.
lv2-calf-plugin)
lv2-dev is
included in only
two package
lists, for
Ubuntu and
Debian!?
Not sure,
may be it just named
differently in other
distros? But may be it
geniue absent, and we
just compile fine
because it already
installed and
auto-updated with rest
of system!
Need to
check this, thanks.
I add-installed
lv2-devel, next
also
liblilv-0-devel
and lv2-calf on
Slowroll,
but still bld.sh
claims
"configure:
error: lv2
requested but no
lv2 headers
found"
So I'm stuck
here (again).
----
Try to verify if
lv2.h are
installed:
find
/usr/include
-name lv2.h
/usr/include/lv2.h
/usr/include/lv2/lv2.h
/usr/include/lv2/core/lv2.h
/usr/include/lv2/lv2plug.in/ns/lv2core/lv2.h
pkg-config
--cflags lv2
pkg-config
--cflags lv2.h
Package lv2.h
was not found in
the pkg-config
search path.
Perhaps you
should add the
directory
containing
`lv2.h.pc'
to the
PKG_CONFIG_PATH
environment
variable
Package 'lv2.h'
not found
You need
sratom, sord, suil dev
packages too ....
Configure
prints what it tests
for, so I just guess
package name and try to
install it, repeat until
success.
Thanks, I installed missing
packages
sord suil-devel suil-plugin-x11
and after several 46 |
#include "a52.h" I also added
a52dec alsa-plugins-a52
liba52-devel
But there are more....
Attach the bld_sh_output_1
if you get time to look at
it.
My current
./configure
--with-single-user
--disable-static-build
--without-thirdparty
--without-libdpx
in the thought that
--without-thirdparty would
automatic use my system
ffmpeg. Aggree?
fmpeg.h:48:10: fatal
error: libavformat/avformat.h: No
such file or directory
48 | #include
"libavformat/avformat.h"
yeah, you forgot to
install one or all of
libavcodec-devel,
libavformat-devel,
libswscale-devel, libavutil-devel
..
Our bld_prepare.sh
was geared towards bundled/with
thirdparty builds, so .... we have
such experience.
Yep,thanks
again.
On openSUSE Slowroll, the development
packages for the libavcodec,
libavformat, libswscale, and libavutil
libraries are named with a version
number prefix, such as
ffmpeg-8-libavcodec-devel (here from the
Packman repo).
The following 8 packages are going to be
upgraded:
ffmpeg-8 libavcodec62 libavdevice62
libavfilter11 libavformat62 libavutil60
libswresample6 libswscale9
The following 5 NEW packages are going
to be installed:
ffmpeg-8-libavcodec-devel
ffmpeg-8-libavformat-devel
ffmpeg-8-libavutil-devel
ffmpeg-8-libswresample-devel
ffmpeg-8-libswscale-devel
As there are more errors, I think it is
smart to finish the tast before
collecting an updated package list.
fmpeg.h:48:10: fatal error:
libavformat/avformat.h: No such file or
directory
48 | #include
"libavformat/avformat.h"
it basically the same.
Probably ffmpeg includes are in
/usr/include/ffmpeg8 or someplace (as Suse
apparently allow installing few copies in
parallel)
Sorry, I was wrong about CFLAGS
then.
Try to set said CFLAGS to
-I/where/ffmpeg8includes/live
re-run configure with your
switches.
re-run make.
Yeah,
pkg-config
--cflags libavcodec
-I/usr/include/ffmpeg
Compared with previous installation notes from 2024
(ffmpeg-7 then)
https://lists.cinelerra-gg.org/archives/list/cin@lists.cinelerra-gg.org/thread/XWR2MB7E4H4YIRV3JDUY7LOVRXUSLSDM/#XWR2MB7E4H4YIRV3JDUY7LOVRXUSLSDM
and
add-installed also
libmjpegutils-devel libtwolame-devel
4)
# CFLAGS=-I/usr/include/ffmpeg ./configure
--with-single-user --disable-static-build
--without-thirdparty --without-libdpx
which now ran through
but
# make > make.log 2>&1
contain errors !?
from apluginarray.C:30:
ffmpeg.h:54:10: fatal error:
libavfilter/avfilter.h: No such file or directory
54 | #include "libavfilter/avfilter.h"
guess something like libavfilter-devel will
fix that
Yes, I've add-installed ffmpeg-8-libavfilter-devel
But after make errors, should I just repeate "make", or "make
clean" before "make"?
I ran "make clean" and then "make" again, but still some errors
you did not forgot to ran configure in-between?
Sometimes make continues nice, but sometimes you better to restart it with make clean, configure, make, make install dance because our Makefile does mnt track internal includes, so some changes not correctly applied to all files (due to conditional compilation of various menus and parts of code)
I usually open those log files in some editor and search for
"Error: " - with capital E and with space after ":"
because just searching for error bring error.h header checks and errrorbox.h for example ....
Attach a common make.log2 ?
Attach config.log.gz and make.log.gz
Attach
the bld_sh_output_2, if you get time to
look at it.