LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1080|回复: 2

Lamp构建过程中的一些问题。。。

[复制链接]
发表于 2010-8-8 07:34:38 | 显示全部楼层 |阅读模式
恩。。。说下环境。。。系统: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  。。。
这该怎么办呢???
折腾了好长时间了,希望大家多多帮助啊。。。
发表于 2010-8-11 22:00:39 | 显示全部楼层
应该是还差依赖包...仔细查一下吧..
回复 支持 反对

使用道具 举报

发表于 2010-8-12 10:29:28 | 显示全部楼层
rpm -qa|grep openssl
看看openssl的包
回复 支持 反对

使用道具 举报

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

本版积分规则

快速回复 返回顶部 返回列表