GNU bug report logs - #74453
running make failed when perl is installed in the very long path

Previous Next

Package: automake;

Reported by: "Li, Changqing" <Changqing.Li <at> windriver.com>

Date: Thu, 21 Nov 2024 04:25:03 UTC

Severity: normal

Done: Karl Berry <karl <at> freefriends.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bruno Haible <bruno <at> clisp.org>
To: 74453 <at> debbugs.gnu.org, collin.funk1 <at> gmail.com
Cc: Changqing.Li <at> windriver.com
Subject: bug#74453: running make failed when perl is installed in the very long path
Date: Tue, 26 Nov 2024 10:43:19 +0100
Collin Funk cited me:
> As Bruno Haible said in a Gnulib thread [1]:
> 
> > "#!/usr/bin/env perl" does not work on GuixSD (where the only program
> > that has a hardcoded file name is /bin/sh; there is no /usr and no
> > /bin/env on this distro).
> 
> So I don't think it would work in this case.
> 
> Collin
> 
> [1] https://lists.gnu.org/archive/html/bug-gnulib/2019-06/msg00022.html

That was in 2019. Meanwhile, in GuixSD 1.4, both /bin/sh and /usr/bin/env
exist. So, writing

  #!/usr/bin/env perl

is now again the portable way to start a perl script.

Bruno







This bug report was last modified 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.