lynx-dev
[Top][All Lists]
Advanced

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

RE: [Lynx-dev] 2.8.8d2 build error on linux, missing headers


From: Thomas Dickey
Subject: RE: [Lynx-dev] 2.8.8d2 build error on linux, missing headers
Date: Mon, 15 Mar 2010 18:19:51 -0400 (EDT)

On Mon, 15 Mar 2010, Larson, Timothy E. wrote:

Did the configure script not find existing OpenSSL development
headers?

Evidently not.  Config.log says

configure:12593:17: ssl.h: No such file or directory

Line 12593 is the "#else" here:

#if defined(USE_OPENSSL_INCL)
#include <openssl/ssl.h>
#elif defined(USE_GNUTLS_FUNCS)
#include <gnutls/gnutls.h>
#elif defined(USE_GNUTLS_INCL)
#include <gnutls/openssl.h>
#else
#include <ssl.h>
#endif

I believe that indicates the error is finding ssl.h, not openssl/ssl.h (which I 
have).

Possibly relevant lines from the end of the config.log are:

cf_cv_have_ssl=yes
cf_cv_header_path_ssl=/usr/kerberos/include
cf_cv_library_path_ssl=/usr/kerberos/lib
cf_cv_use_libssl=yes
#define USE_SSL 1

That (kerberos) sounds like Redhat.  I have this script for fixing an
old Redhat 9.0 which hasn't been incorporated into the configure 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"
cfg-lynx $*

("cfg-lynx" is another script which provides the normal options).

ATM I'm trying to find the part that checks which SSL implementation you have, 
to find why USE_OPENSSL_INCL (which is what I think would be correct) wasn't 
defined.  That should be more conclusive.

In aclocal.m4, that starts with the CF_SSL macro.

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




reply via email to

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