[Cin] Compile Cin from source, but make errors out
Andrew Randrianasulu
randrianasulu at gmail.com
Wed Sep 14 16:49:26 CEST 2022
ср, 14 сент. 2022 г., 17:41 Miroslav Rovis <miro.rovis at croatiafidelis.hr>:
> On 220914-17:19+0300, Andrew Randrianasulu wrote:
> > ср, 14 сент. 2022 г., 16:12 Miroslav Rovis <miro.rovis at croatiafidelis.hr
> >:
> >
> > > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220914/90192f86/attachment-0001.htm>
More information about the Cin
mailing list