#9 Errors in libtool with ubuntu 9.10

open
nobody
5
2009-11-17
2009-11-17
Robert Heel
No

Build afpfs-ng in ubuntu 9.10. After make I get many "command not found" errors

...
make[2]: Betrete Verzeichnis '/usr/src/afpfs-ng-0.8.1/lib'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -g -O2 -g -O2 -MT libafpclient_la-afp.lo -MD -MP -MF .deps/libafpclient_la-afp.Tpo -c -o libafpclient_la-afp.lo `test -f 'afp.c' || echo './'`afp.c
../libtool: line 813: X--tag=CC: command not found
../libtool: line 846: libtool: ignoring unknown tag : command not found
../libtool: line 813: X--mode=compile: command not found
../libtool: line 979: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 980: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1123: Xgcc: command not found
...

After replace all "$echo" to "echo" in the generated libtool file I was able to compile it.

But I couldn't connect to a share:
Login error: Authentication failed

Warning in /var/log/messages, too:
Nov 17 18:05:26 afpfsd: Starting up AFPFS version 0.8.1
Nov 17 18:05:43 afpfsd: Libgcrypt warning: missing initialization - please fix the application

Discussion