FreeRADIUS 1.1.3 configuration issues on Solaris 9 with OpenSSL

Bob Jones bob.jones at usg.edu
Wed Dec 6 21:29:06 CET 2006


Bob Jones wrote:
> 
> And the configure output for rlm_eap_tls and others that require OpenSSL 
> are fine, *except* for rlm_otp which still looks like:
> 
> configure: configuring in src/modules/rlm_otp
> configure: running /bin/bash './configure' --prefix=/usr/local 
> '--without-rlm_ldap' '--without-rlm_krb5' '--without-rlm_sql' 
> '--without-snmp' 
> '--with-openssl-includes=/opt/TWWfsw/libopenssl097/include' 
> '--with-openssl-libraries=/opt/TWWfsw/libopenssl097/lib' 
> '--with-rlm-perl-includes-dir=/opt/TWWfsw/perl586/lib/5.8.6/sun4-solaris-thread-multi/CORE' 
> 'CC=/opt/SUNWspro/bin/cc' 'CFLAGS=-L/opt/TWWfsw/libopenssl097/lib 
> -R/opt/TWWfsw/libopenssl097/lib -L/opt/TWWfsw/libgdbm182/lib 
> -R/opt/TWWfsw/libgdm182/lib' 'CXX=/opt/SUNWspro/bin/CC' 
> 'F77=/opt/SUNWspro/bin/f77' 'LDFLAGS=' --enable-ltdl-install 
> --cache-file=/dev/null --srcdir=.
> checking for gcc... /opt/SUNWspro/bin/cc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... no
> checking whether /opt/SUNWspro/bin/cc accepts -g... yes
> checking for /opt/SUNWspro/bin/cc option to accept ANSI C... none needed
> checking how to run the C preprocessor... /opt/SUNWspro/bin/cc -E
> checking for egrep... egrep
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... no
> checking for unistd.h... yes
> checking for inttypes.h... (cached) yes
> checking for SSL_new in -lssl... yes
> checking openssl/des.h usability... no
> checking openssl/des.h presence... no
> checking for openssl/des.h... no
> checking openssl/hmac.h usability... no
> checking openssl/hmac.h presence... no
> checking for openssl/hmac.h... no
> checking openssl/md4.h usability... no
> checking openssl/md4.h presence... no
> checking for openssl/md4.h... no
> checking openssl/md5.h usability... no
> checking openssl/md5.h presence... no
> checking for openssl/md5.h... no
> checking openssl/sha.h usability... no
> checking openssl/sha.h presence... no
> checking for openssl/sha.h... no
> configure: WARNING: silently not building rlm_otp.
> configure: WARNING: FAILURE: rlm_otp requires:  openssl-includes 
> openssl-includes openssl-includes openssl-includes openssl-includes.
> configure: creating ./config.status
> config.status: creating Makefile

Okay, I realized each module has it's own config.log so I took a look at 
the one for rlm_otp and it seems that the compiler is choking:

configure:3002: checking openssl/sha.h usability
configure:3014: /opt/SUNWspro/bin/cc -c -L/opt/TWWfsw/libopenssl097/lib 
-R/opt/TWWfsw/libopenssl097/lib -L/opt/TWWfsw/libgdbm182/lib 
-R/opt/TWWfsw/libgdm182/lib -Wno-cast-qual 
-I/opt/TWWfsw/libopenssl097/include  conftest.c >&5
cc: illegal option -Wno-cast-qual
configure:3020: $? = 1

Ideas?

-- 
Bob Jones
bob.jones at usg.edu



More information about the Freeradius-Users mailing list