[root@AY131005193752399800Z /]# yum -y install libc-client-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Setting up Install Process
Package libc-client-devel-2007e-11.el6.x86_64 already installed and latest version
Nothing to do
[root@AY131005193752399800Z /]# cd /root/lnmp1.0-full/php-5.3.26/ext/imap
[root@AY131005193752399800Z imap]# /usr/local/php/bin/phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
[root@AY131005193752399800Z imap]# ./configure --with-php-config=/usr/local/php/bin/php-config --with-kerberos --with-imap-ssl
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local/php
checking for PHP includes... -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626
checking for PHP installed headers prefix... /usr/local/php/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for IMAP support... yes, shared
checking for IMAP Kerberos support... yes
checking for IMAP SSL support... yes
checking for utf8_mime2text signature... new
checking for U8T_DECOMPOSE...
checking for pam_start in -lpam... no
checking for crypt in -lcrypt... yes
configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.
[root@AY131005193752399800Z imap]# make && make install
make: *** No targets specified and no makefile found. Stop.作者: wjyoem 时间: 2013-10-7 20:22 标题: 已自行解决,方法: 一:centos 64位安装lnmp 1.0 ,php5.3.16版本, 却卡在starting php-fpm。先强制断开连接,再连接上之后、
方法:用自带的php升级sh 升级php
运行
cd lnmp1.0-full
./upgrade_php.sh
输入5.3.26回车
耐心等待。。
安装完就可以了
二:安装结束后,发现没有imap组件,于是安装官方方法(https://bbs.vpser.net/thread-1557-1-1.html
)安装,发现报错:
configure: error: Cannot find
imap
library (libc-client.a). Please check your c-client installation.