Patch for configure.ac for checking Python/python3
It may not apply clearly (currently on top of my -Wno-overloaded/autoconf-archive patch) but it should be easy enough to patch manually our configure ac, re-ran ./autogen.shand see if it now correctly complains about lack of python if you remove it for a moment or ran on fresh OS install without python3 yet? This does not fix check in guicast/Makefile for now, just hopefully warn user about potential troubles ahead if no python/python3 installed yet. Put if check works as intended I hopefully can plumb it to guicast/Makefile. Sorry for asking for such minor detail, but apparently I can't uninstall python in Termux, and my desktop is currently not powered yet. {having a bit of toothache in last few days, not great for concentration }
On 2/17/26 1:30 PM, Andrew Randrianasulu wrote:
It may not apply clearly (currently on top of my -Wno-overloaded/autoconf-archive patch) but it should be easy enough to patch manually our configure ac, re-ran ./autogen.shand see if it now correctly complains about lack of python if you remove it for a moment or ran on fresh OS install without python3 yet?
This does not fix check in guicast/Makefile for now, just hopefully warn user about potential troubles ahead if no python/python3 installed yet.
Put if check works as intended I hopefully can plumb it to guicast/Makefile.
Sorry for asking for such minor detail, but apparently I can't uninstall python in Termux, and my desktop is currently not powered yet. {having a bit of toothache in last few days, not great for concentration }
If I anyhow have to rebuild my unbundled Cingg, I can also give it a try, but need all steps listed detailed ....... As known I have the symlink enabled ln -s /usr/bin/python3 /usr/bin/python
вт, 17 февр. 2026 г., 20:07 Terje J. Hanssen <[email protected]>:
On 2/17/26 1:30 PM, Andrew Randrianasulu wrote:
It may not apply clearly (currently on top of my -Wno-overloaded/autoconf-archive patch) but it should be easy enough to patch manually our configure ac, re-ran ./autogen.shand see if it now correctly complains about lack of python if you remove it for a moment or ran on fresh OS install without python3 yet?
This does not fix check in guicast/Makefile for now, just hopefully warn user about potential troubles ahead if no python/python3 installed yet.
Put if check works as intended I hopefully can plumb it to guicast/Makefile.
Sorry for asking for such minor detail, but apparently I can't uninstall python in Termux, and my desktop is currently not powered yet. {having a bit of toothache in last few days, not great for concentration }
If I anyhow have to rebuild my unbundled Cingg, I can also give it a try, but need all steps listed detailed .......
Open configure.ac with your favourite text editor. Look for lines AC_MSG_ERROR([Please install libtool]) fi Insert AC_CHECK_PROGS(PYTHON,[python3 python],[python]) if test x"$PYTHON" == x"no" ; then AC_MSG_ERROR([Please install python/python3]) fi block right after that. Save file. Run ./autogen.sh run ./configure with your switches There should be new line 'Checking for python3 ... python3' on terminal and in config.log (use search function with keyword "python"). If you do this on fresh (virtual machine? ) install without any python it should error out. It does not test (yet) for all those pythonX.Y variations because I am not sure if error condition fires correctly.
As known I have the symlink enabled ln -s /usr/bin/python3 /usr/bin/python
It may not apply clearly (currently on top of my -Wno-overloaded/autoconf-archive patch) but it should be easy enough to patch manually our configure ac,
Do not worry about patch applying cleanly as I always check it by hand too
re-ran ./autogen.shand see if it now correctly complains about lack of python if you remove it for a moment or ran on fresh OS install without python3 yet?
The good news is that it does not cause any problem for my regular laptop Fedora OR ubuntu 16 (runs python 2.7.12) OR debian 9.1 32 bit (runs python 2.7.13). The bad news is that it does not seem to work when I remove python from /usr/bin (actually I renamed python, python3 and python3.13 - so all of them/links) on another random system running Fedora 42. First, I verified really gone by typing "python --version" and I get "command not found". I do not see the "Please install python" in the log but see: checking for libtool... $(SHELL) $(top_builddir)/libtool checking for python3... no checking for python... no checking for gtk_init in -lm... yes ...cd openjpeg* && echo 'cmake "$@" "."' > ./configure; chmod +x ./configure; ./configure -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_CODEC:BOOL=OFF patch -d mjpegtools* -p1 < src/mjpegtools-2.2.1.patch8 make[3]: Entering directory '/tmp/cinelerra-5.1/thirdparty/dav1d-0.5.1' env: ‘python’: No such file or directory ... CONFIGURING libjpeg echo >> build/config.h "#define ARCH_ARM 0" env: chmod 755 choose ‘python’: No such file or directory In the end the build "errors out".
This does not fix check in guicast/Makefile for now, just hopefully warn user about potential troubles ahead if no python/python3 installed yet.
Put if check works as intended I hopefully can plumb it to guicast/Makefile.
Sorry for asking for such minor detail, but apparently I can't uninstall python in Termux, and my desktop is currently
No problem asking for such minor detail -- that is best to do.
not powered yet. {having a bit of toothache in last few days, not great for concentration }
Hope the toothache gets better soon.
ср, 18 февр. 2026 г., 05:19 Phyllis Smith <[email protected]>:
It may not apply clearly (currently on top of my
-Wno-overloaded/autoconf-archive patch) but it should be easy enough to patch manually our configure ac,
Do not worry about patch applying cleanly as I always check it by hand too
re-ran ./autogen.shand see if it now correctly complains about lack of python if you remove it for a moment or ran on fresh OS install without python3 yet?
The good news is that it does not cause any problem for my regular laptop Fedora OR ubuntu 16 (runs python 2.7.12) OR debian 9.1 32 bit (runs python 2.7.13). The bad news is that it does not seem to work when I remove python from /usr/bin (actually I renamed python, python3 and python3.13 - so all of them/links) on another random system running Fedora 42. First, I verified really gone by typing "python --version" and I get "command not found". I do not see the "Please install python" in the log but see:
Thanks, so this one surely need more work on my side
checking for libtool... $(SHELL) $(top_builddir)/libtool checking for python3... no checking for python... no checking for gtk_init in -lm... yes ...cd openjpeg* && echo 'cmake "$@" "."' > ./configure; chmod +x ./configure; ./configure -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_CODEC:BOOL=OFF patch -d mjpegtools* -p1 < src/mjpegtools-2.2.1.patch8 make[3]: Entering directory '/tmp/cinelerra-5.1/thirdparty/dav1d-0.5.1' env: ‘python’: No such file or directory ... CONFIGURING libjpeg echo >> build/config.h "#define ARCH_ARM 0" env: chmod 755 choose ‘python’: No such file or directory
In the end the build "errors out".
This does not fix check in guicast/Makefile for now, just hopefully warn user about potential troubles ahead if no python/python3 installed yet.
Put if check works as intended I hopefully can plumb it to guicast/Makefile.
Sorry for asking for such minor detail, but apparently I can't uninstall python in Termux, and my desktop is currently
No problem asking for such minor detail -- that is best to do.
not powered yet. {having a bit of toothache in last few days, not great for concentration }
Hope the toothache gets better soon.
What about attached patch on top of previous? I think it checks for python correctly, and also makeinfo check works now (tested by renaming it in $PREFIX/bin) ср, 18 февр. 2026 г., 10:52 Andrew Randrianasulu <[email protected]>:
ср, 18 февр. 2026 г., 05:19 Phyllis Smith <[email protected]>:
It may not apply clearly (currently on top of my
-Wno-overloaded/autoconf-archive patch) but it should be easy enough to patch manually our configure ac,
Do not worry about patch applying cleanly as I always check it by hand too
re-ran ./autogen.shand see if it now correctly complains about lack of python if you remove it for a moment or ran on fresh OS install without python3 yet?
The good news is that it does not cause any problem for my regular laptop Fedora OR ubuntu 16 (runs python 2.7.12) OR debian 9.1 32 bit (runs python 2.7.13). The bad news is that it does not seem to work when I remove python from /usr/bin (actually I renamed python, python3 and python3.13 - so all of them/links) on another random system running Fedora 42. First, I verified really gone by typing "python --version" and I get "command not found". I do not see the "Please install python" in the log but see:
Thanks, so this one surely need more work on my side
checking for libtool... $(SHELL) $(top_builddir)/libtool checking for python3... no checking for python... no checking for gtk_init in -lm... yes ...cd openjpeg* && echo 'cmake "$@" "."' > ./configure; chmod +x ./configure; ./configure -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_CODEC:BOOL=OFF patch -d mjpegtools* -p1 < src/mjpegtools-2.2.1.patch8 make[3]: Entering directory '/tmp/cinelerra-5.1/thirdparty/dav1d-0.5.1' env: ‘python’: No such file or directory ... CONFIGURING libjpeg echo >> build/config.h "#define ARCH_ARM 0" env: chmod 755 choose ‘python’: No such file or directory
In the end the build "errors out".
This does not fix check in guicast/Makefile for now, just hopefully warn user about potential troubles ahead if no python/python3 installed yet.
Put if check works as intended I hopefully can plumb it to guicast/Makefile.
Sorry for asking for such minor detail, but apparently I can't uninstall python in Termux, and my desktop is currently
No problem asking for such minor detail -- that is best to do.
not powered yet. {having a bit of toothache in last few days, not great for concentration }
Hope the toothache gets better soon.
What about attached patch on top of previous?
Yes, this works as shown here next:
...
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate checking for makeinfo... yes checking for gettext... gettext checking for libtool... $(SHELL) $(top_builddir)/libtool checking for python3... no checking for python... no configure: error: Please install python/python3 make: *** No targets specified and no makefile found. Stop.
and also makeinfo check works now (tested by renaming it in $PREFIX/bin)
Checking into GIT along with removing "include cstdint" from libzmpeg3.h.
participants (3)
-
Andrew Randrianasulu -
Phyllis Smith -
Terje J. Hanssen