|
恩。。。说下环境。。。系统:centos5.3 先装的mysql :mysql-5.0.90 然后装的apache :httpd-2.2.9 现在要装php php-5.2.6
./configure 都过去了,可是make 过不去,问题是这样的
usr/local/src/php-5.2.6/ext/openssl/openssl.c:2412: error: 'struct php_x509_request' has no member named 'section_name'
/usr/local/src/php-5.2.6/ext/openssl/openssl.c:2415: error: 'struct php_x509_request' has no member named 'priv_key'
/usr/local/src/php-5.2.6/ext/openssl/openssl.c:2416: error: 'struct php_x509_request' has no member named 'priv_key_type'
/usr/local/src/php-5.2.6/ext/openssl/openssl.c:2418: error: 'struct php_x509_request' has no member named 'priv_key'
/usr/local/src/php-5.2.6/ext/openssl/openssl.c:2418: error: 'struct php_x509_request' has no member named 'priv_key_bits'
/usr/local/src/php-5.2.6/ext/openssl/openssl.c:2419: error: 'struct php_x509_request' has no member named 'priv_key'
/usr/local/src/php-5.2.6/ext/openssl/openssl.c:2425: error: 'struct php_x509_request' has no member named 'priv_key_bits'
/usr/local/src/php-5.2.6/ext/openssl/openssl.c:2429: error: 'struct php_x509_request' has no member named 'priv_key'
/usr/local/src/php-5.2.6/ext/openssl/openssl.c:2430: error: 'struct php_x509_request' has no member named 'priv_key'
/usr/local/src/php-5.2.6/ext/openssl/openssl.c:2447: error: 'struct php_x509_request' has no member named 'priv_key'
/usr/local/src/php-5.2.6/ext/openssl/openssl.c:2448: error: 'struct php_x509_request' has no member named 'priv_key'
/usr/local/src/php-5.2.6/ext/openssl/openssl.c: In function 'zif_openssl_pkey_new':
/usr/local/src/php-5.2.6/ext/openssl/openssl.c:2521: error: 'struct php_x509_request' has no member named 'priv_key'
/usr/local/src/php-5.2.6/ext/openssl/openssl.c:2523: error: 'struct php_x509_request' has no member named 'priv_key'
/usr/local/src/php-5.2.6/ext/openssl/openssl.c: In function 'zif_openssl_pkey_export_to_file':
/usr/local/src/php-5.2.6/ext/openssl/openssl.c:2564: error: 'struct php_x509_request' has no member named 'priv_key_encrypt'
/usr/local/src/php-5.2.6/ext/openssl/openssl.c: In function 'zif_openssl_pkey_export':
/usr/local/src/php-5.2.6/ext/openssl/openssl.c:2615: error: 'struct php_x509_request' has no member named 'priv_key_encrypt'
make: *** [ext/openssl/openssl.lo] Error 1
恩。。。觉得该装的也都装了啊,不知道这些是什么错误,折腾了好长时间,也没结果,还望各位多多帮助。
恩。。。如果我使用 php-5.2.11倒是不会出现这些问题。。。。./configure 能过去, make 都过去了可是到make test 时却出现Cannot run tests without CLI sapi 的错误。。。貌似 sapi-cli是个模块,而在./configure 的时候是disable的。。。结果看网上说可以:重新编译php make的时候加上ZEND_EXTRA_LIBS='-liconv'这样做了,可是出现ld: cannot find -liconv 。。。
这该怎么办呢???
折腾了好长时间了,希望大家多多帮助啊。。。 |
|