LAMP编译安装遇到问题解决

no SSL-C headers found
configure: error: ...No recognized SSL/TLS toolkit detected
解决办法:
安装openssl-devel
2,
........................

checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/httpd-2.2.11/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr

查看了一下原来是错误开始于srclib/apr文件,检查gcc编译器时提示没发现并且在系统环境变量$PATH中没有合适的c编译器,以是使用yum -y install gcc来安装gcc编译器/或者用rpm包安装,就可继续安装了

cmake安装

1,Cannot find appropriate C++ compiler on this system.


说明缺少c++编译器,因此安装 yum -y install gcc-c++

用cmake安装MySQL

1,

Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)先安装 ncurses-devel 包
yum install ncurses-devel
再删除刚才编译生成的 CMakeCache.txt 文件
rm CMakeCache.txt
再次执行一次cmake ...

LAMP源码环境搭建WEB服务器Linux+Apache+MySQL+PHP

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/35ff1198bcc1c84de6e7c74b197545a6.html