Le 08/11/2021 à 21:57, Pavel Sanda a écrit :
On Mon, Nov 08, 2021 at 11:03:25AM +0100, Jean-Pierre Chrétien wrote:
On 2.3.x, I first checked the fr.po file status and when I ran the make
lyx-2.3.7dev.pot-update in the po dir of the build directory, I got in the
following error:

/bin/sh: 1: /usr/bin/python: not found
make: *** [Makefile:774 : qt4_l10n.pot] Erreur 127

So I created a link:

sudo ln -s /usr/bin/python3 /usr/bin/python

and the problem was solved.

This is actually not correct way how to solve this under bullseye.
"python" is gone for good and scripts should use either python2
or python3 binary.

I was quite aware that my workaround was not the correct solution.

However, as

make lyx-2.3.7dev.pot-update

fails because of missing python

while

make lyx-2.4.0dev.pot-update

succeeds, is it possible to cherry-pick the python management from master ?

If you insist on using "python" you should install specific package (IIRC 
"python") via:
apt install python

It is not me who insists, it is lyx-2.3.7dev :-)

--
Jean-Pierre

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to