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.
低