GNU bug report logs - #62896
[Configure] Bug with check for PERL when path has spaces (i.e. Windows)

Previous Next

Package: automake;

Reported by: Dan Rosser <danoli3 <at> gmail.com>

Date: Mon, 17 Apr 2023 06:54:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bogdan <bogdro_rep <at> gmx.us>
To: Karl Berry <karl <at> freefriends.org>
Cc: 62896 <at> debbugs.gnu.org, danoli3 <at> gmail.com
Subject: bug#62896: [Configure] Bug with check for PERL when path has spaces (i.e. Windows)
Date: Sun, 23 Apr 2023 13:25:38 +0200
[Message part 1 (text/plain, inline)]
Karl Berry <karl <at> freefriends.org>, Fri Apr 21 2023 23:57:12 GMT+0200 
(Central European Summer Time)
> Thanks for the report, Dan, and for looking into this, Bogdan.
> 
>              #!User bins/perl
> 
> Apart from anything else, this cannot be solved. Shebang lines do not
> support quoting.
> 
> Thus I think what we should do is have configure give a better error
> message when the Perl path contains whitespace, that is, explicitly
> stating it can't be supported.  Instead of just failing "by the way" due
> to the lack of quoting. Would you be up for making a patch for that?


 Sure, seems easy. Too bad I don't see where configure is checking 
for 'mkdir -p' and 'install -c', I could fix that as well.
 But anyway, patch for the Perl path attached. I thought about using 
'grep -q' and checking the exit code, but maybe this version is more 
portable.

-- 
Regards - Bogdan ('bogdro') D.                 (GNU/Linux & FreeDOS)
X86 assembly (DOS, GNU/Linux):    http://bogdro.evai.pl/index-en.php
Soft(EN): http://bogdro.evai.pl/soft  http://bogdro.evai.pl/soft4asm
www.Xiph.org  www.TorProject.org  www.LibreOffice.org  www.GnuPG.org
[automake-perl-path-spaces2-mail.diff (text/x-patch, attachment)]

This bug report was last modified 1 year and 222 days ago.

Previous Next


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