码迷,mamicode.com
首页 > Web开发 > 详细

安装httpd时出现“No recognized SSL/TLS toolkit detected”错误解决

时间:2015-04-25 09:26:25      阅读:144      评论:0      收藏:0      [点我收藏+]

标签:configure: error: ...no recognized ssl/tls toolkit detected

刚在编译安装httpd时出现“No recognized SSL/TLS toolkit detected”错误:

[root@server httpd-2.2.22]# ./configure --prefix=/usr/local/apache-2.2.22

--enable-headers

--enable-mime-magic

--enable-proxy

--enable-so

--enable-rewrite

--enable-ssl

--enable-suexec

--with-included-apr

--with-mpm=prefork

--with-ssl=/usr

--disable-userdir

--disable-cgid

--disable-cgi

........................................... .......................................

checking for SSL/TLS toolkit base... /usr

  adding"-I/usr/include"to CPPFLAGS

  adding"-I/usr/include"to INCLUDES

  adding"-L/usr/lib"to LDFLAGS

checking for OpenSSL version... checking openssl/opensslv.h usability... no

checking openssl/opensslv.h presence... no

checking for openssl/opensslv.h... no

checking openssl/ssl.h usability... no

checking openssl/ssl.h presence... no

checking for openssl/ssl.h... no

no OpenSSL headers found

checking for SSL-C version... checking sslc.h usability... no

checking sslc.h presence... no

checking for sslc.h... no

no SSL-C headers found

configure: error: ...No recognized SSL/TLS toolkit detected 


解决办法,安装openssl

 

[root@server httpd-2.2.22]# yum install openssl* 

再重新编译就没出现错误了


config.status: creating support/log_server_status

config.status: creating support/logresolve.pl

config.status: creating support/phf_abuse_log.cgi

config.status: creating support/split-logfile

config.status: creating build/rules.mk

config.status: creating build/pkg/pkginfo

config.status: creating build/config_vars.sh

config.status: creating include/ap_config_auto.h

config.status: executing default commands


安装httpd时出现“No recognized SSL/TLS toolkit detected”错误解决

标签:configure: error: ...no recognized ssl/tls toolkit detected

原文地址:http://winsnet27.blog.51cto.com/9123101/1638183

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!