郁闷了,kdevelop连个helloworld都无法编译成功
-
- 帖子: 10
- 注册时间: 2007-09-08 16:21
郁闷了,kdevelop连个helloworld都无法编译成功
run configure没有问题。
compiler file时出现:
cd '/home/seaboat/Desktop/hello/debug/src' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" LC_MESSAGES="C" LC_CTYPE="C" make -k hello.lo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/home/seaboat/Desktop/hello/src -I.. -O0 -g3 -MT hello.lo -MD -MP -MF .deps/hello.Tpo -c -o hello.lo /home/seaboat/Desktop/hello/src/hello.cpp
../libtool: line 832: X--tag=CXX: command not found
../libtool: line 865: libtool: ignoring unknown tag : command not found
../libtool: line 832: X--mode=compile: command not found
../libtool: line 999: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1000: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1143: Xg++: command not found
../libtool: line 1143: X-DHAVE_CONFIG_H: command not found
../libtool: line 1143: X-I.: command not found
../libtool: line 1143: X-I/home/seaboat/Desktop/hello/src: No such file or directory
../libtool: line 1143: X-I..: command not found
../libtool: line 1143: X-O0: command not found
../libtool: line 1143: X-g3: command not found
../libtool: line 1143: X-MT: command not found
../libtool: line 1143: Xhello.lo: command not found
../libtool: line 1143: X-MD: command not found
../libtool: line 1143: X-MP: command not found
../libtool: line 1143: X-MF: command not found
../libtool: line 1143: X.deps/hello.Tpo: No such file or directory
../libtool: line 1143: X-c: command not found
../libtool: line 1195: Xhello.lo: command not found
../libtool: line 1200: libtool: compile: cannot determine name of library object from `': command not found
make: *** [hello.lo] Error 1
*** Exited with status: 2 ***
有很多command not found
我是安装了libtool这个东东的, apt-get install X的时候,提示找不到package
选择build project后,出现:
cd '/home/seaboat/Desktop/hello/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
/bin/bash ../libtool --tag=CXX --mode=link g++ -O0 -g3 -o hello hello.o
../libtool: line 832: X--tag=CXX: command not found
../libtool: line 865: libtool: ignoring unknown tag : command not found
../libtool: line 832: X--mode=link: command not found
../libtool: line 999: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1000: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
gcc: no input files
gcc: no input files
gcc: no input files
gcc: no input files
../libtool: line 2237: X-O0: command not found
../libtool: line 2237: X-g3: command not found
../libtool: line 2406: Xhello: command not found
X: user not authorized to run the X server, aborting.
../libtool: line 2418: Xhello: command not found
../libtool: line 2426: mkdir /.libs: No such file or directory
mkdir: cannot create directory `/.libs': Permission denied
make[2]: *** [hello] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Nothing to be done for `all-am'.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*** Exited with status: 2 ***
mkdir 无法创建文件夹? 权限?
完全搞不懂了。
望高手赐教!
compiler file时出现:
cd '/home/seaboat/Desktop/hello/debug/src' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" LC_MESSAGES="C" LC_CTYPE="C" make -k hello.lo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/home/seaboat/Desktop/hello/src -I.. -O0 -g3 -MT hello.lo -MD -MP -MF .deps/hello.Tpo -c -o hello.lo /home/seaboat/Desktop/hello/src/hello.cpp
../libtool: line 832: X--tag=CXX: command not found
../libtool: line 865: libtool: ignoring unknown tag : command not found
../libtool: line 832: X--mode=compile: command not found
../libtool: line 999: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1000: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1143: Xg++: command not found
../libtool: line 1143: X-DHAVE_CONFIG_H: command not found
../libtool: line 1143: X-I.: command not found
../libtool: line 1143: X-I/home/seaboat/Desktop/hello/src: No such file or directory
../libtool: line 1143: X-I..: command not found
../libtool: line 1143: X-O0: command not found
../libtool: line 1143: X-g3: command not found
../libtool: line 1143: X-MT: command not found
../libtool: line 1143: Xhello.lo: command not found
../libtool: line 1143: X-MD: command not found
../libtool: line 1143: X-MP: command not found
../libtool: line 1143: X-MF: command not found
../libtool: line 1143: X.deps/hello.Tpo: No such file or directory
../libtool: line 1143: X-c: command not found
../libtool: line 1195: Xhello.lo: command not found
../libtool: line 1200: libtool: compile: cannot determine name of library object from `': command not found
make: *** [hello.lo] Error 1
*** Exited with status: 2 ***
有很多command not found
我是安装了libtool这个东东的, apt-get install X的时候,提示找不到package
选择build project后,出现:
cd '/home/seaboat/Desktop/hello/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
/bin/bash ../libtool --tag=CXX --mode=link g++ -O0 -g3 -o hello hello.o
../libtool: line 832: X--tag=CXX: command not found
../libtool: line 865: libtool: ignoring unknown tag : command not found
../libtool: line 832: X--mode=link: command not found
../libtool: line 999: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1000: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
gcc: no input files
gcc: no input files
gcc: no input files
gcc: no input files
../libtool: line 2237: X-O0: command not found
../libtool: line 2237: X-g3: command not found
../libtool: line 2406: Xhello: command not found
X: user not authorized to run the X server, aborting.
../libtool: line 2418: Xhello: command not found
../libtool: line 2426: mkdir /.libs: No such file or directory
mkdir: cannot create directory `/.libs': Permission denied
make[2]: *** [hello] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Nothing to be done for `all-am'.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*** Exited with status: 2 ***
mkdir 无法创建文件夹? 权限?
完全搞不懂了。
望高手赐教!
-
- 帖子: 2
- 注册时间: 2008-12-25 17:55
Re: 郁闷了,kdevelop连个helloworld都无法编译成功
手动将工程目录下的/debug/libtool文件中的全部$echo替换为 $ECHO,工程可以编译成功
-
- 帖子: 5
- 注册时间: 2009-01-12 17:15
Re: 郁闷了,kdevelop连个helloworld都无法编译成功
谢谢阿~ 我也碰到了这个问题,终于搞定了
-
- 帖子: 1
- 注册时间: 2009-02-11 14:26
Re: 郁闷了,kdevelop连个helloworld都无法编译成功
将 /usr/bin/libtool拷到工程根目录及工程的debug目录下再次编译
-
- 帖子: 7
- 注册时间: 2008-09-28 0:43
Re: 郁闷了,kdevelop连个helloworld都无法编译成功
1 复制目录 "/usr/share/apps/kdevappwizard/" to "$HOME/.kde/share/apps/
2 用这个文件进行替换$HOME/.kde/share/apps/kdevappwizard/template-common/incadmin.tar.gz
2 用这个文件进行替换$HOME/.kde/share/apps/kdevappwizard/template-common/incadmin.tar.gz
- 附件
-
- incadmin.tar.gz
- (87.98 KiB) 已下载 121 次
- wskyygyquk
- 帖子: 72
- 注册时间: 2008-11-13 0:37
- 来自: SYSU_Guangzhou
Re: 郁闷了,kdevelop连个helloworld都无法编译成功
hellowangmin 写了:1 复制目录 "/usr/share/apps/kdevappwizard/" to "$HOME/.kde/share/apps/
2 用这个文件进行替换$HOME/.kde/share/apps/kdevappwizard/template-common/incadmin.tar.gz
楼主的方法行不通呀
life is what?
-
- 帖子: 259
- 注册时间: 2008-11-14 20:35
Re: 郁闷了,kdevelop连个helloworld都无法编译成功
这个方法可以,但是能不能让它自动修改呢?总不能每次都手动修改吧?chunhuaxiaohan 写了:手动将工程目录下的/debug/libtool文件中的全部$echo替换为 $ECHO,工程可以编译成功
-
- 帖子: 11
- 注册时间: 2009-04-03 20:20
Re: 郁闷了,kdevelop连个helloworld都无法编译成功
将libtool换成低版本
libtool_1.5.26-1ubuntu1_i386.deb
http://ftp.sjtu.edu.cn/ubuntu/pool/m...untu1_i386.deb
libtool_1.5.26-1ubuntu1_i386.deb
http://ftp.sjtu.edu.cn/ubuntu/pool/m...untu1_i386.deb
- xdsn
- 帖子: 9
- 注册时间: 2009-03-19 22:50
Re: 郁闷了,kdevelop连个helloworld都无法编译成功
我也是这个问题,我也试试!
Shut down the windows,Let's share the free World!
西电稻草堂信息安全防护互助平台
西电稻草堂信息安全防护互助平台
- xdsn
- 帖子: 9
- 注册时间: 2009-03-19 22:50
Re: 郁闷了,kdevelop连个helloworld都无法编译成功
感谢,支持,完全可用,立马见效,谢谢!chunhuaxiaohan 写了:手动将工程目录下的/debug/libtool文件中的全部$echo替换为 $ECHO,工程可以编译成功
Shut down the windows,Let's share the free World!
西电稻草堂信息安全防护互助平台
西电稻草堂信息安全防护互助平台
- weilichun
- 帖子: 218
- 注册时间: 2007-09-09 15:41
- 来自: Beijing
- 联系:
Re: 郁闷了,kdevelop连个helloworld都无法编译成功
增加xdsn 写了:感谢,支持,完全可用,立马见效,谢谢!chunhuaxiaohan 写了:手动将工程目录下的/debug/libtool文件中的全部$echo替换为 $ECHO,工程可以编译成功
代码: 全选
echo=echo
- 1_dimension
- 帖子: 44
- 注册时间: 2008-09-18 1:22
Re: 郁闷了,kdevelop连个helloworld都无法编译成功
为什么可以编译了又不能运行了……
-
- 帖子: 3
- 注册时间: 2009-10-15 16:51
Re: 郁闷了,kdevelop连个helloworld都无法编译成功
1 复制目录 "/usr/share/apps/kdevappwizard/" to "$HOME/.kde/share/apps/
2 用这个文件进行替换$HOME/.kde/share/apps/kdevappwizard/template-common/incadmin.tar.gz
这个方法可以,只是需用自己系统里的文件
2 用这个文件进行替换$HOME/.kde/share/apps/kdevappwizard/template-common/incadmin.tar.gz
这个方法可以,只是需用自己系统里的文件