当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 12 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 安装gcc时出现./config: command not found
帖子发表于 : 2012-09-05 17:49 

注册: 2012-07-25 22:03
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
我用的是ubuntu11.10,之前装gcc还能进行到make install 一步,但是出现问题了。后面重新开始的时候,就出现./config: command not found错误,我是在当前的目录下执行这个步骤的,求指教!


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 安装gcc时出现./config: command not found
帖子发表于 : 2012-09-05 18:26 
头像

注册: 2008-08-13 8:48
帖子: 26391
地址: 东海硇州,一双管钥。
系统: Fundu i64
送出感谢: 50
接收感谢: 344
什么意思?是你运行这命令报错?还是那Makefile里面的?


_________________
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 安装gcc时出现./config: command not found
帖子发表于 : 2012-09-05 18:37 

注册: 2010-07-09 17:12
帖子: 21
送出感谢: 0 次
接收感谢: 2
你是不是没写全?应该是./configure吧?


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 安装gcc时出现./config: command not found
帖子发表于 : 2012-09-05 20:00 

注册: 2012-07-25 22:03
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
YeLee 写道:
什么意思?是你运行这命令报错?还是那Makefile里面的?

直接configure就错了


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 安装gcc时出现./config: command not found
帖子发表于 : 2012-09-05 20:01 

注册: 2012-07-25 22:03
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
514617335 写道:
你是不是没写全?应该是./configure吧?

这个写对着呢,发帖子的时候写错了。


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 安装gcc时出现./config: command not found
帖子发表于 : 2012-09-05 20:05 
头像

注册: 2008-08-13 8:48
帖子: 26391
地址: 东海硇州,一双管钥。
系统: Fundu i64
送出感谢: 50
接收感谢: 344
什么意思?有图吗? :em20 :em20 :em20


_________________
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关


页首
 用户资料  
 
7 楼 
 文章标题 : Re: 安装gcc时出现./config: command not found
帖子发表于 : 2012-09-05 20:13 

注册: 2012-07-25 22:03
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
YeLee 写道:
什么意思?有图吗? :em20 :em20 :em20

现在的错先的错误是:
[email protected]:/tmp/gcc-4.6.1$ sudo ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... no
checking for mawk... mawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... yes
checking for PWL_handle_timeout in -lpwl... no
checking for version 0.11 (revision 0 or later) of PPL... no
The following languages will be built: c,c++,fortran,java,lto,objc
*** This configuration is not supported in the following subdirectories:
gnattools target-libada target-libgo
(Any other directories should still work fine.)
checking for default BUILD_CONFIG... bootstrap-debug
checking for bison... no
checking for byacc... no
checking for yacc... no
checking for bison... no
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... no
checking for lex... no
checking for flex... no
checking for makeinfo... no
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for cc... cc
checking for c++... c++
checking for gcc... gcc
checking for gcj... no
checking for gfortran... gfortran
checking for gccgo... no
checking for ar... no
checking for ar... ar
checking for as... no
checking for as... as
checking for dlltool... no
checking for dlltool... no
checking for ld... no
checking for ld... ld
checking for lipo... no
checking for lipo... no
checking for nm... no
checking for nm... nm
checking for objdump... no
checking for objdump... objdump
checking for ranlib... no
checking for ranlib... ranlib
checking for strip... no
checking for strip... strip
checking for windres... no
checking for windres... no
checking for windmc... no
checking for windmc... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... just compiled
checking where to find the target gfortran... just compiled
checking where to find the target gccgo... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile
[email protected]:/tmp/gcc-4.6.1$


页首
 用户资料  
 
8 楼 
 文章标题 : Re: 安装gcc时出现./config: command not found
帖子发表于 : 2012-09-05 20:47 
头像

注册: 2007-02-18 0:42
帖子: 1352
送出感谢: 0 次
接收感谢: 10
我懒得骂你,就随便列点。。对你简直是无语
1. gcc还自己make
2. 完全正常还当报错了
3. 编译4.6.1这种版本
4.英语盲(和2有直接关系)


页首
 用户资料  
 
9 楼 
 文章标题 : Re: 安装gcc时出现./config: command not found
帖子发表于 : 2012-09-05 20:49 
头像

注册: 2008-08-13 8:48
帖子: 26391
地址: 东海硇州,一双管钥。
系统: Fundu i64
送出感谢: 50
接收感谢: 344
:em20 :em20 :em20


_________________
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关


页首
 用户资料  
 
10 楼 
 文章标题 : Re: 安装gcc时出现./config: command not found
帖子发表于 : 2012-09-05 20:50 

注册: 2012-07-25 22:03
帖子: 34
送出感谢: 0 次
接收感谢: 0 次
tommy007 写道:
我懒得骂你,就随便列点。。对你简直是无语
1. gcc还自己make
2. 完全正常还当报错了
3. 编译4.6.1这种版本
4.英语盲(和2有直接关系)

我是要用一个模式,然后要求gcc的版本高于4.6,机子里装的是4.5.2所以才要自己make!


页首
 用户资料  
 
11 楼 
 文章标题 : Re: 安装gcc时出现./config: command not found
帖子发表于 : 2012-09-05 20:52 
头像

注册: 2008-08-13 8:48
帖子: 26391
地址: 东海硇州,一双管钥。
系统: Fundu i64
送出感谢: 50
接收感谢: 344
自己编译多脏啊,不如自己写个control弄成deb算了。 :em04 :em04 :em04


_________________
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关


页首
 用户资料  
 
12 楼 
 文章标题 : Re: 安装gcc时出现./config: command not found
帖子发表于 : 2012-09-05 20:54 
头像

注册: 2007-02-18 0:42
帖子: 1352
送出感谢: 0 次
接收感谢: 10
木匠罗 写道:
tommy007 写道:
我懒得骂你,就随便列点。。对你简直是无语
1. gcc还自己make
2. 完全正常还当报错了
3. 编译4.6.1这种版本
4.英语盲(和2有直接关系)

我是要用一个模式,然后要求gcc的版本高于4.6,机子里装的是4.5.2所以才要自己make!

GCC 4.5.4 released [2012-07-02]
GCC 4.7.1 released [2012-06-14]
GCC 4.7.0 released [2012-03-22]
GCC 4.4.7 released [2012-03-13]
GCC 4.6.3 released [2012-03-01]

make 4.6.1你搞错没?
话说回来你有这个功夫系统都装完了5次了
gcc自己make太脏。。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 12 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Zhf1jde9o5z 和 0 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译