Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Apache 2 and SSL

0 views
Skip to first unread message

Jeff Grossman

unread,
Apr 7, 2003, 11:07:27 AM4/7/03
to
I just installed Redhat 9. I prefer to compile Apache from source than
use the RPM. How do I enable SSL in Apache 2 with Redhat? I know to use
the --enable-SSL configure line, but it cannot seem to find the SSL
libraries. I put in --with-ssl=/usr/include/openssl, but it came back
with this error during make:

make[3]: Entering directory `/temp/httpd-2.0.45/modules/ssl'
/bin/sh /temp/httpd-2.0.45/srclib/apr/libtool --silent --mode=compile gcc
-g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-DAP_HAVE_DESIGNATED_INITIALIZER -I/temp/httpd-2.0.45/srclib/apr/include
-I/temp/httpd-2.0.45/srclib/apr-util/include -I.
-I/temp/httpd-2.0.45/os/unix -I/temp/httpd-2.0.45/server/mpm/worker
-I/temp/httpd-2.0.45/modules/http -I/temp/httpd-2.0.45/modules/filters
-I/temp/httpd-2.0.45/modules/proxy -I/temp/httpd-2.0.45/include
-I/usr/include/openssl -I/temp/httpd-2.0.45/modules/dav/main
-prefer-non-pic -static -c mod_ssl.c && touch mod_ssl.lo
In file included from /usr/include/openssl/ssl.h:179,
from mod_ssl.h:111,
from mod_ssl.c:60:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
from mod_ssl.h:111,
from mod_ssl.c:60:
/usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:134: parse error before "FAR"
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:159: parse error before "context"
/usr/include/openssl/kssl.h:160: parse error before
"kssl_build_principal_2"
/usr/include/openssl/kssl.h:160: parse error before "context"
/usr/include/openssl/kssl.h:163: parse error before "kssl_validate_times"
/usr/include/openssl/kssl.h:163: parse error before "atime"
/usr/include/openssl/kssl.h:165: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before "enctype"
In file included from mod_ssl.h:111,
from mod_ssl.c:60:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:909: warning: no semicolon at end of struct or
union
/usr/include/openssl/ssl.h:931: parse error before '}' token
make[3]: *** [mod_ssl.lo] Error 1
make[3]: Leaving directory `/temp/httpd-2.0.45/modules/ssl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/temp/httpd-2.0.45/modules/ssl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/temp/httpd-2.0.45/modules'
make: *** [all-recursive] Error 1


Thanks,
Jeff

--
Jeff Grossman (je...@stikman.com)

Manoj Nair

unread,
Apr 9, 2003, 2:27:04 PM4/9/03
to
If you do have krb5.h (krb5-devel-1.2.7-14 - latest rpm at present
available at redhat updates) then you could provide the necessary
CPPFLAGS to show where the header files are. e.g.
CPPFLAGS=-I/usr/kerberos/include ./configure [options] , that should
work. On further errors persists check if you have the correct openssl
headers or duplicate or old header files which is referred to by your
compiler.

regards....

Jeff Grossman <je...@stikman.com> wrote in message news:<fqg8mx...@stikman.com>...

0 new messages