【求助】apache2 搭配 openssl 無法成功make



贊助商連結


purk
2005-07-22, 03:20 AM
apache2 的config如下
./configure --prefix=/usr/local/apache2 --enable-module=so --enable-so --enable-modsshared=most --enable-modules=rewrite --enable-shared=rewrite --enable-ssl=static --enable-mods-shared=all --enable-rewrite --with-ssl=/usr/include

但是make會出現

ssl_engine_pphrase.c: In function `ssl_pphrase_Handle_CB':
ssl_engine_pphrase.c:684: error: `PEM_F_DEF_CALLBACK' undeclared (first use in this function)
ssl_engine_pphrase.c:684: error: (Each undeclared identifier is reported only once
ssl_engine_pphrase.c:684: error: for each function it appears in.)
make[3]: *** [ssl_engine_pphrase.lo] Error 1
make[3]: Leaving directory `/home/punk/httpd-2.0.54/modules/ssl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/punk/httpd-2.0.54/modules/ssl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/punk/httpd-2.0.54/modules'
make: *** [all-recursive] Error 1


請問哪邊錯了

thx

贊助商連結


cedric2000
2005-07-24, 10:35 PM
如果你的是Apache 2.0.54跟OpenSSL 0.9.8的話
應該是有一個已知的問題喔
看下面這個地方是有一個patch可以解決,找看看吧
http://mail-archives.apache.org/mod_mbox/httpd-users/200507.mbox/%[email protected]%3E