[Cin] Compile Cin from source, but make errors out

Andrew Randrianasulu randrianasulu at gmail.com
Wed Sep 14 19:36:48 CEST 2022


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 <miro.rovis at croatiafidelis.hr>:

> On 220914-17:49+0300, Andrew Randrianasulu wrote:
> > ср, 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 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220914/70af1aaa/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-upgrade-libtiff-to-4.4.0.patch
Type: text/x-diff
Size: 702 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220914/70af1aaa/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Potentially-fix-libtiff-compilation.patch
Type: text/x-diff
Size: 1071 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220914/70af1aaa/attachment-0003.bin>


More information about the Cin mailing list