Hello all,
I encountered some difficulties today when trying to compile automake 1.16.1 from the sources : automake wouldn't compile if the parent directory was named automake.
If this is not a bug but a feature, a simple warning message would be nice to prevent some other people from losing their mind link i did !
To reproduce the issue (one colleague of mine reproduced it):
# Code to reproduce the issue
tar -xzf automake-1.16.1.tar.gz
cp -r automake-1.16.1 automake
#This line will fail
cd automake && ./configure && make -j4
#This line will succeed
cd automake-1.16.1 && ./configure && make -j4
Error output :
[17:18:00] address@hidden ~/dev/automake > make -j4
GEN t/
testsuite-part.am GEN m4/amversion.m4
CDPATH="${ZSH_VERSION+.}:" && cd . && "/home/charles/dev/automake/pre-inst-env" aclocal-1.16
/home/charles/dev/automake/pre-inst-env: line 41: exec: aclocal-1.16: not found
make: *** [aclocal.m4] Error 127
make: *** Waiting for unfinished jobs....
Success output :
[17:18:19] address@hidden ~/dev/automake-1.16.1 > make -j4
GEN bin/automake
GEN bin/aclocal
GEN t/ax/shell-no-trail-bslash
GEN t/ax/cc-no-c-o
GEN runtest
GEN doc/aclocal.1
GEN doc/automake.1
GEN lib/Automake/Config.pm
GEN t/ax/test-defs.sh
GEN bin/aclocal-1.16
GEN bin/automake-1.16
GEN doc/aclocal-1.16.1
GEN doc/automake-1.16.1
Thanks and good luck,
Charles