bug-apl
[Top][All Lists]
Advanced

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

Source directory with space in name causes configure failures


From: M.Hall
Subject: Source directory with space in name causes configure failures
Date: Thu, 2 May 2024 22:55:24 -0500

    Project:        GNU APL
    Version / SVN:  1.8 / SVN: 1775M
    Build Date:     2024-04-24 13:04:25 UTC
    Build OS:       Darwin 23.3.0 arm64
    config.status:  default ./configure options
    Archive SVN:    1775

When the source directory path has a space in it, the configure script fails many checks.

Example path:   /Volumes/Stuff/Language/APL 2/gnu-apl/trunk

Samples of failed tests in config.log:

configure:18691: checking for ncurses.h
configure:18691: g++ -c -g -O2 -I /Volumes/ARCHIVE/Language/APL 2/gnu-apl/trunk
 conftest.cpp >&5
clang: error: no such file or directory: '2/gnu-apl/trunk'

configure:18731: checking for fftw3.h
configure:18731: g++ -c -g -O2 -I /Volumes/ARCHIVE/Language/APL 2/gnu-apl/trunk  conftest.cpp >&5
clang: error: no such file or directory: '2/gnu-apl/trunk'

I tried quoting the include path in two places in the configure script, but that didn't help:

 $  diff configure-orig configure
5221c5221
<   am__isrc=' -I$(srcdir)'
---
>   am__isrc=' \"-I$(srcdir)\"'
18682c18682
< CXXFLAGS="$CXXFLAGS -I `pwd`"
---
> CXXFLAGS="$CXXFLAGS -I \"`pwd`\""

I also extracted from config.log a build command and test program from one of the failed tests,, and it built successfully ... so I don't know what 'configure' is really doing behind the scenes to cause those failures.

When I rename the directory to remove the space, then the configure script runs OK, and finds all the std headers and all the libs installed in /usr/local.

I'm just mentioning this. It's not a big deal. I know the moral is "Don't Do That.",  :-)
Thanks!
--
Mike Hall



reply via email to

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