emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62896: closed ([Configure] Bug with check for PERL when path has spa


From: GNU bug Tracking System
Subject: bug#62896: closed ([Configure] Bug with check for PERL when path has spaces (i.e. Windows))
Date: Sun, 28 May 2023 01:13:02 +0000

Your message dated Sat, 27 May 2023 19:12:41 -0600
with message-id <202305280112.34S1Cf8V021826@freefriends.org>
and subject line Re: [bug#62896] [Configure] Bug with check for PERL when path 
has spaces (i.e. Windows)
has caused the debbugs.gnu.org bug report #62896,
regarding [Configure] Bug with check for PERL when path has spaces (i.e. 
Windows)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
62896: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62896
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [Configure] Bug with check for PERL when path has spaces (i.e. Windows) Date: Mon, 17 Apr 2023 13:57:30 +1000
VER=1.16.4

Building "automake"

checking whether make supports nested variables... no
checking build system type... x86_64-pc-mingw64
checking host system type... x86_64-pc-mingw64
checking for a BSD-compatible install... ./lib/install-sh -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /c/Program Files/Git/usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether ln -s works... no, using cp -pR
checking for perl... /c/Program Files/Git/usr/bin/perl
./configure: line 3475: /c/Program: No such file or directory
configure: error: perl 5.6 or better is required; perl 5.8.2 or better
is recommended.  If you have several perl versions
installed, select the one Automake should use using
  ./configure PERL=/path/to/perl

--- End Message ---
--- Begin Message --- Subject: Re: [bug#62896] [Configure] Bug with check for PERL when path has spaces (i.e. Windows) Date: Sat, 27 May 2023 19:12:41 -0600
I (finally) installed this patch to quit early if the perl path has
spaces. Thanks.

As for MKDIR_P and INSTALL, I guess it is somewhere in the
prerequisite/autoconf stuff. I suppose it would be rare that they would
be found in a path with spaces while perl was not, so I think it's ok to
let that go. --best, karl.

--- a/configure.ac
+++ b/configure.ac
@@ -71,6 +71,12 @@ AC_PATH_PROG([PERL], [perl])
 if test -z "$PERL"; then
    AC_MSG_ERROR([perl not found])
 fi
+if test x"`echo $PERL | grep ' '`" != "x"; then
+  AC_MSG_ERROR([The path to your Perl contains spaces.
+This would cause build failures later or unusable programs.
+Please use a path without spaces and try again.])
+fi
+
 # Save details about the selected perl interpreter in config.log.
 AM_RUN_LOG([$PERL --version])
 $PERL -e 'require 5.006;' || {


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]