The toplevel config.log does not have much information. I go down to the rlm_eap_tls and run 'configure'. This time the config.log does show that it can find the file and compilation passes.
When I go back to the root directory and rebuild, it does find the header file. Now it compiles fine. Have no idea what happened. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Paul > Hampson > Sent: Tuesday, October 14, 2003 9:05 PM > To: [EMAIL PROTECTED] > Subject: RE: SSL header file > > > > From: Alex Chen > > Sent: Wednesday, 15 October 2003 8:41 AM > > > I am using Linux 9 and FreeRadius 0.9.1. > > I tried to build the rlm_eap_tls module but somehow the > > configuration script cannot find the header file ssl.h. > > I have installed the following packages in the box: > > > [root]# rpm -qa | grep openssl > > openssl-devel-0.9.7a-2 > > openssl-0.9.7a-2 > > > [root]# ls /usr/include/openssl > > aes.h conf.h evp.h opensslconf.h rsa.h > txt_db.h > > asn1.h crypto.h hmac.h opensslv.h > safestack.h ui_compat.h > > asn1_mac.h des.h krb5_asn.h ossl_typ.h sha.h ui.h > > asn1t.h des_old.h kssl.h pem2.h ssl23.h > x509.h > > bio.h dh.h lhash.h pem.h ssl2.h > x509v3.h > > blowfish.h dsa.h md2.h pkcs12.h ssl3.h > x509_vfy.h > > bn.h dso.h md4.h pkcs7.h ssl.h > > buffer.h ebcdic.h md5.h rand.h stack.h > > cast.h engine.h objects.h rc2.h symhacks.h > > comp.h e_os2.h obj_mac.h rc4.h tls1.h > > conf_api.h err.h ocsp.h ripemd.h tmdiff.h > > This looks fine to me. > > > The output from configure shows > > ... > > configuring in ./types/rlm_eap_tls > > running /bin/sh > > ./configure --with-experimental-modules > --enable-ltdl-install --cache-file= > > ../../../../.././config.cache --srcdir=. > > loading cache ../../../../.././config.cache > > checking for gcc... (cached) gcc > > checking whether the C compiler > > (gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall > -D_GNU_SOURCE -DND > > EBUG ) works... yes > > checking whether the C compiler > > (gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall > -D_GNU_SOURCE -DND > > EBUG ) is a cross-compiler... no > > checking whether we are using GNU C... (cached) yes > > checking whether gcc accepts -g... (cached) yes > > checking for openssl/ssl.h... no > > <-------------------- 'configure' declares that ssl.h does > not exist > > checking for DH_new in -lcrypto... yes > > checking for SSL_new in -lssl... yes > > checking how to run the C preprocessor... (cached) gcc -E > > checking for openssl/err.h... (cached) yes > > checking for openssl/engine.h... (cached) yes > > configure: warning: silently not building rlm_eap_tls. > > configure: warning: FAILURE: rlm_eap_tls requires: (openssl/ssl.h). > > creating ./config.status > > creating Makefile > > creating config.h > > config.h is unchanged > > Have a look in src/modules/rlm_eap/types/rlm_eap_tls/config.log > and see why it failed to find openssl/ssl.h... A brief glance > suggests that all it does is try to build a file like: > #include <openssl/ssl.h> > int main() { > int a = 1; > ; return 0; } > > So see if you can work out why that doesn't work... > > -- > Paul "TBBle" Hampson > Bubblesworth Pty Ltd (ABN: 51 095 284 361) > [EMAIL PROTECTED] > > On a sidewalk near Portland State > University someone wrote `Trust Jesus', and > someone else wrote `But Cut the Cards'. > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
