Hi! I'm compiling Cinelerra from git source (master, up to date, pulled this morning). Here's the script that I use (attached): cin-build.sh I just completed the first attempt, which failed. I guess the make says the most (but I have other logs, as per the script, if needed). So this is the make (that xz'es into just 232K, but is 7922K unxz'ed, attached): cinelerra_make_220914_1319.xz I don't know if this is only here or is some generic that will happen to other possible builders. I think (not sure) it may be something to do with tiff... So I'll try ./configure ... --disable-tiff . Have no other ideas at the moment. Any help welcome. (And if I figure out myself why the errors, I'll report.) Regards! -- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr my PGP-key: https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc
ср, 14 сент. 2022 г., 14:58 Miroslav Rovis via Cin < [email protected]>:
Hi!
I'm compiling Cinelerra from git source (master, up to date, pulled this morning).
Here's the script that I use (attached): cin-build.sh
I just completed the first attempt, which failed.
I guess the make says the most (but I have other logs, as per the script, if needed).
So this is the make (that xz'es into just 232K, but is 7922K unxz'ed, attached): cinelerra_make_220914_1319.xz
I don't know if this is only here or is some generic that will happen to other possible builders.
guess we missed some dependency .. checking for shared library run path origin... /usr/bin/ld: cannot find -lwebp: No such file or directory /usr/bin/ld: cannot find -lzstd: No such file or directory collect2: error: ld returned 1 exit status make[5]: *** [src/bin/jp2/CMakeFiles/opj_decompress.dir/build.make:215: bin/opj_decompress] Error 1 make[5]: Leaving directory '/the-path/cinelerra/cinelerra-5.1/thirdparty/openjpeg-2.5.0' try to install zstd and webp libs (and there -dev portions just to be sure) and rerun compile?
I think (not sure) it may be something to do with tiff... So I'll try ./configure ... --disable-tiff . Have no other ideas at the moment.
Any help welcome. (And if I figure out myself why the errors, I'll report.)
Regards!
-- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr my PGP-key: https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc -- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
On 220914-15:08+0300, Andrew Randrianasulu wrote:
ср, 14 сент. 2022 г., 14:58 Miroslav Rovis via Cin < [email protected]>:
Hi!
I'm compiling Cinelerra from git source (master, up to date, pulled this morning).
Here's the script that I use (attached): cin-build.sh An error in the previously sent on, corrected version attached anew: cin-build.sh
guess we missed some dependency ..
checking for shared library run path origin... /usr/bin/ld: cannot find -lwebp: No such file or directory /usr/bin/ld: cannot find -lzstd: No such file or directory collect2: error: ld returned 1 exit status make[5]: *** [src/bin/jp2/CMakeFiles/opj_decompress.dir/build.make:215: bin/opj_decompress] Error 1 make[5]: Leaving directory '/the-path/cinelerra/cinelerra-5.1/thirdparty/openjpeg-2.5.0'
A good find! That's very close to the top, just a few pages...
try to install zstd and webp libs (and there -dev portions just to be sure) and rerun compile?
I should try and figure out how to do that. But maybe I should first follow up on what I thought earlier:
I think (not sure) it may be something to do with tiff... So I'll try ./configure ... --disable-tiff . Have no other ideas at the moment.
I'm now running cin-build--disable-tiff.sh which diff's from the corrected cin-build.sh like this: $ diff cin-build.sh cin-build--disable-tiff.sh 65,67c65,67 < echo "Next: ./configure --with-single-user" ; read NOP && < ./configure --with-single-user |& \ < tee $LOGS_DIR/cinelerra_configure--with-single-user_$(date +%y%m%d_%H%M) ; read NOP ---
echo "Next: ./configure --with-single-user --disable-tiff" ; read NOP && ./configure --with-single-user --disable-tiff |& \ tee $LOGS_DIR/cinelerra_configure--with-single-user--disable-tiff_$(date +%y%m%d_%H%M) ; read NOP
(the immediately above is not a citation, but part of diff, note for casual reader) And I do have now: static openExr static openexr forced openjpeg disabled tiff forced twolame forced x264 forced x265 static libvpx in my cinelerra_configure--with-single-user--disable-tiff_220914_1448 . Let me finish this first. Thanks for your insight. Regards! -- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr my PGP-key: https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc
On 220914-14:51+0200, Miroslav Rovis wrote:
On 220914-15:08+0300, Andrew Randrianasulu wrote: [...]
guess we missed some dependency ..
checking for shared library run path origin... /usr/bin/ld: cannot find -lwebp: No such file or directory /usr/bin/ld: cannot find -lzstd: No such file or directory collect2: error: ld returned 1 exit status make[5]: *** [src/bin/jp2/CMakeFiles/opj_decompress.dir/build.make:215: bin/opj_decompress] Error 1 make[5]: Leaving directory '/the-path/cinelerra/cinelerra-5.1/thirdparty/openjpeg-2.5.0'
A good find! That's very close to the top, just a few pages...
try to install zstd and webp libs (and there -dev portions just to be sure) and rerun compile?
I should try and figure out how to do that.
Will go back to the above. But first:
But maybe I should first follow up on what I thought earlier:
I think (not sure) it may be something to do with tiff... So I'll try ./configure ... --disable-tiff . Have no other ideas at the moment.
[...]
And I do have now:
static openExr static openexr forced openjpeg disabled tiff forced twolame forced x264 forced x265 static libvpx
in my cinelerra_configure--with-single-user--disable-tiff_220914_1448 .
Let me finish this first. Thanks for your insight.
So I attach now: cinelerra_make_220914_1451.xz which ends like this: g++ -o /the-path/cinelerra/cinelerra-5.1/cinelerra/../bin/cin `cat x86_64/objs` /usr/bin/ld: warning: x86_64/theme_data.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /usr/bin/ld: x86_64/filetiff.o: in function `FileTIFF::write_frame(VFrame*, VFrame*, FrameWriterUnit*)': /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:393: undefined reference to `TIFFClientOpen' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:454: undefined reference to `TIFFSetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:455: undefined reference to `TIFFSetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:456: undefined reference to `TIFFSetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:457: undefined reference to `TIFFSetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:458: undefined reference to `TIFFSetField' /usr/bin/ld: x86_64/filetiff.o:/the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:459: more undefined references to `TIFFSetField' follow /usr/bin/ld: x86_64/filetiff.o: in function `FileTIFF::write_frame(VFrame*, VFrame*, FrameWriterUnit*)': /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:466: undefined reference to `TIFFDefaultStripSize' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:466: undefined reference to `TIFFSetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:470: undefined reference to `TIFFSetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:492: undefined reference to `TIFFWriteScanline' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:495: undefined reference to `TIFFClose' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:474: undefined reference to `TIFFWriteScanline' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:462: undefined reference to `TIFFSetField' /usr/bin/ld: x86_64/filetiff.o: in function `FileTIFF::read_frame_header(char*)': /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:152: undefined reference to `TIFFOpen' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:159: undefined reference to `TIFFGetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:169: undefined reference to `TIFFGetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:170: undefined reference to `TIFFGetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:173: undefined reference to `TIFFGetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:175: undefined reference to `TIFFGetField' /usr/bin/ld: x86_64/filetiff.o:/the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:177: more undefined references to `TIFFGetField' follow /usr/bin/ld: x86_64/filetiff.o: in function `FileTIFF::read_frame_header(char*)': /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:201: undefined reference to `TIFFClose' /usr/bin/ld: x86_64/filetiff.o: in function `FileTIFF::read_frame(VFrame*, VFrame*)': /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:314: undefined reference to `TIFFClientOpen' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:330: undefined reference to `TIFFReadScanline' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:377: undefined reference to `TIFFClose' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:536: /the-path/cinelerra/cinelerra-5.1/cinelerra/../bin/cin] Error 1 make[2]: Leaving directory '/the-path/cinelerra/cinelerra-5.1/cinelerra' make[1]: *** [Makefile:585: all-recursive] Error 1 make[1]: Leaving directory '/the-path/cinelerra/cinelerra-5.1' make: *** [Makefile:532: all] Error 2 Meaning, IMHO, the --disable-tiff is not honored. That appears to me like another bug, but I'm not an expert. And am a litte disoriented with all the errors the Cinelerra is now throwing at us :-) . So you were saying:
try to install zstd and webp libs (and there -dev portions just to be sure) and rerun compile? Let me see if I understand well enough what you mean... A little time to think on that...
Regards! -- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr my PGP-key: https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc
ср, 14 сент. 2022 г., 16:12 Miroslav Rovis <[email protected]>:
On 220914-14:51+0200, Miroslav Rovis wrote:
On 220914-15:08+0300, Andrew Randrianasulu wrote: [...]
guess we missed some dependency ..
checking for shared library run path origin... /usr/bin/ld: cannot find -lwebp: No such file or directory /usr/bin/ld: cannot find -lzstd: No such file or directory collect2: error: ld returned 1 exit status make[5]: *** [src/bin/jp2/CMakeFiles/opj_decompress.dir/build.make:215: bin/opj_decompress] Error 1 make[5]: Leaving directory '/the-path/cinelerra/cinelerra-5.1/thirdparty/openjpeg-2.5.0'
A good find! That's very close to the top, just a few pages...
try to install zstd and webp libs (and there -dev portions just to be
sure)
and rerun compile?
I should try and figure out how to do that.
Will go back to the above.
But first:
But maybe I should first follow up on what I thought earlier:
I think (not sure) it may be something to do with tiff... So I'll try ./configure ... --disable-tiff . Have no other ideas at the moment.
[...]
And I do have now:
static openExr static openexr forced openjpeg disabled tiff forced twolame forced x264 forced x265 static libvpx
in my cinelerra_configure--with-single-user--disable-tiff_220914_1448 .
Let me finish this first. Thanks for your insight.
So I attach now: cinelerra_make_220914_1451.xz
which ends like this:
g++ -o /the-path/cinelerra/cinelerra-5.1/cinelerra/../bin/cin `cat x86_64/objs` /usr/bin/ld: warning: x86_64/theme_data.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /usr/bin/ld: x86_64/filetiff.o: in function `FileTIFF::write_frame(VFrame*, VFrame*, FrameWriterUnit*)': /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:393: undefined reference to `TIFFClientOpen' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:454: undefined reference to `TIFFSetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:455: undefined reference to `TIFFSetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:456: undefined reference to `TIFFSetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:457: undefined reference to `TIFFSetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:458: undefined reference to `TIFFSetField' /usr/bin/ld: x86_64/filetiff.o:/the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:459: more undefined references to `TIFFSetField' follow /usr/bin/ld: x86_64/filetiff.o: in function `FileTIFF::write_frame(VFrame*, VFrame*, FrameWriterUnit*)': /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:466: undefined reference to `TIFFDefaultStripSize' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:466: undefined reference to `TIFFSetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:470: undefined reference to `TIFFSetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:492: undefined reference to `TIFFWriteScanline' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:495: undefined reference to `TIFFClose' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:474: undefined reference to `TIFFWriteScanline' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:462: undefined reference to `TIFFSetField' /usr/bin/ld: x86_64/filetiff.o: in function `FileTIFF::read_frame_header(char*)': /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:152: undefined reference to `TIFFOpen' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:159: undefined reference to `TIFFGetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:169: undefined reference to `TIFFGetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:170: undefined reference to `TIFFGetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:173: undefined reference to `TIFFGetField' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:175: undefined reference to `TIFFGetField' /usr/bin/ld: x86_64/filetiff.o:/the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:177: more undefined references to `TIFFGetField' follow /usr/bin/ld: x86_64/filetiff.o: in function `FileTIFF::read_frame_header(char*)': /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:201: undefined reference to `TIFFClose' /usr/bin/ld: x86_64/filetiff.o: in function `FileTIFF::read_frame(VFrame*, VFrame*)': /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:314: undefined reference to `TIFFClientOpen' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:330: undefined reference to `TIFFReadScanline' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:377: undefined reference to `TIFFClose' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:536: /the-path/cinelerra/cinelerra-5.1/cinelerra/../bin/cin] Error 1 make[2]: Leaving directory '/the-path/cinelerra/cinelerra-5.1/cinelerra' make[1]: *** [Makefile:585: all-recursive] Error 1 make[1]: Leaving directory '/the-path/cinelerra/cinelerra-5.1' make: *** [Makefile:532: all] Error 2
Meaning, IMHO, the --disable-tiff is not honored. That appears to me like another bug, but I'm not an expert.
And am a litte disoriented with all the errors the Cinelerra is now throwing at us :-) .
I guess we not see most of those because we build on systems with most developer components installed .... you can look at prepare sh script for various distros and either run it as is or copypaste package-installing part into terminal and run it from there ... less blds/bld_prepare.sh for viewing (from cingg's source tree root) thanks for letting us know our build system still not realworld proof .....
So you were saying:
try to install zstd and webp libs (and there -dev portions just to be sure) and rerun compile? Let me see if I understand well enough what you mean... A little time to think on that...
on Debian based or Red Hat (centos) based distros libraries usually split into runtime dependency (bunch of *.so files) and files you need for compiling new software against said libs (headers - *.h files, and *.a - static libraries). common beginner error is having .so libs installed without corresponding .h and .a files... or mismatched versions.
Regards!
-- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr my PGP-key: https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc
On 220914-17:19+0300, Andrew Randrianasulu wrote:
ср, 14 сент. 2022 г., 16:12 Miroslav Rovis <[email protected]>:
On 220914-14:51+0200, Miroslav Rovis wrote:
On 220914-15:08+0300, Andrew Randrianasulu wrote: [...] make[2]: *** [Makefile:536: /the-path/cinelerra/cinelerra-5.1/cinelerra/../bin/cin] Error 1 make[2]: Leaving directory '/the-path/cinelerra/cinelerra-5.1/cinelerra' make[1]: *** [Makefile:585: all-recursive] Error 1 make[1]: Leaving directory '/the-path/cinelerra/cinelerra-5.1' make: *** [Makefile:532: all] Error 2
Meaning, IMHO, the --disable-tiff is not honored. That appears to me like another bug, but I'm not an expert.
And am a litte disoriented with all the errors the Cinelerra is now throwing at us :-) .
I guess we not see most of those because we build on systems with most developer components installed ....
you can look at prepare sh script for various distros and either run it as is or copypaste package-installing part into terminal and run it from there ...
less blds/bld_prepare.sh for viewing (from cingg's source tree root) I run in in my cin-build.sh script, and it now always gets me:
0 upgraded, 0 newly installed, 0 to remove and 161 not upgraded. see the attached: cinelerra_bld_prepare.sh_debian-testing_220914_1555.xz
thanks for letting us know our build system still not realworld proof ..... Thank you guys for the great libre program! (And I'm happy to be useful.)
So you were saying:
try to install zstd and webp libs (and there -dev portions just to be sure) and rerun compile? Let me see if I understand well enough what you mean... A little time to think on that...
on Debian based or Red Hat (centos) based distros libraries usually split into runtime dependency (bunch of *.so files) and files you need for compiling new software against said libs (headers - *.h files, and *.a - static libraries). common beginner error is having .so libs installed without corresponding .h and .a files... or mismatched versions.
Yup! I'll go and hunt for those other errors and other missing packages. The webp, libwebp-dev and libzstd-dev done, as per my other email sent just 1 minute later than this one of yours. Regards! -- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr my PGP-key: https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc
ср, 14 сент. 2022 г., 17:41 Miroslav Rovis <[email protected]>:
On 220914-17:19+0300, Andrew Randrianasulu wrote:
ср, 14 сент. 2022 г., 16:12 Miroslav Rovis <[email protected] :
On 220914-14:51+0200, Miroslav Rovis wrote:
On 220914-15:08+0300, Andrew Randrianasulu wrote: [...] make[2]: *** [Makefile:536: /the-path/cinelerra/cinelerra-5.1/cinelerra/../bin/cin] Error 1 make[2]: Leaving directory '/the-path/cinelerra/cinelerra-5.1/cinelerra' make[1]: *** [Makefile:585: all-recursive] Error 1 make[1]: Leaving directory '/the-path/cinelerra/cinelerra-5.1' make: *** [Makefile:532: all] Error 2
Meaning, IMHO, the --disable-tiff is not honored. That appears to me like another bug, but I'm not an expert.
And am a litte disoriented with all the errors the Cinelerra is now throwing at us :-) .
I guess we not see most of those because we build on systems with most developer components installed ....
you can look at prepare sh script for various distros and either run it as is or copypaste package-installing part into terminal and run it from there ...
less blds/bld_prepare.sh for viewing (from cingg's source tree root) I run in in my cin-build.sh script, and it now always gets me:
0 upgraded, 0 newly installed, 0 to remove and 161 not upgraded.
i guess libtiff had some new dependency ..I tried to disable it in thirdparty/Makefile like this: git diff thirdparty/Makefile diff --git a/cinelerra-5.1/thirdparty/Makefile b/cinelerra-5.1/thirdparty/Makefile index 4e952989..845c84f1 100644 --- a/cinelerra-5.1/thirdparty/Makefile +++ b/cinelerra-5.1/thirdparty/Makefile @@ -257,7 +257,7 @@ openexr.mak_vars?=true; \# opus.cfg_params?= --disable-extra-programs speech_tools.mak_params?=-j1 tiff.cfg_vars+=LIBS+=" -lpthread"; autoreconf -ifv -I m4 && automake -caf; -tiff.cfg_params+= --disable-libdeflate --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\ +tiff.cfg_params+= --disable-libdeflate --disable-lerc --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\ --with-webp-include-dir=$(call pkg_incl,libwebp)\ --with-webp-lib-dir=$(call pkg_libs,libwebp))\ $(call if_npkg,libwebp,--disable-webp) basically add '--disable-lerc" into tiff.cfg_params line let us know if this resolves compilation error ... and then if resulting Cingg still can create various tiff files ...
see the attached: cinelerra_bld_prepare.sh_debian-testing_220914_1555.xz
thanks for letting us know our build system still not realworld proof ..... Thank you guys for the great libre program! (And I'm happy to be useful.)
So you were saying:
try to install zstd and webp libs (and there -dev portions just to
be
sure)
and rerun compile? Let me see if I understand well enough what you mean... A little time to think on that...
on Debian based or Red Hat (centos) based distros libraries usually split into runtime dependency (bunch of *.so files) and files you need for compiling new software against said libs (headers - *.h files, and *.a - static libraries). common beginner error is having .so libs installed without corresponding .h and .a files... or mismatched versions.
Yup! I'll go and hunt for those other errors and other missing packages. The webp, libwebp-dev and libzstd-dev done, as per my other email sent just 1 minute later than this one of yours.
Regards!
-- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr my PGP-key: https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc
On 220914-17:49+0300, Andrew Randrianasulu wrote:
ср, 14 сент. 2022 г., 17:41 Miroslav Rovis <[email protected]>:
On 220914-17:19+0300, Andrew Randrianasulu wrote:
ср, 14 сент. 2022 г., 16:12 Miroslav Rovis <[email protected] :
On 220914-14:51+0200, Miroslav Rovis wrote:
On 220914-15:08+0300, Andrew Randrianasulu wrote: [...] make[2]: *** [Makefile:536: /the-path/cinelerra/cinelerra-5.1/cinelerra/../bin/cin] Error 1 make[2]: Leaving directory '/the-path/cinelerra/cinelerra-5.1/cinelerra' make[1]: *** [Makefile:585: all-recursive] Error 1 make[1]: Leaving directory '/the-path/cinelerra/cinelerra-5.1' make: *** [Makefile:532: all] Error 2
Meaning, IMHO, the --disable-tiff is not honored. That appears to me like another bug, but I'm not an expert.
And am a litte disoriented with all the errors the Cinelerra is now throwing at us :-) .
[...]
i guess libtiff had some new dependency ..I tried to disable it in thirdparty/Makefile like this:
git diff thirdparty/Makefile diff --git a/cinelerra-5.1/thirdparty/Makefile b/cinelerra-5.1/thirdparty/Makefile index 4e952989..845c84f1 100644 --- a/cinelerra-5.1/thirdparty/Makefile +++ b/cinelerra-5.1/thirdparty/Makefile @@ -257,7 +257,7 @@ openexr.mak_vars?=true; \# opus.cfg_params?= --disable-extra-programs speech_tools.mak_params?=-j1 tiff.cfg_vars+=LIBS+=" -lpthread"; autoreconf -ifv -I m4 && automake -caf; -tiff.cfg_params+= --disable-libdeflate --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\ +tiff.cfg_params+= --disable-libdeflate --disable-lerc --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\ --with-webp-include-dir=$(call pkg_incl,libwebp)\ --with-webp-lib-dir=$(call pkg_libs,libwebp))\ $(call if_npkg,libwebp,--disable-webp)
basically add '--disable-lerc" into tiff.cfg_params line
let us know if this resolves compilation error ... and then if resulting Cingg still can create various tiff files ...
Apology for long wait. Yes, that works. I have installed Cinelerra that I built and set it to do some work right away. It appears to work normally. How do I test it to create tiff files? Umhh... I rendered what I had opened to work on, chose a small selection and, yes, it did render in <that-work>.tiff. Thanks for this tiny diff that fixed it for me! I'll be back if there are more issues. Regards! -- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr my PGP-key: https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc
attached two git diff files first is fixing your compile error, second requires manually adding libtiff-4.4.0.tar.xz source tarball from libtiff's homepage into thirdparty/src it compiles here on termux/aarch64 but might error out on different (especially older) systems .... ср, 14 сент. 2022 г., 20:21 Miroslav Rovis <[email protected]>:
On 220914-17:49+0300, Andrew Randrianasulu wrote:
ср, 14 сент. 2022 г., 17:41 Miroslav Rovis <[email protected] :
On 220914-17:19+0300, Andrew Randrianasulu wrote:
ср, 14 сент. 2022 г., 16:12 Miroslav Rovis < [email protected] :
On 220914-14:51+0200, Miroslav Rovis wrote:
On 220914-15:08+0300, Andrew Randrianasulu wrote: [...] make[2]: *** [Makefile:536: /the-path/cinelerra/cinelerra-5.1/cinelerra/../bin/cin] Error 1 make[2]: Leaving directory '/the-path/cinelerra/cinelerra-5.1/cinelerra' make[1]: *** [Makefile:585: all-recursive] Error 1 make[1]: Leaving directory '/the-path/cinelerra/cinelerra-5.1' make: *** [Makefile:532: all] Error 2
Meaning, IMHO, the --disable-tiff is not honored. That appears to me like another bug, but I'm not an expert.
And am a litte disoriented with all the errors the Cinelerra is now throwing at us :-) .
[...]
i guess libtiff had some new dependency ..I tried to disable it in thirdparty/Makefile like this:
git diff thirdparty/Makefile diff --git a/cinelerra-5.1/thirdparty/Makefile b/cinelerra-5.1/thirdparty/Makefile index 4e952989..845c84f1 100644 --- a/cinelerra-5.1/thirdparty/Makefile +++ b/cinelerra-5.1/thirdparty/Makefile @@ -257,7 +257,7 @@ openexr.mak_vars?=true; \# opus.cfg_params?= --disable-extra-programs speech_tools.mak_params?=-j1 tiff.cfg_vars+=LIBS+=" -lpthread"; autoreconf -ifv -I m4 && automake -caf; -tiff.cfg_params+= --disable-libdeflate --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\ +tiff.cfg_params+= --disable-libdeflate --disable-lerc --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\ --with-webp-include-dir=$(call pkg_incl,libwebp)\ --with-webp-lib-dir=$(call pkg_libs,libwebp))\ $(call if_npkg,libwebp,--disable-webp)
basically add '--disable-lerc" into tiff.cfg_params line
let us know if this resolves compilation error ... and then if resulting Cingg still can create various tiff files ...
Apology for long wait.
Yes, that works. I have installed Cinelerra that I built and set it to do some work right away. It appears to work normally.
How do I test it to create tiff files? Umhh... I rendered what I had opened to work on, chose a small selection and, yes, it did render in <that-work>.tiff.
Thanks for this tiny diff that fixed it for me!
I'll be back if there are more issues.
Regards!
-- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr my PGP-key: https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc
On 220914-20:36+0300, Andrew Randrianasulu wrote:
attached two git diff files
first is fixing your compile error, second requires manually adding libtiff-4.4.0.tar.xz source tarball from libtiff's homepage into thirdparty/src
it compiles here on termux/aarch64 but might error out on different (especially older) systems ....
Yeah, I saw: [Cin] libtiff 4.4.0 https://lists.cinelerra-gg.org/pipermail/cin/2022-September/005466.html which you also posted.
ср, 14 сент. 2022 г., 20:21 Miroslav Rovis <[email protected]>:
On 220914-17:49+0300, Andrew Randrianasulu wrote:
ср, 14 сент. 2022 г., 17:41 Miroslav Rovis <[email protected] :
On 220914-17:19+0300, Andrew Randrianasulu wrote:
ср, 14 сент. 2022 г., 16:12 Miroslav Rovis < [email protected] :
On 220914-14:51+0200, Miroslav Rovis wrote: > On 220914-15:08+0300, Andrew Randrianasulu wrote: [...] make[2]: *** [Makefile:536: /the-path/cinelerra/cinelerra-5.1/cinelerra/../bin/cin] Error 1 make[2]: Leaving directory '/the-path/cinelerra/cinelerra-5.1/cinelerra' make[1]: *** [Makefile:585: all-recursive] Error 1 make[1]: Leaving directory '/the-path/cinelerra/cinelerra-5.1' make: *** [Makefile:532: all] Error 2
Meaning, IMHO, the --disable-tiff is not honored. That appears to me like another bug, but I'm not an expert.
And am a litte disoriented with all the errors the Cinelerra is now throwing at us :-) .
[...]
i guess libtiff had some new dependency ..I tried to disable it in thirdparty/Makefile like this:
git diff thirdparty/Makefile diff --git a/cinelerra-5.1/thirdparty/Makefile b/cinelerra-5.1/thirdparty/Makefile index 4e952989..845c84f1 100644 --- a/cinelerra-5.1/thirdparty/Makefile +++ b/cinelerra-5.1/thirdparty/Makefile @@ -257,7 +257,7 @@ openexr.mak_vars?=true; \# opus.cfg_params?= --disable-extra-programs speech_tools.mak_params?=-j1 tiff.cfg_vars+=LIBS+=" -lpthread"; autoreconf -ifv -I m4 && automake -caf; -tiff.cfg_params+= --disable-libdeflate --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\ +tiff.cfg_params+= --disable-libdeflate --disable-lerc --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\ --with-webp-include-dir=$(call pkg_incl,libwebp)\ --with-webp-lib-dir=$(call pkg_libs,libwebp))\ $(call if_npkg,libwebp,--disable-webp)
basically add '--disable-lerc" into tiff.cfg_params line
let us know if this resolves compilation error ... and then if resulting Cingg still can create various tiff files ...
Apology for long wait.
Yes, that works. I have installed Cinelerra that I built and set it to do some work right away. It appears to work normally.
How do I test it to create tiff files? Umhh... I rendered what I had opened to work on, chose a small selection and, yes, it did render in <that-work>.tiff.
Thanks for this tiny diff that fixed it for me!
I'll be back if there are more issues.
Regards!
-- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr my PGP-key: https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc
From b6ff492a4a5a3f92e019770ca81b5ed0fb4b873a Mon Sep 17 00:00:00 2001 From: Andrew Randrianasulu <[email protected]> Date: Wed, 14 Sep 2022 19:49:51 +0300 Subject: [PATCH 2/2] upgrade libtiff to 4.4.0
--- cinelerra-5.1/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac index 06c0531d..5f0ffe39 100644 --- a/cinelerra-5.1/configure.ac +++ b/cinelerra-5.1/configure.ac @@ -405,7 +405,7 @@ PKG_3RD([ilmBase],[auto], [ilmBase], [] []) # []) # PKG_3RD([tiff],[auto], - [tiff-4.3.0], + [tiff-4.4.0], [ libtiff/.libs/libtiff.a \ libtiff/.libs/libtiffxx.a \ port/.libs/libport.a ],[ -- 2.37.3
From ff3d9de1e22b22833baa9bf36aff72ebbfb9c041 Mon Sep 17 00:00:00 2001 From: Andrew Randrianasulu <[email protected]> Date: Wed, 14 Sep 2022 19:38:39 +0300 Subject: [PATCH 1/2] Potentially fix libtiff compilation
--- cinelerra-5.1/thirdparty/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cinelerra-5.1/thirdparty/Makefile b/cinelerra-5.1/thirdparty/Makefile index 4e952989..845c84f1 100644 --- a/cinelerra-5.1/thirdparty/Makefile +++ b/cinelerra-5.1/thirdparty/Makefile @@ -257,7 +257,7 @@ openexr.mak_vars?=true; \# opus.cfg_params?= --disable-extra-programs speech_tools.mak_params?=-j1 tiff.cfg_vars+=LIBS+=" -lpthread"; autoreconf -ifv -I m4 && automake -caf; -tiff.cfg_params+= --disable-libdeflate --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\ +tiff.cfg_params+= --disable-libdeflate --disable-lerc --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\ --with-webp-include-dir=$(call pkg_incl,libwebp)\ --with-webp-lib-dir=$(call pkg_libs,libwebp))\ $(call if_npkg,libwebp,--disable-webp) -- 2.37.3
-- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr my PGP-key: https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc
On 220914-20:36+0300, Andrew Randrianasulu wrote:
attached two git diff files
first is fixing your compile error, second requires manually adding libtiff-4.4.0.tar.xz source tarball from libtiff's homepage into thirdparty/src
it compiles here on termux/aarch64 but might error out on different (especially older) systems ....
My system is not old, it's B550 based MBO with AMD Ryzen 7 PRO 4750G. I previously only edited the Makefile and it compiled, and I ran it. But now I did it the proper way: patch -p1 < 0001-Potentially-fix-libtiff-compilation.patch patch -p1 < 0002-upgrade-libtiff-to-4.4.0.patch and I placed manually this: cinelerra-5.1/thirdparty/src/tiff-4.4.0.tar.xz and ran my script. It compiled fine, and I expect it will work fine. I it will not work, I'll report back, or if I have other issues. Attached: cinelerra_make_220914_2214.xz I wish it didn't take me so long. Regards! -- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr my PGP-key: https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc
ср, 14 сент. 2022 г., 23:42 Miroslav Rovis <[email protected]>:
On 220914-20:36+0300, Andrew Randrianasulu wrote:
attached two git diff files
first is fixing your compile error, second requires manually adding libtiff-4.4.0.tar.xz source tarball from libtiff's homepage into thirdparty/src
it compiles here on termux/aarch64 but might error out on different (especially older) systems ....
My system is not old, it's B550 based MBO with AMD Ryzen 7 PRO 4750G.
sorry, I meant software components .... sometimes "cmake version in still supported distro just too old for new version of software component" really prevents us from just upgrading this component - guess we are a bit conservative here ...cutting edge when possible, known-working version otherwise ..or so we try!
I previously only edited the Makefile and it compiled, and I ran it.
But now I did it the proper way: patch -p1 < 0001-Potentially-fix-libtiff-compilation.patch patch -p1 < 0002-upgrade-libtiff-to-4.4.0.patch
and I placed manually this: cinelerra-5.1/thirdparty/src/tiff-4.4.0.tar.xz
and ran my script. It compiled fine, and I expect it will work fine.
I it will not work, I'll report back, or if I have other issues.
thanks a lot!
Attached: cinelerra_make_220914_2214.xz
I wish it didn't take me so long.
Regards!
-- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr my PGP-key: https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc
On 220914-15:13+0200, Miroslav Rovis wrote:
On 220914-14:51+0200, Miroslav Rovis wrote:
On 220914-15:08+0300, Andrew Randrianasulu wrote: [...]
guess we missed some dependency .. After libwebp-dev and webp installed, as well as libzstd-dev (zstd was already the latest), and now this: checking for shared library run path origin... /usr/bin/ld: cannot find -lwebp: No such file or directory /usr/bin/ld: cannot find -lzstd: No such file or directory collect2: error: ld returned 1 exit status make[5]: *** [src/bin/jp2/CMakeFiles/opj_decompress.dir/build.make:215: bin/opj_decompress] Error 1 make[5]: Leaving directory '/the-path/cinelerra/cinelerra-5.1/thirdparty/openjpeg-2.5.0' does not happen anymore.
However make still errors out in the same way, just 20-something lines later. Attached: cinelerra_make_220914_1556.xz I guess I need to hunt those other missing packages, such as (same as in the previous make log of mine): g++ `cat x86_64/c_flags` x86_64/lv2ui.o x86_64/pluginlv2.o x86_64/pluginlv2ui.o x86_64/pluginlv2config.o x86_64/forkbase.o -o x86_64/lv2ui Package lilv-0 was not found in the pkg-config search path. Perhaps you should add the directory containing `lilv-0.pc' to the PKG_CONFIG_PATH environment variable No package 'lilv-0' found Package lilv-0 was not found in the pkg-config search path. Perhaps you should add the directory containing `lilv-0.pc' to the PKG_CONFIG_PATH environment variable No package 'lilv-0' found Package suil-0 was not found in the pkg-config search path. Perhaps you should add the directory containing `suil-0.pc' to the PKG_CONFIG_PATH environment variable No package 'suil-0' found objcopy --only-keep-debug x86_64/lv2ui x86_64/lv2ui.debuginfo strip x86_64/lv2ui g++ -o x86_64/bdwrite x86_64/bdwrite.o Package lilv-0 was not found in the pkg-config search path. Perhaps you should add the directory containing `lilv-0.pc' to the PKG_CONFIG_PATH environment variable No package 'lilv-0' found Regards! -- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr my PGP-key: https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc
*Miroslav,* Just some minor commentary follows. (1) first about "disable-tiff" after next quote. (2) second below that about "usefullness"
And I do have now:
static openExr static openexr forced openjpeg
*> disabled tiff*
forced twolame forced x264 forced x265 static libvpx
in my cinelerra_configure--with-single-user--disable-tiff_220914_1448 . ... So I attach now: cinelerra_make_220914_1451.xz
which ends like this:
g++ -o /the-path/cinelerra/cinelerra-5.1/cinelerra/../bin/cin `cat x86_64/objs` /usr/bin/ld: warning: x86_64/theme_data.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /usr/bin/ld: x86_64/filetiff.o: in function `FileTIFF::write_frame(VFrame*, VFrame*, FrameWriterUnit*)': ... /usr/bin/ld: x86_64/filetiff.o: in function `FileTIFF::read_frame_header(char*)': /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:152: undefined reference to `TIFFOpen' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:159: undefined reference to `TIFFGetField' ... make[2]: *** [Makefile:536: /the-path/cinelerra/cinelerra-5.1/cinelerra/../bin/cin] Error 1 make[2]: Leaving directory '/the-path/cinelerra/cinelerra-5.1/cinelerra' make[1]: *** [Makefile:585: all-recursive] Error 1 make[1]: Leaving directory '/the-path/cinelerra/cinelerra-5.1' make: *** [Makefile:532: all] Error 2
Meaning, IMHO,* the --disable-tiff is not honored. That appears to me like another bug*, but I'm not an expert.
(1) Explanation why this is not a bug: The "disable" parameter is used solely to disable Cinelerra's thirdparty library build where this library exists in Cinelerra's thirdparty/src directory (in this case was 4.3.0) when building "single-user" mode. This gives the user control to use the system version library instead (which in your case is 4.4.0) and which was used and led to the errors probably still because of "lerc". Although this allows the user to use possibly a more updated system library version, it also just leads to errors when patches necessary for Cinelerra are then missed if needed. Not sure what happens when there is no system tiff library version because I did not want to deinstall it because of all the other software I have installed that needs it. thanks for letting us know our build system still not realworld proof .....
Thank you guys for the great libre program! *(And I'm happy to be useful.)*
(2) YES! The feedback you provide is very useful to us! If you just build from GIT every few months, it helps to find exactly this kind of problem that we miss.
On 220924-11:12-0600, Phyllis Smith wrote:
*Miroslav,* Just some minor commentary follows. Great! (1) first about "disable-tiff" after next quote. (2) second below that about "usefullness"
And I do have now:
static openExr static openexr forced openjpeg
*> disabled tiff*
forced twolame forced x264 forced x265 static libvpx
in my cinelerra_configure--with-single-user--disable-tiff_220914_1448 . ... So I attach now: cinelerra_make_220914_1451.xz
which ends like this:
g++ -o /the-path/cinelerra/cinelerra-5.1/cinelerra/../bin/cin `cat x86_64/objs` /usr/bin/ld: warning: x86_64/theme_data.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /usr/bin/ld: x86_64/filetiff.o: in function `FileTIFF::write_frame(VFrame*, VFrame*, FrameWriterUnit*)': ... /usr/bin/ld: x86_64/filetiff.o: in function `FileTIFF::read_frame_header(char*)': /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:152: undefined reference to `TIFFOpen' /usr/bin/ld: /the-path/cinelerra/cinelerra-5.1/cinelerra/filetiff.C:159: undefined reference to `TIFFGetField' ... make[2]: *** [Makefile:536: /the-path/cinelerra/cinelerra-5.1/cinelerra/../bin/cin] Error 1 make[2]: Leaving directory '/the-path/cinelerra/cinelerra-5.1/cinelerra' make[1]: *** [Makefile:585: all-recursive] Error 1 make[1]: Leaving directory '/the-path/cinelerra/cinelerra-5.1' make: *** [Makefile:532: all] Error 2
Meaning, IMHO,* the --disable-tiff is not honored. That appears to me like another bug*, but I'm not an expert.
(1) Explanation why this is not a bug: The "disable" parameter is used solely to disable Cinelerra's thirdparty library build where this library exists in Cinelerra's thirdparty/src directory (in this case was 4.3.0) when building "single-user" mode. This gives the user control to use the system version library instead (which in your case is 4.4.0) and which was used and led to the errors probably still because of "lerc". Although this allows the user to use possibly a more updated system library version, it also just leads to errors when patches necessary for Cinelerra are then missed if needed. Not sure what happens when there is no system tiff library version because I did not want to deinstall it because of all the other software I have installed that needs it. It looked to me (back then, I'm in other matters now) the bug was because the Cinelerra build system did not disable tiff, as it was supposed to.
But, as far as I go, I can only let this matter rest, I'm looking up this ML to prepare for other issues, actually one suggestion and maybe something more. But thanks for the insight.
thanks for letting us know our build system still not realworld proof .....
Thank you guys for the great libre program! *(And I'm happy to be useful.)*
(2) YES! The feedback you provide is very useful to us! If you just build from GIT every few months, it helps to find exactly this kind of problem that we miss.
Great! (and some more feedback is coming your way next) -- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr my PGP-key: https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc
participants (3)
-
Andrew Randrianasulu -
Miroslav Rovis -
Phyllis Smith