lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] configuring lynx with ssl


From: Thomas Dickey
Subject: Re: [Lynx-dev] configuring lynx with ssl
Date: Tue, 15 Mar 2005 20:46:17 -0500 (EST)

On Tue, 15 Mar 2005, Joel Salomon wrote:

On Tue, 15 Mar 2005 20:17:01 -0500 (EST), Thomas Dickey <address@hidden> wrote:
./configure --with-ssl=/usr/lib
checking for openssl include directory... no
checking if we can link to ssl library... no
configure: error: Cannot link with ssl library

But what does config.log show in this case?

If it's not a (silent) logic error in the configure script, there would
be some sort of error message telling what options it tried to use for
linking, and why it didn't work.

Oh, wow.
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):

#!/bin/sh
KRB=/usr/kerberos
export LIBS="-L$KRB/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto 
-lcom_err"
export CPPFLAGS="-I$KRB/include -I/usr/include/openssl"
export CFLAGS="-O -g $CPPFLAGS"
./configure $*

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]