[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gtags startup issue with pygments and python3 executable
From: |
Shigio YAMAGUCHI |
Subject: |
Re: gtags startup issue with pygments and python3 executable |
Date: |
Mon, 28 Jun 2021 21:59:57 +0900 |
Hello,
I changed '@PYTHON@' to '/usr/bin/env python' in the past.
But after reviewing past logs, it was found that the change is incorrect.
I will recover '@PYTHON@' as you said. Thank you for the report.
Regards,
Shigio
On Mon, Jun 28, 2021 at 9:04 PM Ingmar Sittl
<ingmar.sittl@elektrobit.com> wrote:
>
> Hi,
>
> some GNU/Linux distros have moved away from providing a plain "python" link
> since moving to python3. The configure script correctly finds that "python3"
> is
> the working python executable, but at least pygments_parser.py doesn't take
> that
> into account, which leads to an error when starting a pygments-enabled gtags.
>
> Using @PYTHON@ instead of plain "python" in the shebang seems to fix this, at
> least gtags runs without producing further errors.
>
> Regards,
> Ingmar Sittl
>
>
--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint:
26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB