Step By Step

We Are Togethor
posts - 4, comments - 0, trackbacks - 0, articles - 0
  IT博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

Kdevelop初学总结

Posted on 2010-07-21 19:42 残剑 阅读(341) 评论(0)  编辑 收藏 引用 所属分类: Linux足迹
一、使用KDevelop的步骤:
1.新建一个simple hello world program工程
2.写代码
3.Build->Run Automake & friends
4.Build->Run Configure
5.Build->Compile File
6.Build->Build Project
7.Build->Execute Program
二、问题总结
时运行Build->Compile File时提示如下:
../libtool: line 818: X--tag=CC: command not found
../libtool: line 851: libtool: ignoring unknown tag : command not found
../libtool: line 818: X--mode=compile: command not found
../libtool: line 985: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 986: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1129: Xgcc: command not found
../libtool: line 1129: X-DHAVE_CONFIG_H: command not found
../libtool: line 1129: X-I.: command not found
../libtool: line 1129: X-I/home/belial/Hello/src: No such file or directory
../libtool: line 1129: X-I..: command not found
../libtool: line 1129: X-O0: command not found
../libtool: line 1129: X-g3: command not found
../libtool: line 1129: X-MT: command not found
../libtool: line 1129: Xhello.lo: command not found
../libtool: line 1129: X-MD: command not found
../libtool: line 1129: X-MP: command not found
../libtool: line 1129: X-MF: command not found
../libtool: line 1129: X.deps/hello.Tpo: No such file or directory
../libtool: line 1129: X-c: command not found
../libtool: line 1181: Xhello.lo: command not found
../libtool: line 1186: libtool: compile: cannot determine name of library object from `': command not found
make: *** [hello.lo] Error 1
*** 退出状态:2 ***

解决方法1:
原因:由于新版的libtool的bug引起,在新利得管理中uninstall libtool2.5.*再下载libtool_1.5.26安装就可以了。
下载地下:http://ftp.sjtu.edu.cn/ubuntu/pool/main/libt/libtool/libtool_1.5.26-1ubuntu1_i386.deb
解决方法2:
在debug目录下找到libtool,把里面的$echo全部替换为$ECHO
只有注册用户登录后才能发表评论。