libtool生成的脚本中一行
ECHO="echo"
导致脚本引用小写echo的时候错误,不知为何导致这种问题,
终于查到解决办法:
I think I have a workaround to fix this problem:
First I've copied the directory "/usr/share/apps/kdevappwizard/" to "$HOME/.kde/share/apps/". Next I've extract the archive "$HOME/.kde/share/apps/kdevappwizard/template-common/incadmin.tar.gz" and I've replaced the old file "ltmain.sh" with the new one from "/usr/share/libtool/config/ltmain.sh".
Then I've packed them again to a new file named "incadmin.tar.gz" and
replaced the old archive with the new one. Now the script ltmain.sh
creates a current libtool while compilation and my source code compiles
without any error.
I have attached my new archive "incadmin.tar.gz" with the new file "ltmain.sh" included. Hope this will help.、
版本:可能换低版本也可以解决,问题版本是:
qian@qian:~/work/sdf/debug/src$ libtool --version
ltmain.sh (GNU libtool) 2.2.6
Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
低