elva

libtool的“command not found”问题

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.

posted on 2009-05-16 17:53 叶子 阅读(3866) 评论(1)  编辑 收藏 引用 所属分类: C\C++

Feedback

# re: libtool的“command not found”问题 2009-05-16 18:02 叶子

引用链接:
https://bugs.launchpad.net/ubuntu/+source/libtool/+bug/285841  回复  更多评论   


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理