'make check' fails if there is a space in the filename

Vincent Lefevre vincent at vinc17.net
Wed Nov 11 12:08:50 UTC 2015


On 2015-11-10 16:26:01 +0000, Christopher Jefferson wrote:
> If I build gmp 6.1.0 in a directory containing a space, then make
> check fails with:
> 
> /bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -pedantic
> -fomit-frame-pointer -m64 -mtune=haswell -march=haswell   -o t-bswap
> t-bswap.o libtests.la ../libgmp.la
> libtool:   error: cannot find the library 'stuff/gmp-6.1.0/libgmp.la'
> or unhandled argument 'stuff/gmp-6.1.0/libgmp.la'
> 
> Looking inside tests/libtests.la, I see:
> 
> dependency_libs=' stuff/gmp-6.1.0/libgmp.la /Users/caj/temp/my'
> 
> Somehow, the filename has got messed up here (the directory should be
> ../my stuff/gmp-6.1.0/...)

AFAIK, space in directory names is not supported by the autotools.
This is not specific to GMP.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


More information about the gmp-bugs mailing list