ср, 3 дек. 2025 г., 15:55 Andrew Randrianasulu <[email protected]>:

>
>
> ср, 3 дек. 2025 г., 13:16 Rob Prowel <[email protected]>:
>
>> On 12/3/25 4:07 AM, Andrew Randrianasulu wrote:
>> >     truncates the function and causes a compilation failure.  It should
>> be
>> >     moved to line 251.
>> >
>> >
>> > Ah, thanks. Will fix and send fix to mail list.
>> >
>> >
>> >
>> > there should be ./autogen.sh for this ...
>> >
>> >
>> I manually edited the file before sending last email, so if patch is
>> valid then push it to git, but I still don't have a working build.
>> additional issues are
>>
>> 1) libdxp is extremely obscure and I'm using system libraries so I
>> manually installed it in /usr/local.  However the cinelerra build system
>> is having trouble with it when linked as a system lib.  the class
>> inheritance breaks at linking because it cannot find the InStream base
>> class.  I've since removed it from the build with --without-libdpx
>>
>
>
> Hopefully ffmpeg/libavcodec still can be used to read dpx files ...
>
> Sorry, I am not really programmer so I doubt I can fix this (I may try at
> some point).
>
>
>> 2) Im on plugins now and cuda doesn't seems to be well supported.  It
>> still refers to unsupported compute levels, and there are missing
>> includes required to build the cuda plugins.  I doubt anyone is using it
>> so I'd suggest removal of cuda options until it is better debugged.
>>
>
>
> Well, it was working with specific version of CUDA, hopefully someone can
> recall exact version.
>
> I prefer NOT to disable/remove things because putting them back together
> is also error-prone work.
>
>
>> ---
>>
>> OK so I can build but "make install" fails now with
>>
>>
>>
>> test ! -f db/utils/new_db || cp -a db/utils/new_db "bin/cin_db"
>> cd bin; /6TB/storage/programming/cingg/cinelerra-5.1/inst.sh
>> "/sharebin/cingg2511/bin" \
>>          zmpeg3{cc2txt,ifochk}
>> cd bin; /6TB/storage/programming/cingg/cinelerra-5.1/inst.sh
>> "/sharebin/cingg2511/lib/cin" \
>>          hveg2enc mpeg2enc mplex mplexlo
>> *** Error - inst.sh mpeg2enc in /sharebin/cingg2511/lib/cin failed.
>> make: *** [Makefile:1081: zmp_install] Error 1
>>
>
>
> Sounds like "make install" having trouble installing into custom prefix ?
>
> Do you have mjpegtools-dev installed? I think whole internal mpeg encoder
> depend on it ....
>
> You can look at scripts in blds/ directory, they disable some things.  I
> think DVB input depend on internal mpeg2 engine too, so if you disable that
> (for some reason ) then you probably want to disable some of v4l2 inputs.
> Sorry, not all of it is automated, a lot of options accumulated over time
> (and more to come, with Vulkan/HDR support) but usually build without
> thirdparty works because I build on *BSD VMs like that ...
>

Ah, checked on Termux (where I build without thirdparty, there is no system
mjpegtools but libzmpeg still builds) and I think I made patch that should
at least fix install part of the problem by taking different Makefile
target if thirdparty build was not done (so no mjpegtools get build there
and no mpeg2enc/mplex get build and installed in bin consequently)

Runtime still might have problem if you attempt to use MPEG video (m2v)
encoding setting, I wonder if making symlinks to where cingg install other
progs might be needed?

But for now can you test (apply with "git am", remove by using " git reset
--hard prev_commit") attached patch for your scenario ?







>> rprowel@files:~/programming/cingg/cinelerra-5.1$ ll /usr/bin/mpeg2enc
>> -rwxr-xr-x 1 root root 49744 Oct 29  2024 /usr/bin/mpeg2enc
>>
>>
>> I suppose this would be less of a problem if it were at the end of the
>> installation procedure but considering the plugins aren't installed at
>> that point, it is broken.
>>
>>
From 3f26436694f8fbb8ccc5fed7029a6a62cc46135d Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Wed, 3 Dec 2025 17:11:03 +0300
Subject: [PATCH] Attempt at fixing prefix system install with libzmpeg but
 without 3rdparty

---
 cinelerra-5.1/Makefile.am  | 11 +++++++++++
 cinelerra-5.1/configure.ac |  6 +++++-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/cinelerra-5.1/Makefile.am b/cinelerra-5.1/Makefile.am
index 32fc45c2..3a4b8100 100644
--- a/cinelerra-5.1/Makefile.am
+++ b/cinelerra-5.1/Makefile.am
@@ -87,6 +87,17 @@ zmp_install:
 zmp_uninstall:
 	rm -f "$(DESTDIR)$(bindir)"/zmpeg3{cc2txt,ifochk}
 
+# with-libzmpeg3 without thirdparty
+zmp_install_nothird:
+	cd bin; $(inst_sh) "$(DESTDIR)$(bindir)" \
+		zmpeg3{cc2txt,ifochk}
+	cd bin; $(inst_sh) "$(DESTDIR)$(WANT_CINLIB_DIR)" \
+		hveg2enc mplexlo
+
+zmp_uninstall_nothird:
+	rm -f "$(DESTDIR)$(bindir)"/zmpeg3{cc2txt,ifochk}
+
+
 # with-commercial
 com_install:
 	cd bin; $(inst_sh) "$(DESTDIR)$(bindir)" cin_db
diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac
index 2422e74d..ac01c01a 100644
--- a/cinelerra-5.1/configure.ac
+++ b/cinelerra-5.1/configure.ac
@@ -152,10 +152,14 @@ fi
 
 CIN_INSTALLS=""
 CIN_UNINSTALLS=""
-if test "x$WANT_LIBZMPEG" = "xyes"; then
+if test "x$WANT_LIBZMPEG" = "xyes" -a "x$WANT_CIN_3RDPARTY" = "xyes"; then
   CIN_INSTALLS+=" zmp_install"
   CIN_UNINSTALLS+=" zmp_uninstall"
 fi
+if test "x$WANT_LIBZMPEG" = "xyes" -a "x$WANT_CIN_3RDPARTY" = "xno"; then
+  CIN_INSTALLS+=" zmp_install_nothird"
+  CIN_UNINSTALLS+=" zmp_uninstall_nothird"
+fi
 if test "x$WANT_COMMERCIAL" = "xyes"; then
   CIN_INSTALLS+=" com_install"
   CIN_UNINSTALLS+=" com_uninstall"
-- 
2.51.1

_______________________________________________
Cin mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to