"Burton M. Strauss III" a écrit :
What did you use for the --with-ossl-xxxx parameters?
Nothing at first, then  --with-ossl-root=/usr/include/openssl/
If it's not in the STANDARD locations, e.g. /usr/include/xxxx.h and a few
other, system specific values, you must tell gcc where to look.
Yes, I know ;-)

In fact, it seems that it does find the suitable directory by itself (see in my post of yesterday, the output of ./configure : it finds all headers for openssl except this one, which must mean -  I think - that the path is correct). I would understand the problem if the output from "ls /usr/include/openssl/" didn't show me *all* the headers (that is, the ones ./configure finds *and* the one it doesn't : ssl.h)

Thanks a lot for your help

Loïc
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of B. Loïc
Sent: Tuesday, August 05, 2003 4:54 AM
To: [EMAIL PROTECTED]
Subject: [Ntop-dev] Building with openssl : can't find existing ssl.h

Hello,

Trying to configure ntop 2.2c with ssl support on Linux RH (7.1 and 9),
I get the following warning :

checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
[...]
checking for openSSL... configure: WARNING: error

*******************************************************************
*
* WARNING:  One or more items required for openSSL are missing:
*           (yes means it was found, no means it was not found)
*
*                  openssl/crypto.h...yes
*                  openssl/err.h...yes
*                  openssl/pem.h...yes
*                  openssl/rsa.h...yes
*                  openssl/ssl.h...no
*                  openssl/x509.h...yes
*                  libssl.so or libssl.a...yes
*
*>>>    ntop will be built without openSSL
*
*???     1. Install the necessary headers and libraries.
*???    and rerun ./configure
*
*******************************************************************

I checked out current CVS version, it gives me the same error.

However :
[EMAIL PROTECTED] ntop]$ locate ssl.h
/usr/include/openssl/kssl.h
/usr/include/openssl/ssl.h
[EMAIL PROTECTED] ntop]$ ls /usr/include/openssl/
aes.h       blowfish.h  conf_api.h  dh.h      e_os2.h     kssl.h
objects.h      ossl_typ.h  rand.h    safestack.h  ssl.h
txt_db.h     x509_vfy.h
asn1.h      bn.h        conf.h      dsa.h     err.h       lhash.h
obj_mac.h      pem2.h      rc2.h     sha.h        stack.h
ui_compat.h
asn1_mac.h  buffer.h    crypto.h    dso.h     evp.h       md2.h
ocsp.h         pem.h       rc4.h     ssl23.h      symhacks.h  ui.h
asn1t.h     cast.h      des.h       ebcdic.h  hmac.h      md4.h
opensslconf.h  pkcs12.h    ripemd.h  ssl2.h       tls1.h      x509.h
bio.h       comp.h      des_old.h   engine.h  krb5_asn.h  md5.h
opensslv.h     pkcs7.h     rsa.h     ssl3.h       tmdiff.h    x509v3.h

Looks like it finds some of the files and not ssl.h (which is indeed
present, and chmod 644 like all the others)... Can't see why (I am
automake/autoconf illiterate). The file if from redhat's openssl-devel
package.

Regards,

Loïc

_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to