【发布时间】:2014-06-04 13:19:57
【问题描述】:
在将 sources.list 中的版本设置为 7.0 后,我在 Debian 6.0 上安装了以下软件包:
- libssl 开发
- openssl
- openssl-common
我已经验证 /usr/include/openssl/evp.h 存在且权限为 777,然后我运行 ./configure 如下:
./configure --with-zlib-dir --with-freetype-dir --enable-mbstring --with-libxml-dir=/usr --enable-soap --enable-calendar --with-mcrypt --disable-rpath --enable-inline-optimization --with-zlib --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex --enable-exif --enable-bcmath --with-mhash --enable-zip --with-pcre-regex --with-mysql --with-pdo-mysql --with-mysqli --enable-gd-native-ttf --with-fpm-user=www-data --with-fpm-group=www-data --enable-ftp --with-kerberos --with-gettext --with-xmlrpc --enable-opcache --with-apxs2=/usr/bin/apxs2 --with-config-file-path=/etc/php5/apache2 --with-config-file-scan-dir=/etc/php5/conf.d --with-openssl-dir=/usr/include/openssl
但是,我仍然从 configure 中得到一个错误,即找不到 evp.h。
【问题讨论】:
-
不,我在
CentOS和remi-php55存储库中使用了yum。您可以使用Debian的ondrej存储库并摆脱麻烦。 -
我也有这个确切的错误。非常感谢任何帮助。
-
@RandomSeed 所有测试用例都因链接建议而失败