configure: error: no acceptable cc found in $PATH

[lcx@111 mp3blaster-3.2.0]$ ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

[root@111 mp3]# yum install gcc gcc-c++ gcc-g77
Setting up Install Process
Parsing package install arguments
No package gcc-g77 available.
Resolving Dependencies


 编译 apache 2.2.6 @ CentOS 5.1

CentOS 5.1 缺省安装。package 只选择gnome GUI.其他不选。

configure 错误提示:
checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures

zlib-devel 没装的原因

yum install gcc zlib-devel openssl-devel(装这个package会有一堆关联包装上)


mysql需要安装
gcc-c++
libstdc++-devel
ncurses-devel

php
需要如下安装包
libxml2-devel libjpeg-devel libpng-devel freetype-devel libmcrypt-devel mhash-devel
configure with-imap如果出现如下错误:
rfc822.h not found .需要 libc-client-devel
make
出现错误 : /usr/bin/ld: cannot find -lltdl
安装了libtool-ltdl
需要做个软链接ln -s /usr/lib/libltdl.so.3 /usr/lib/libltdl.so

原文地址:https://www.cnblogs.com/LCX/p/1269347.html