CENT OS系统,PHP5.3.3 编译没有问题,但是make的时候有问题:make: *** [sapi/fpm/php-fpm] 错误 1

[复制链接]
查看11 | 回复1 | 2013-1-2 02:48:05 | 显示全部楼层 |阅读模式
我用的CENT OS 5 ,PHP5.3.3 ,mysql5.1.38,PHP编译没有问题,但是make的时候有问题:make: *** [sapi/fpm/php-fpm] 错误 1 求教!!!
php编译代码:
./configure --prefix=/usr/locl/php --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-libevent-dir=shared,/usr/local/lib64 --with-zlib --with-libxml-dir=/usr --enable-xml --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-ldap --with-ldap-sasl --with-xmlrpc --enable-zip --enable-soap --without-pear

回复

使用道具 举报

千问 | 2013-1-2 02:48:05 | 显示全部楼层
在make时加上make ZEND_EXTRA_LIBS='-liconv'即可。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行