Hi all,

I get some dreadful looking output when running make after having run
both buildconf and configure. This does not happen when not running
buildconf, and directly running the distributed configure script.

$ ./buildconf
$ ./configure
$ make
Making all in src
make[1]: Entering directory `/home/yang/libssh2-1.2.1/src'
make  all-am
make[2]: Entering directory `/home/yang/libssh2-1.2.1/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src   -DLIBSSH2_WIN32 -MT channel.lo -MD -MP -MF
".deps/channel.Tpo" -c -o channel.lo channel.c; \
  then mv -f ".deps/channel.Tpo" ".deps/channel.Plo"; else rm -f
".deps/channel.Tpo"; exit 1; fi
../libtool: line 846: X--tag=CC: command not found
../libtool: line 879: libtool: ignoring unknown tag : command not found
../libtool: line 846: X--mode=compile: command not found
../libtool: line 1013: *** Warning: inferring the mode of operation is
deprecated.: command not found
../libtool: line 1014: *** Future versions of Libtool will require
--mode=MODE be specified.: command not found
../libtool: line 1157: Xgcc: command not found
../libtool: line 1157: X-DHAVE_CONFIG_H: command not found
../libtool: line 1157: X-I../include: No such file or directory
../libtool: line 1157: X-I../src: No such file or directory
../libtool: line 1157: X-DLIBSSH2_WIN32: command not found
../libtool: line 1157: X-MT: command not found
../libtool: line 1157: Xchannel.lo: command not found
../libtool: line 1157: X-MD: command not found
../libtool: line 1157: X-MP: command not found
../libtool: line 1157: X-MF: command not found
../libtool: line 1157: X.deps/channel.Tpo: No such file or directory
../libtool: line 1157: X-c: command not found
../libtool: line 1210: Xchannel.lo: command not found
../libtool: line 1215: libtool: compile: cannot determine name of
library object from `': command not found
make[2]: *** [channel.lo] Error 1
make[2]: Leaving directory `/home/yang/libssh2-1.2.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/yang/libssh2-1.2.1/src'
make: *** [all-recursive] Error 1

On the other hand, if I remove the following 5 files before running
buildconf everything goes smoothly:

m4/libtool.m4
m4/ltoptions.m4
m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4

For me the fix would be to remove the above 5 files from the version
control system repository and modify some file to ensure these don't
get committed again, or simply make buildconf remove them before
calling libtoolize.

System is cygwin and libtool 1.5.27a but most probably this issue will
be triggered on any other system with libtool 1.5.X installed.

-- 
-=[Yang]=-
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to