`
clrw
  • 浏览: 20804 次
  • 性别: Icon_minigender_1
  • 来自: 湖南
社区版块
存档分类
最新评论

configure: error: no acceptable C compiler found in $PATH

阅读更多

今天在centos下安装apr时,在使用命令:

./configure --prefix=/usr/local/apr

编译的时候,报错: 

configure: error: no acceptable C compiler found in $PATH

解决办法:安装GCC软件套件:

yum install gcc

安装完毕后再编译apr即正常。

 

 

分享到:
评论

相关推荐

    Linux-jpcap-gcc

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

    gcc-4.9.4安装包

    在编译安装软件的时候,发现错误configure: error: *** A compiler with support for C++11 language features is required. 要支持C++11,必须升级到gcc4.7以上。

    gcc_4.9.4_gcc+gmp+mpfr+mpc.tar.gz

    编译安装软件的时候,发现错误configure: error: *** A compiler with support for C++11 language features is required. 原来是gcc版本太低了,我的版本是gcc version 4.6.3 想要支持C++11,必须升级到gcc4.8...

    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/...

    svn安装过程中遇到错误需要的文件包

    错误 configure: error: could not find library containing ...configure: error: no XML parser was found: expat or libxml 2.x required 解放方法: http://blog.csdn.net/cnaning/archive/2009/02/09/3870085.aspx

    device-mapper.1.02.28.tgz

    在编译parted-3.2时,报错:configure: error: libdevmapper could not be found,找到device-mapper.1.02.28,并下了下来。 这个源码藏得有点深,分享出来给大家

    rsh软件(LoadRunner监控Linux)

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

    PHP编译configure时常见错误的总结

    PHP编译configure时常见错误的总结 ...其实不管是你是Apache类的应用还是Nginx类的,PHP的安装都不是很简单,虽然网上有很多...1、configure: error: No curses/termcap library found 网上有的说法是:–with-named-c

    centos7下升级openssh到8.4脚本

    centos7下升级openssh到8.4脚本

    gmp 5.0.4 安装GCC必需文件

    There is no practical limit to the precision except the ones implied by the available memory in the machine GMP runs on. GMP has a rich set of functions, and the functions have a regular interface.

    libmount-2.25.2-实测版本

    经过实测的版本 configure: error: *** Could not find libmount checking for LIBMOUNT... no glib-2.56.0

    lz4最新版,编译spice-gtk-0.35时使用

    解决configure: error: lz4 support requested but liblz4 >= 129 could not be found, export PREFIX=安装目录 &make; &make; install

    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

    迅雷看看缓存清除工具

    在家都知道vod_cache_data是迅雷看看的缓存文件存放地。迅雷会自动选择用户机器剩余空间最大的分区进行保存,文件大小在100M以上.每次手动很麻烦.如果长期不清会影响计算机的速度。在这里有个方法能一键清除缓存

    为PHP安装imagick时出现Cannot locate header file MagickWand.h错误的解决方法

    checking for MagickWand.h header file… configure: error: Cannot locate header file MagickWand.h 可是我明明正确安装了ImageMagick的呀.GOOGLE了半天,也解决不了这个问题.后面对照另一个服务器上的ImageMagick...

    国际旅游联盟集团TUI-201501-Commerzbank German Investment Seminar_By_CFO.pdf.pdf

    国际旅游联盟集团TUI-201501-Commerzbank German Investment Seminar_By_CFO.pdf.pdf

    me office600 win7 驱动

    epson office 600 打印机驱动,win7 64位系统

    php源代码安装常见错误与解决办法分享

    错误:configure: error: libevent >= 1.4.11 could not be found 解决:yum -y install libevent libevent-devel 错误:configure: error: Please reinstall the mysql distributio 解决:yum -y install mysql-...

    nginx-1.0.5最新稳定版

    状况:./configure: error: the HTTP rewrite module requires the PCRE library. 解决:yum -y install pcre-devel 安装相应的包 2.缺少zlib 状况: ./configure: error: the ...

    cryptopp-5.6.2-2.el6.x86_64.rpm&& cryptopp-devel-5.6.2-2.el6.x86_64.rpm

    ceph源码编译时出现下列现象时,需要下载这两个rpm包: checking for NSS... no configure: error: in `/root/workspace/...configure: error: no suitable crypto library found See `config.log' for more details

Global site tag (gtag.js) - Google Analytics