`
pcpig
  • 浏览: 88285 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

no acceptable C compiler found in $PATH

阅读更多
(转自http://www.linux521.com/2009/system/200904/2116.html)
执行./configure 然后就出现以下提示 :

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH


执行make后,
提示:No targets specified and no makefile found.Stop.

执行make install后
提示:No rule to make target 'install'.Stop.

经过查阅资料,发现是因为没有安装GCC组件的原因;

我试着通过System settings中的Add/RemoveApplications来添加/删除组件,选中开发工具中相应的项,点击update,提示插入disk1,我插入光盘,但不起作用,不知是不是因为在虚拟机中的原因...没办法了,手动安装,我放入red hat 工具盘,拷出了gcc*.rpm,然后共享至虚拟机中的linux 中,安装,提示缺少其他一些组件,最后经过来回搜索与拷贝,GCC安装成功,所需文件有:

libf2c-3.3.2-1.i386.rpm
libstdc -devel-3.3.2-1.i386.rpm
glibc-kernheaders-2.4-8.36.i386.rpm
glibc-headers-2.3.2-101.i386.rpm
glibc-devel-2.3.2-101.i386.rpm
gcc-objc-3.3.2-1.i386.rpm
binutils-2.14.90.0.6-3.i386.rpm
gcc-3.3.2-1.i386.rpm
gcc-c -3.3.2-1.i386.rpm
automake14-1.4p6-7.noarch.rpm

安装比较简单:
#rpm -ivh rpm文件


OK,可以正常使用./configure 和make命令了.

我在centos 用yum install gcc 也很方便
不过先要用yum install yum-fastestmirror更新下源,不然太慢了
分享到:
评论

相关推荐

    Linux-jpcap-gcc

    configure: error: no acceptable C compiler found in $PATH ------------------------ linux 中,安装,提示缺少其他一些组件,经过来回搜索与拷贝,GCC安装成功,所需文件有: libf2c-3.3.2-1.i386.rpm libstdc -devel...

    centos7_rlwrap-0.42.tar.gz

    如编译报错提示:configure:3414: error: no acceptable C compiler found in $PATH yum -y install gcc ./configure && make && make install 安装完成后 [root@localhost rlwrap-0.42]# which rlwrap /usr/local/...

    compiler-gcc5.h

    使用新版本gcc编译老版本linux内核,将文件添加至include/linux即可!

    rsh软件(LoadRunner监控Linux)

    2. configure: error: no acceptable C compiler found in $PATH 原因:未安装gcc编译器. 在命令行里敲入gcc –v, 如果提示command not found 就表示你的系统里没有安装gcc编译器 解决办法:yum install gcc ...

    lrzsz 的linux 离线安装

    解压: tar -zxvf lrzsz-0.12.20.tar.gz 编译、安装 cd lrzsz-0.12.20 ...备注:如果编译报错 error: no acceptable cc found in $PATH 则需要安装gcc编译器 推荐联网安装 yum install gcc gcc-c++ gcc-g77

    CentOS 7 安装python3.7.1的方法及注意事项

    安装wget yum -y install wget 创建一个download目录用于下载各种安装包 mkdir download 切换到刚创建的download目录中 cd download ...注意,我这里报错:no acceptable C compiler found in $PATH 这

    利用dcmtk实现C-FIND SCU

    专栏博文“DICOM:基于DCMTK实现C-FIND SCU”中对应的源代码。基于dcmtk开源库中的findscu工程,实现的简单的C-FIND SCU,用于示范如何使用dcmtk操作实现具体的DICOM应用。

    Whether mandatory donation is acceptable or not?

    Whether mandatory donation is acceptable or not?

    ANSI-ASHRAE Standard 62.1-2019 Ventilation for Acceptable Indoor

    ANSI-ASHRAE Standard 62.1-2019 Ventilation for Acceptable Indoor

    noda-updater:用于更新的 noda 规范

    更新检查步骤 given $urlgiven $known_keygiven $name_patterngiven $acceptable_version_fnget https://$url/index.json as $versionsfilter $versions on $acceptable_version_fnfind $versions max(.version) as ...

    Software Considerations in Airborne Systems

    This document, now revised in the light of experience, provides the aviation community with guidance for determining, in a consistent manner and with an acceptable level of confidence, that the ...

    servlet2.4doc

    Returns the object bound with the specified name in this session, or null if no object is bound under the name. getAttributeNames() - Method in interface javax.servlet.ServletContext Returns an ...

    occam一维反演

    c model found, but rather the response of the last model tested in the univariate c optimization routines, we leave it to the user to find the response of c the final model, using low cunning or the ...

    Learning+Concurrent+Programming+in+Scala,+2nd+Edition-2017.mobi

    which is based on threads and locks, in school, but this model has become inadequate for dealing with massive concurrency in a reliable manner and with acceptable productivity. Indeed, threads and ...

    Resizes Images to sizes acceptable by half life for transiti

    Resizes Images to sizes acceptable by half life for transitioning into pldecal.wad files This code is incomplete... A Majority of the programming has been accomplished.

    Game+Programming+with+Silverlight

    that was acceptable back in 1995 is no longer acceptable today. Just as Windowsbased games have evolved so have the web-based games. Today, customers are coming to expect the same type of rich and ...

    瑞信-5G:低成本才是王道

    acceptable in Japan, Korea or China. We expect returns on invested capital (ROIC) to decline in Japan, China, Australia and Hong Kong over FY19-24. Factoring in expected spectrum costs in Hong Kong,...

    Standard Practices for Cycle Counting in Fatigue Analysis E1049

    These practices are a compilation of acceptable proce- dures for cycle-counting methods employed in fatigue analysis. This standard does not intend to recommend a particular method.

    Google C++ Style Guide(Google C++编程规范)高清PDF

    You can declare functions in a way that allows the compiler to expand them inline rather than calling them through the usual function call mechanism. Pros: Inlining a function can generate more ...

Global site tag (gtag.js) - Google Analytics