红联Linux门户
Linux帮助

用./configure失败怎么会事??

发布时间:2011-01-10 09:50:54来源:红联作者:wshong2005
[root@localhost gcc-4.2.1]# ./configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build 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 gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
文章评论

共有 6 条评论

  1. nicholaszao 于 2011-01-16 22:08:07发表:

    下载一个gcc的rpm软件包,rpm -ivh gcc-4.1.2-48.el5.i386.rpm,安装成功之后就可以了.

  2. taoty 于 2011-01-12 11:49:13发表:

    没有安装GCC编辑环境。

  3. sleeyoyo 于 2011-01-11 23:24:39发表:

    checking for gcc... no
    checking for cc... no
    configure: error: no acceptable cc found in $PATH

  4. pallana 于 2011-01-10 20:45:14发表:

    configure: error: no acceptable cc found in $PATH
    一个单词 no 另外一个就是 cc ,然后看到found ,就知道什么东西没有被发现,那么就是这个cc了。
    注释:cc是一个编译器,跟gcc差不多的。缺少编译器了。
    具体怎么安装不太了解,我好像只安装了基本的gcc编译器就有了
    $ whereis cc
    cc: /usr/bin/cc

  5. mcj010 于 2011-01-10 16:06:27发表:

    雪獒~~~~~~

  6. 大宝 于 2011-01-10 10:38:18发表:

    把这些代码放到下面这个地址的输入框中,你自然就知道了
    http://translate.google.cn/?utm_campaign=zh_cn&utm_source=zh_cn-ha-apac-cn-bk&utm_medium=ha&utm_term=%E7%BF%BB%E8%AF%91#