root@hett-PowerEdge-T30:/usr/local/src/nginx-1.9.8# ./configure --prefix=/usr/local/nginx  --add-module=/usr/local/src/nginx-rtmp-module  --with-htchecking for OS + Linux 4.4.0-116-generic x86_64checking for C compiler ... found + using GNU C compile…
我是在CentOS6.5安装php5.5.28这个版本,PHP编译代码如下: ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql-sock=/tmp/mysql.sock --with-gd --with-ico…
在进行编译安装Apache时,出现如下错误 checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures ...................................... ...................................... .........…
在Linux下安装PHP过程中,编译时出现configure: error: libjpeg.(a|so) not found 错误的解决的方法: 检查之后发现已经安装libjpeg.可是/usr/lib文件夹下没有libjpeg.so这个文件,在/usr/lib64下是有的,使用–with-jpeg-dir=/usr/lib64 依旧无效, 最后用ln -s /usr/lib64/libjpeg.so /usr/lib/libjpeg.so问题解决 libpng报错解决方法一样…
有时候,我们需要单独安装nginx,来处理大量的下载请求.单独在Centos5安装nginx遇到的rewrite和HTTP  cache错误解决办法: wget http://nginx.org/download/nginx-0.8.33.tar.gztar -zxvf nginx-0.8.33.tar.gz cd nginx-0.8.33./configure --prefix=/usr/local/nginx 安装Nginx时报错 ./configure:  error: the HTTP …
在Ubuntu 12.4.1 X64 位下编译安装PHP时提示 configure: error: Cannot find OpenSSL's libraries 确认已安装过 openssl.libssl-dev 包,还是会提示该错误: 解决办法: root@test2:~/php-5.3.27# find / -name libssl.so      输出结果为: /usr/lib/x86_64-linux-gnu/libssl.so 初步判断它可能只会在 /usr/lib/ 下寻找 lib…
仅限于CentOS 5 configure: error: No curses/termcap library found 网上有的说法是: --with-named-curses-libs=/usr/lib/libncursesw.so.5 其实是不对的,虽然能解决configure的错误,但是make的时候会提示错误,正确的做法应该是 yum -y install ncurses-devel debian: apt-get install libncurses5-dev configure:…
编译php出现错误: configure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/ 解决方法: # yum install -y libcurl-devel…
今天装虚拟机LNMP环境 安装报错:configure: error: C++ compiler cannot create executables 这是因为 gcc 组件不完整,执行安装 yum install gcc gcc-c++ 这样就可以解决了 查看gcc安装情况 rpm -qa | grep gcc 结果显示: libgcc-4.1.2-54.el5libgcc-4.1.2-54.el5gcc-4.1.2-54.el5gcc-c++-4.1.2-54.el5 这样就是安装正确了…
错误提示: ./configure: error: the HTTP rewrite module requires the PCRE library.      yum install gcc gcc-c++ openssl_devel -y^C 安装pcre-devel与openssl-devel解决问题   yum -y install pcre-devel openssl openssl-devel   ./configure --prefix=/usr/local/nginx make…