[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem building 0.4e with openssl crypto + krb4
Thanks,
It works. I would have been able to do the configure hack myself, of
course, but I would have missed lib/vers/. However, I hope someone comes
up with a bit more general solution for the next release... ;-)
Cheers,
Torbjorn
Daniel Kouril wrote:
>
> On Fri, Mar 15, 2002 at 02:45:36PM +0100, Torbjörn Moa wrote:
> > Hi,
> >
> > I am having problems building 0.4e with kaserver (krb4) support on a
> > Linux (RH 7.2) box. What I see is that configure refuses to acknowledge
> > the existence of the krb4 installation. A snip from config.log:
> >
> > configure:16986: gcc -o conftest -I/usr/athena/include -g -O2
> > conftest.c -L/usr/athena/lib -lkrb -ldes -lresolv >&5
> > /usr/bin/ld: cannot find -ldes
> > collect2: ld returned 1 exit status
> > configure:16989: $? = 1
> > configure: failed program was:
> > #line 16974 "configure"
> > #include "confdefs.h"
> > #include <krb.h>
> > int
> > main ()
> > {
> >
> > ;
> > return 0;
> > }
> >
> >
> > The reason for the des library being missing is that I have openssl
> > installed, so krb4 is using -lcrypto instead. (And so is the heimdal
> > config, btw, but not in the krb4 check...). So hardcoding the des
> > library (two places in configure.in) in the check for krb4 seems buggy
> > to me. Or am I missing something...?
> >
> > Not being an expert in autoconf et al., I would appreciate some help
> > with a hack that would fix this without screwing up too much of the
> > rest.
>
> Try using the enclosed patch. It changes the configure script not
> configure.in as I don't have the demanded version of autoconf. But it should
> work. If your Openssl is installed in a non-standard place you will perhaps
> need to hint with something similar:
> CPPFLAGS=-I/software/openssl-0.9.6/include \
> LDFLAGS=-L/software/openssl-0.9.6/lib ../configure --enable-kaserver
> --disable-shared --with-openssl=/software/openssl-0.9.6 \
> --with-krb4=/software/krb4-1.1
>
> --
> Dan
>
> ------------------------------------------------------------------------
>
> krb4-1.1.patchName: krb4-1.1.patch
> Type: Plain Text (text/plain)