Why is it necessary to specify "--no-krb5" when installing?

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

Why is it necessary to specify "--no-krb5" when installing?

Nelson, Gregg
Why is it necessary to specify "--no-krb5" when installing?

I am trying to install openssl for use with openldap.

My install lines for openssl are as follows:  version is 0.9.8a

        ./config shared --prefix=/usr/local --openssldir=/usr/local/openssl
        make clean; make; make install

When I run the >configure< script for openldap I get the following:

checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
checking ssl.h usability... no
checking ssl.h presence... no
checking for ssl.h... no
configure: error: Could not locate TLS/SSL package


config.log shows this:

configure:19177: checking openssl/ssl.h usability
configure:19189: gcc -c -g -O2 -I/usr/include/openssl conftest.c >&5
In file included from /usr/include/openssl/ssl.h:179,
                 from conftest.c:126:
/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 conftest.c:126:
/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
....etc....


configure:19222: checking openssl/ssl.h presence
configure:19232: gcc -E -I/usr/include/openssl conftest.c
In file included from /usr/include/openssl/ssl.h:179,
                 from conftest.c:92:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
configure:19238: $? = 1
configure: failed program was:
| /* confdefs.h.  */
.....etc......

configure:19177: checking ssl.h usability
configure:19189: gcc -c -g -O2 -I/usr/include/openssl conftest.c >&5
In file included from /usr/include/openssl/ssl.h:179,
                 from conftest.c:126:
/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 conftest.c:126:
/usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:134: parse error before "FAR"
.....etc......


Sionce I do not mention kerberos on the openssl >configure< call, why are these errors occuring? If krb5.h is needed, why isn't it included in the openssl header library?

Must one specify --no-krb5 to avoid these errors? Why?
If a reference to krb5 is automatically included without it, why aren't all krb5 components included?

Gregg Nelson
Ramsey County, MN