kdevelop 使用一周HelloWorld 还是出不来……高手求解~

软件和网站开发以及相关技术探讨
回复
gufengyun
帖子: 1
注册时间: 2009-01-01 23:42

kdevelop 使用一周HelloWorld 还是出不来……高手求解~

#1

帖子 gufengyun » 2009-07-06 22:19

cd '/home/wj/wj/debug' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" LC_MESSAGES="C" LC_CTYPE="C" make -k
make all-recursive
Making all in src
linking wj (CC)
../libtool: line 818: X--tag=CC: command not found
../libtool: line 851: libtool: ignoring unknown tag : command not found
../libtool: line 818: X--mode=link: 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 2223: X-O0: command not found
../libtool: line 2223: X-g3: command not found
../libtool: line 2392: Xwj: command not found
X: user not authorized to run the X server, aborting.
../libtool: line 2404: Xwj: command not found
../libtool: line 2412: mkdir /.libs: No such file or directory
mkdir: cannot create directory `/.libs': Permission denied
make[2]: *** [wj] Error 1
make[2]: Target `all' not remade because of errors.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*** Exited with status: 2 ***
点击 build project 就出现这个问题。 高手 看看怎么回事阿? :em06
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: kdevelop 使用一周HelloWorld 还是出不来……高手求解~

#2

帖子 wangdu2002 » 2009-07-06 22:22

先把GNU编译工具链装全了,然后把源码贴出来,让坛子里的编程兄弟们看看。
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
zqymike
帖子: 3
注册时间: 2008-04-06 13:11

Re: kdevelop 使用一周HelloWorld 还是出不来……高手求解~

#3

帖子 zqymike » 2009-07-24 11:32

这个是libtool的问题,把他换成低版本就可以了,貌似是1.5.几的版本,
还有个方法,就是进入工程文件夹,如果是debug模式,就再进debug文件夹,打开里面的libtool文件,把所有的$echo替换成$ECHO,保存,重新编译就OK,如果CleanProject了,需要重新改,所以还是换个低版本的来得快点
回复