On Tue, 15 Mar 2005, Joel Salomon wrote:
On Tue, 15 Mar 2005 20:17:01 -0500 (EST), Thomas Dickey <[EMAIL PROTECTED]> wrote:./configure --with-ssl=/usr/libchecking 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
_______________________________________________ Lynx-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lynx-dev
