ср, 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