krb5.h referenced when "no-krb5" specified on >config<

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

krb5.h referenced when "no-krb5" specified on >config<

Nelson, Gregg
krb5.h referenced when "no-krb5" specified on >config<

Trouble installing openldap with openssl.

"krb5.h" is referenced from ssl.h even when
"no-krb5" specified on call to >config<.

ssl.h contains:
#include <openssl/kssl.h>

kssl.h contains:
#include <krb5.h>       <<--- this file missing


I installed openssl (v  0.9.8a) using the following statements:

        ./config \
        --openssldir=/usr/local/openssl \
        no-threads \
        no-zlib \
        no-krb5 \
        no-rc5 \
        no-idea \
        shared

        make clean; make; make install


I then attempt to install openldap ( v 2.3.11) as follows:

        CPPFLAGS='-I/usr/include/openssl'
        export CPPFLAGS
       
        ./configure     --prefix=/usr/local \
                        --with-tls \
                        --with-cyrus-sasl \
                        --enable-wrappers \
                        --enable-crypt \
                        --enable-bdb

        make depend; make clean; make; make test; make install


The openldap >configure< fails with the following messages in config.log:

configure:19176: checking openssl/ssl.h usability
configure:19188: cc -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


configure:19221: checking openssl/ssl.h presence
configure:19231: cc -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:19292: checking for openssl/ssl.h
configure:19299: result: no
configure:19176: checking ssl.h usability
configure:19188: cc -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

....etc....


Gregg Nelson
Ramsey County, MN