感谢支持
我们一直在努力

Ubuntu下Kdevelop的汉化及使用步骤总结

Ubuntu下使用Kdevelop确实挺方便,今天终于把它汉化成功,虽然不是非常完美,但已经恨不错了。


1、下载KDevelop汉化文件,解压得到kdevelop.po
2、sudo aptitude install gettext(如果第三步可以执行就不用装了,已经装上了)
3、运行msgfmt kdevelop.po -o kdevelop.mo
4、sudo cp kdevelop.mo /usr/share/locale-langpack/zh_CN/LC_MESSAGES/
5、运行kdevelop,搞定,汉化了80%左右,不过已经很不错了。


一、使用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安装就可以了。

下载libtool_1.5.26-1ubuntu1_i386.deb,解压得到libtool_1.5.26-1Ubuntu1_i386.deb


解决方法2:
在debug目录下找到libtool,把里面的$echo全部替换为$ECHO

赞(0) 打赏
转载请注明出处:服务器评测 » Ubuntu下Kdevelop的汉化及使用步骤总结
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏