https://issues.apache.org/bugzilla/show_bug.cgi?id=44670
Summary: Apache httpd 2.2.8 : Cannot ./configure when current
directory path has a space
Product: Apache httpd-2
Version: 2.3-HEAD
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P3
Component: Build
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Created an attachment (id=21710)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=21710)
The configure file which will not run.
Ubuntu 7.10
httpd 2.2.8
Configure Output:
(from full path /home/matthew/Desktop/httpd install/httpd-2.2.8/)
>./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
/bin/bash: /home/matthew/Desktop/httpd: No such file or directory
configure failed for srclib/apr
Issue:
If there is a path in the full directory path then the configure file will fail
to complete because of said space.
Steps to Reproduce:
1) Create a directory that includes a space.
2) Download the latest apache httpd tar into this directory (2.2.8 downloaded
from http://mirror.public-internet.co.uk/ftp/apache/httpd/httpd-2.2.8.tar.gz
and signature verified)
3) Untar
4) Enter the directory created by the untarring using the command line
5) Run the ./configure command
Observe the error
6) Change the full path so that the space is replaced with an underscore
7) Run the ./configure command again
Observe that ./configure completes
Initial Investigation:
The error is clearly encountered with the configuration of srclib/apr. This
section starts at line 3440 in the configuration file (found by searching for
"configuring package in srclib/apr now"). The erroneous command appears to be:
if eval $SHELL $ac_abs_srcdir/configure $apr_configure_args
--cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir $apache_apr_flags
--prefix=$prefix --exec-prefix=$exec_prefix --libdir=$libdir
--includedir=$includedir --bindir=$bindir --datadir=$datadir
--with-installbuilddir=$installbuilddir
Using echos I have established that this is the problem command. However,
quoting the two instances of $ac_abs_srcdir (or even all items that could
possibly be paths) does not allow the configure file to proceed. I am no
configure wizard, so this initial assessment may be rubbish.
Workaround:
Don't use a path with a space. Ultimately, it may be that the entire
configuration file relies upon this, making it impractical to fix this issue.
In that case, it may be helpful to add a note to the INSTALL file.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]