error make rlm_tls

Pilar Sanchez pilar.sanchez at cedex.es
Wed May 30 13:47:47 CEST 2007


Hello
I think I've found the solution to my problem.                      

I put as option of "compile" 
-with-openssl-libraries=/usr/local/ssl/lib
--with-openssl-includes=/usr/local/ssl/include 

But this was not enough, I've had to add the variable
OPENSS_LIBS=/usr/local/ssl/lib

After compiling, and before to do the "make", I've had to modify the
Makefile of rlm_eap_peap, rlm_eap_tls and rlm_eap_tls and put the path to
SSL library and include, instead of variables, in RLM_CFLAGS and RLM_LIBS: 

ORIGINAL MAKEFILE 

TARGET      = rlm_eap_peap
SRCS        = rlm_eap_peap.c peap.c
HEADERS     = eap_peap.h ../../eap.h ../../rlm_eap.h
RLM_CFLAGS  = -I../.. -I../../libeap $(INCLTDL) $(OPENSSL_INCLUDE)
RLM_LIBS    =  ../../libeap/libeap.la $(OPENSSL_LIBS)
..
..

MODIFIED MAKEFILE 

TARGET      = rlm_eap_peap
SRCS        = rlm_eap_peap.c peap.c
HEADERS     = eap_peap.h ../../eap.h ../../rlm_eap.h
RLM_CFLAGS  = -I../.. -I../../libeap -I/usr/local/ssl/include $(INCLTDL)
RLM_LIBS    =  ../../libeap/libeap.la /usr/local/ssl/lib
..
..

With these options and changes the "make" has worked and I can finish the
installation of FR with eap-peap, eap_tls and eap_ttls modules

Maybe this can help other people

Regards


> -----Mensaje original-----
> De: freeradius-users-bounces+pilar.sanchez=cedex.es at lists.freeradius.org
> [mailto:freeradius-users-
> bounces+pilar.sanchez=cedex.es at lists.freeradius.org] En nombre de Pilar
> Sanchez
> Enviado el: martes, 29 de mayo de 2007 15:21
> Para: Freeradius-Users at lists.freeradius.org
> Asunto: error make rlm_tls
> 
> Hello
> 
> I'm trying to install FR 1.1.6 (from .tar file) on Solaris 8, with openssl
> 0.9.8e (also installed from .tar file), and when I do the "make", the
> types
> rlm_eap_peap and rlm_eap_tls fail. When I do the "compile" they find the
> OpenSSL libs
> 
> The error is:
> 
> In file included from eap_peap.h:25,
>                  from rlm_eap_peap.c:24:
> ../../libeap/eap_tls.h:138: error: parse error before "SSL"
> 
> 
> I know this is an "old" problem but, I thougth that was related with a bug
> in 1.1.1 version
> 
> Does someone give me some indications on how to solve this problem?
> Thanks in advance
> 
> 
> 
> *******************************************
>  Pilar Sánchez Fernández
>  Comunicaciones CEDEX
>  C/ Alfonso XII nº 3 y 5
>  Tel: 91 335 72 81
>  Mail: pilar.sanchez at cedex.es
>  http://www.cedex.es
> ********************************************
> 
> 
> 
> 
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html





More information about the Freeradius-Users mailing list