Доброго дня.
Есть FreeBSD 5.1 собран апач 2.0.48 с mod_so - опция enable-so
Пытаюсь прикрутить к нему поддержку ssl без перекомпилирования.
Делаю следующее
nik# /usr/local/apache2/bin/apxs -c -i -a mod_ssl.c
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic -DAP_HAVE_DESIGNATED_INITIALIZER -D_REENTRANT -D_THREAD_SAFE -g -O2 -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/include -c -o mod_ssl.lo mod_ssl.c && touch mod_ssl.slo
In file included from mod_ssl.c:60:
mod_ssl.h:125:17: ssl.h: No such file or directory
mod_ssl.h:127:18: x509.h: No such file or directory
mod_ssl.h:128:17: pem.h: No such file or directory
mod_ssl.h:129:20: crypto.h: No such file or directory
mod_ssl.h:130:17: evp.h: No such file or directory
mod_ssl.h:131:18: rand.h: No such file or directory
In file included from mod_ssl.h:143,
from mod_ssl.c:60:
ssl_toolkit_compat.h:230:2: #error "Unrecognized SSL Toolkit!"
In file included from mod_ssl.h:145,
from mod_ssl.c:60:
ssl_util_ssl.h:91: syntax error before \'*\' token
ssl_util_ssl.h:92: syntax error before \'*\' token
ssl_util_ssl.h:93: syntax error before \'*\' token
ssl_util_ssl.h:93: syntax error before "X509"
ssl_util_ssl.h:93: warning: data definition has no type or storage class
ssl_util_ssl.h:94: syntax error before \'*\' token
ssl_util_ssl.h:94: syntax error before "EVP_PKEY"
ssl_util_ssl.h:94: warning: data definition has no type or storage class
ssl_util_ssl.h:95: syntax error before \'*\' token
ssl_util_ssl.h:96: syntax error before \'*\' token
ssl_util_ssl.h:96: warning: data definition has no type or storage class
ssl_util_ssl.h:97: syntax error before \'*\' token
ssl_util_ssl.h:98: syntax error before "SSL"
ssl_util_ssl.h:99: syntax error before \'*\' token
ssl_util_ssl.h:100: syntax error before \'*\' token
ssl_util_ssl.h:101: syntax error before "X509"
ssl_util_ssl.h:102: syntax error before "STACK_OF"
ssl_util_ssl.h:103: syntax error before "STACK_OF"
ssl_util_ssl.h:104: syntax error before \'*\' token
ssl_util_ssl.h:108: syntax error before \'*\' token
ssl_util_ssl.h:110: syntax error before \'*\' token
ssl_util_ssl.h:111: warning: data definition has no type or storage class
In file included from mod_ssl.c:60:
mod_ssl.h:415: syntax error before "SSL"
mod_ssl.h:417: syntax error before "X509"
mod_ssl.h:462: syntax error before "X509"
mod_ssl.h:470: syntax error before "STACK_OF"
mod_ssl.h:490: syntax error before "SSL_CTX"
mod_ssl.h:507: syntax error before "X509_STORE"
mod_ssl.h:599: syntax error before \'*\' token
mod_ssl.h:599: warning: data definition has no type or storage class
mod_ssl.h:612: syntax error before \'*\' token
mod_ssl.h:612: syntax error before \'*\' token
mod_ssl.h:612: warning: data definition has no type or storage class
mod_ssl.h:613: syntax error before \'*\' token
mod_ssl.h:613: syntax error before \'*\' token
mod_ssl.h:613: warning: data definition has no type or storage class
mod_ssl.h:614: syntax error before "X509_STORE_CTX"
mod_ssl.h:615: syntax error before "X509_STORE_CTX"
mod_ssl.h:616: syntax error before \'*\' token
mod_ssl.h:617: syntax error before \'*\' token
mod_ssl.h:618: syntax error before \'*\' token
mod_ssl.h:618: syntax error before \'*\' token
mod_ssl.h:618: warning: data definition has no type or storage class
mod_ssl.h:619: syntax error before \'*\' token
mod_ssl.h:620: syntax error before "int"
mod_ssl.h:628: syntax error before "SSL_SESSION"
mod_ssl.h:629: syntax error before \'*\' token
mod_ssl.h:629: warning: data definition has no type or storage class
mod_ssl.h:636: syntax error before "SSL_SESSION"
mod_ssl.h:637: syntax error before \'*\' token
mod_ssl.h:637: warning: data definition has no type or storage class
mod_ssl.h:644: syntax error before "SSL_SESSION"
mod_ssl.h:645: syntax error before \'*\' token
mod_ssl.h:645: warning: data definition has no type or storage class
mod_ssl.h:652: syntax error before "SSL_SESSION"
mod_ssl.h:653: syntax error before \'*\' token
mod_ssl.h:653: warning: data definition has no type or storage class
mod_ssl.h:662: syntax error before \'*\' token
mod_ssl.h:662: warning: data definition has no type or storage class
mod_ssl.h:663: syntax error before \'*\' token
mod_ssl.h:663: warning: data definition has no type or storage class
mod_ssl.h:709: syntax error before "SSL"
mod_ssl.h:711: syntax error before \'*\' token
mod_ssl.h:727: syntax error before \'*\' token
mod_ssl.c: In function `ssl_hook_pre_connection\':
mod_ssl.c:306: `SSL\' undeclared (first use in this function)
mod_ssl.c:306: (Each undeclared identifier is reported only once
mod_ssl.c:306: for each function it appears in.)
mod_ssl.c:306: `ssl\' undeclared (first use in this function)
mod_ssl.c:353: structure has no member named `ssl_ctx\'
mod_ssl.c:382: structure has no member named `ssl\'
mod_ssl.c:390: `X509_V_OK\' undeclared (first use in this function)
apxs:Error: Command failed with rc=65536
Есть у кого мысли по этому поводу?