problems compiling openssl 0.9.8 on solaris 8 for apache 2.0.54

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

problems compiling openssl 0.9.8 on solaris 8 for apache 2.0.54

Marc Schoechlin-2


today I tried to compile openssl 0.9.8 on solaris 8 in a way that
allows me to compile Apache 2.0.54 with sucess.

The problem is that openssl installs a kssl.h-headerfile the
includes a krb5.h-headerfile.

This headerfile seems not to be existant on solaris 8.

I build openssl in that way (without kerberos):
$ /application/archive/apache # gcc --version

$ ./Configure solaris-sparcv9-gcc  --prefix=/opt/apache-2.0.54/openssl no-krb
Configuring for solaris-sparcv9-gcc
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5
    no-mdc2         [default]  OPENSSL_NO_MDC2 (skip dir)
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
    no-shared       [default]
    no-zlib         [default]
    no-zlib-dynamic [default]

If I now try to build apache2 based on that installation i get the
follwing error:
-2.0.54/modules/proxy -I/application/archive/apache/httpd-2.0.54/include
-I/usr/local/include -I/application/archive/apache/httpd-2.0.54/server
-I/application/archive/apache/httpd-2.0.54/modules/dav/main -prefer-pic -c
mod_ssl.c && touch mod_ssl.slo
In file included from
                 from mod_ssl.h:92,
                 from mod_ssl.c:27:
krb5.h: No such file or directory
make[4]: *** [mod_ssl.slo] Error 1
make[4]: Leaving directory
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/application/archive/apache/httpd-2.0.54'
make: *** [all-recursive] Error 1

The file /application/archive/apache/openssl-0.9.8/include/openssl/kssl.h contains
the compiler macro 'OPENSSL_NO_KRB5' - but when I set this over the CPPFLAGS
or CFFLAGS environment variable, the compile stops only a few lines
later because of undefined functions....

Any hints ????

I suppose there is something wrong in the configure-process of
openssl, because if I compile openssl on system without kerberos
I also should get includes-files form "make install" which do not
contain references to kerberos-development files.

Best regards

Marc Schoechlin
OpenSSL Project                       
Development Mailing List                       [hidden email]
Automated List Manager                           [hidden email]