On Tue, Mar 15, 2005 at 08:46:17PM -0500, Thomas Dickey wrote:
> On Tue, 15 Mar 2005, Joel Salomon wrote:
> >>>> ./configure --with-ssl=/usr/lib
> > configure:8128: checking for openssl include directory
> > configure:8145: gcc -c -O2  -I/usr/lib/../include  -DLINUX  conftest.c >&5
> > In file included from /usr/include/openssl/ssl.h:179,
> >                 from configure:8134:
> > /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory

> That's Redhat, I presume.  The workaround is to preset the environment, 
> e.g., (a short script):

The script should work, but isn't strictly necessary.  The problem seems
to be that Red Hat has made the OpenSSL headers depend on krb5.h but
has hidden that file away in /usr/kerberos where the C compiler can't
find it.  This wasn't a problem in Red Hat 7.x and seems to be fixed
in Fedora Core, so it's basically just Red Hat 9 (I haven't got a RH8
or RHEL box to test).

This works:

 CPPFLAGS=-DOPENSSL_NO_KRB5 ./configure --with-ssl=/usr

And presumably this would work too:

 CPPFLAGS=-I/usr/kerberos/include ./configure --with-ssl=/usr

imc


_______________________________________________
Lynx-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to