Freeradius 1.0 compile fails in Solaris 2.8, gcc 2.95.3
Here is the relevant output...

Making static dynamic in rlm_eap...
make[6]: Entering directory `/space/radius/freeradius-1.0.0/src/modules/rlm_eap'
gcc  -fcse-skip-blocks -fexpensive-optimizations -finline-functions 
-fomit-frame-pointer -O3 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 
-Wall -D_GNU_SOURCE -DNDEBUG  -I../../include  -I./libeap -c rlm_eap.c -o rlm_eap.o
In file included from rlm_eap.c:26:
rlm_eap.h:26: ltdl.h: No such file or directory
make[6]: *** [rlm_eap.o] Error 1
make[6]: Leaving directory `/space/radius/freeradius-1.0.0/src/modules/rlm_eap'
make[5]: *** [common] Error 1
make[5]: Leaving directory `/space/radius/freeradius-1.0.0/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/space/radius/freeradius-1.0.0/src/modules'
make[3]: *** [common] Error 1
make[3]: Leaving directory `/space/radius/freeradius-1.0.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/space/radius/freeradius-1.0.0/src'
make[1]: *** [common] Error 1
make[1]: Leaving directory `/space/radius/freeradius-1.0.0'
make: *** [all] Error 2

I can see that ltdl.h is not in the include path passed to gcc but in
./libltdl/ltdl.h. The problem is solved if we use the
--with-ltdl-include in the configure line 


Making static dynamic in rlm_x99_token...
make[6]: Entering directory `/space/radius/freeradius-1.0.0/src/modules/rlm_x99_token'
gcc  -fcse-skip-blocks -fexpensive-optimizations -finline-functions 
-fomit-frame-pointer -O3 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 
-Wall -D_GNU_SOURCE -DNDEBUG  -I../../include -DX99_MODULE_NAME=\"rlm_x99_token\"  
-DFREERADIUS -c x99_rlm.c -o x99_rlm.o
In file included from x99_rlm.c:54:
x99.h:26: openssl/des.h: No such file or directory

I do not have openssl in the system. Shouldn't autoconf diagnose this
and disable rlm_x99_token as it did in several eap modules?
I solved it using  --without-rlm_x99_token in the configure line.


-- 
  Kostas Zorbadelos
  Currently at: Otenet IT Department 
  mailto: [EMAIL PROTECTED]
  
  Out there in the darkness, out there in the night
  out there in the starlight, one soul burns brighter
  than a thousand suns.


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

Reply via email to