呀呀呀,这个怎么会事啊?
-
- 帖子: 8
- 注册时间: 2007-03-23 16:58
- 联系:
呀呀呀,这个怎么会事啊?
在./configure的时候,出现:
root@qinxp-desktop:/home/qinxp/wine-0.9.33# ./configure
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
root@qinxp-desktop:/home/qinxp/wine-0.9.33#
是我的gcc版本有问题么?
root@qinxp-desktop:/home/qinxp/wine-0.9.33# ./configure
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
root@qinxp-desktop:/home/qinxp/wine-0.9.33#
是我的gcc版本有问题么?
-
- 帖子: 1897
- 注册时间: 2006-09-12 14:09
-
- 帖子: 1897
- 注册时间: 2006-09-12 14:09
-
- 帖子: 8
- 注册时间: 2007-04-02 21:09
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
.... 不看出错信息的啊,都..
看其中一行 configure: error: C compiler cannot create executables
明显是没有配置基本的编译环境..
不懂了,现在怎么好多人都不配制编译环境就直接编译的阿,连基本的 gcc/g++ 都没有,怎么能够编译呢?
先执行 sudo apt-get install build-essential 再编译。还有提醒楼主,不要随便用 root 账户。编译这种事情, 不要烦 root 他老人家了....
更要命的是出了什么误操作的话,哭都回不来。
看其中一行 configure: error: C compiler cannot create executables
明显是没有配置基本的编译环境..
不懂了,现在怎么好多人都不配制编译环境就直接编译的阿,连基本的 gcc/g++ 都没有,怎么能够编译呢?
先执行 sudo apt-get install build-essential 再编译。还有提醒楼主,不要随便用 root 账户。编译这种事情, 不要烦 root 他老人家了....
更要命的是出了什么误操作的话,哭都回不来。
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
- karron
- 帖子: 6226
- 注册时间: 2005-06-11 14:03
- 来自: 不明真相的群众
- 联系:
-
- 帖子: 22
- 注册时间: 2007-05-17 9:26
怎么see config.log
请问怎么see config.log阿,还有./configure在哪边输入阿,终端里输入了是非法命令阿