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 .......
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