Re: gtags startup issue with pygments and python3 executable
Shigio YAMAGUCHI <[email protected]> Mon, 28 Jun 2021 21:59:57 +0900
| Newsgroups | gmane.comp.gnu.global.bugs |
|---|---|
| Message-ID | <CADJmJYpP00k1iUs4GeWira41nr7Y_v1OtyE8FznieJ6iDtpyrQ@mail.gmail.com> |
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 <[email protected]> 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 <[email protected]> PGP fingerprint: 26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB