[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Maybe a little OT: SASL 2.1.9 & Heimdal & GSSAPI



Hi,

On Tuesday 29 October 2002 08:00, Harry Rüter wrote:
> i'm trying to install SASL 2.1.9 with the GSSAPI-option,
> so that i can install openldap 2.1.8 with GSSAPI ...
>
> I'm using heimdal 0.5.1 KerberosV.
> My problem is, that the configure-run of SASL doesn't find heimdal.
>
> My configure-process is the following (put into a little script) :
>
> ---snipp---
> #!/bin/sh
>
> export CPPFLAGS="-I/usr/local/ssl/include -I/usr/local/heimdal/include"
> export LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/heimdal/lib"
>
> make clean
>
> ./configure \
> --prefix=/usr/local/sasl-2-1-9 \
> --mandir=/usr/share/man \
> --with-static-sasl \
> --with-bdb-lib-dir=/usr/local/berkeleydb4/lib \
> --with-bdb-include-dir=/usr/local/berkeleydb4/include \
> --with-openssl=/usr/local/ssl \
> --enable-gssapi=/usr/local/heimdal/lib \
> --enable-digest \
> --enable-krb4=no \
> && make && checkinstall
> ---snipp---

I had a similar problem compiling SASL 2.1.9 using a ready-made heimdal.
The problem is that the detection of heimdal in configure creating wrong 
library dependencies in the Makefiles.

I worked around my problem by adding "-lcrypto -ldb" to the LDFLAGS
for the SASL configure. This helped because the test for heimdal did
not include these two necessary libraries into the generated test program
leading it to fail and then falsely not detecting heimdal.

I informed the Cyrus people about the problem, but did not get any
response yet.

Yours
Peter

-- 
Peter Marschall     |   eMail: peter.marschall@mayn.de
Scheffelstraße 15   |          peter.marschall@is-energy.de
97072 Würzburg      |   Tel:   0931/14721
PGP:  D7 FF 20 FE E6 6B 31 74  D1 10 88 E0 3C FE 28 35