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

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


Even after I copied all the header files from /usr/include/openssl to
/usr/include, the result is still the same.

Any help is appreciated.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to