Hi i am have problema with the compilation in a box SUN SPARC T6300 with Solaris 10 the following is the messages display gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c fifo.c -o fifo.o >/dev/null 2>&1 /export/home/install/freeradius-server-2.1.6/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c packet.c gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c packet.c -fPIC -DPIC -o .libs/packet.o gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c packet.c -o packet.o >/dev/null 2>&1 /export/home/install/freeradius-server-2.1.6/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c event.c gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c event.c -fPIC -DPIC -o .libs/event.o gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c event.c -o event.o >/dev/null 2>&1 /export/home/install/freeradius-server-2.1.6/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c getaddrinfo.c gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c getaddrinfo.c -fPIC -DPIC -o .libs/getaddrinfo.o gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c getaddrinfo.c -o getaddrinfo.o >/dev/null 2>&1 /export/home/install/freeradius-server-2.1.6/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c vqp.c gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c vqp.c -fPIC -DPIC -o .libs/vqp.o gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c vqp.c -o vqp.o >/dev/null 2>&1 /export/home/install/freeradius-server-2.1.6/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c heap.c gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c heap.c -fPIC -DPIC -o .libs/heap.o gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c heap.c -o heap.o >/dev/null 2>&1 /export/home/install/freeradius-server-2.1.6/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c dhcp.c gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c dhcp.c -fPIC -DPIC -o .libs/dhcp.o gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius-server-2.1.6/src -c dhcp.c -o dhcp.o >/dev/null 2>&1 /export/home/install/freeradius-server-2.1.6/libtool --mode=link gcc -release 2.1.6 \ -export-dynamic -o libfreeradius-radius.la -rpath /usr/local/lib dict.lo filters.lo hash.lo hmac.lo hmacsha1.lo isaac.lo log.lo misc.lo missing.lo md4.lo md5.lo print.lo radius.lo rbtree.lo sha1.lo snprintf.lo strlcat.lo strlcpy.lo token.lo udpfromto.lo valuepair.lo fifo.lo packet.lo event.lo getaddrinfo.lo vqp.lo heap.lo dhcp.lo gcc -shared -Wl,-h -Wl,libfreeradius-radius-2.1.6.so -o .libs/libfreeradius-radius-2.1.6.so .libs/dict.o .libs/filters.o .libs/hash.o .libs/hmac.o .libs/hmacsha1.o .libs/isaac.o .libs/log.o .libs/misc.o .libs/missing.o .libs/md4.o .libs/md5.o .libs/print.o .libs/radius.o .libs/rbtree.o .libs/sha1.o .libs/snprintf.o .libs/strlcat.o .libs/strlcpy.o .libs/token.o .libs/udpfromto.o .libs/valuepair.o .libs/fifo.o .libs/packet.o .libs/event.o .libs/getaddrinfo.o .libs/vqp.o .libs/heap.o .libs/dhcp.o -lc (cd .libs && rm -f libfreeradius-radius.so && ln -s libfreeradius-radius-2.1.6.so libfreeradius-radius.so) false cru .libs/libfreeradius-radius.a dict.o filters.o hash.o hmac.o hmacsha1.o isaac.o log.o misc.o missing.o md4.o md5.o print.o radius.o rbtree.o sha1.o snprintf.o strlcat.o strlcpy.o token.o udpfromto.o valuepair.o fifo.o packet.o event.o getaddrinfo.o vqp.o heap.o dhcp.o gmake[4]: *** [libfreeradius-radius.la] Error 1 gmake[4]: Leaving directory `/export/home/install/freeradius-server-2.1.6/src/lib' gmake[3]: *** [common] Error 2 gmake[3]: Leaving directory `/export/home/install/freeradius-server-2.1.6/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/export/home/install/freeradius-server-2.1.6/src' gmake[1]: *** [common] Error 2 gmake[1]: Leaving directory `/export/home/install/freeradius-server-2.1.6' make: *** [all] Error 2 # Thanks in advence.
Am 24.07.2009 um 15:35 schrieb Julio Villacis Guevara:
Hi i am have problema with the compilation in a box SUN SPARC T6300 with Solaris 10 the following is the messages display gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c fifo.c -o fifo.o >/dev/null 2>&1 /export/home/install/freeradius-server-2.1.6/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c packet.c gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c packet.c -fPIC -DPIC -o .libs/packet.o gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c packet.c -o packet.o >/dev/null 2>&1 /export/home/install/freeradius-server-2.1.6/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c event.c gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c event.c -fPIC -DPIC -o .libs/event.o gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c event.c -o event.o >/dev/null 2>&1 /export/home/install/freeradius-server-2.1.6/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c getaddrinfo.c gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c getaddrinfo.c -fPIC -DPIC -o .libs/getaddrinfo.o gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c getaddrinfo.c -o getaddrinfo.o >/dev/null 2>&1 /export/home/install/freeradius-server-2.1.6/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c vqp.c gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c vqp.c -fPIC -DPIC -o .libs/vqp.o gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c vqp.c -o vqp.o >/dev/null 2>&1 /export/home/install/freeradius-server-2.1.6/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c heap.c gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c heap.c -fPIC -DPIC -o .libs/heap.o gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c heap.c -o heap.o >/dev/null 2>&1 /export/home/install/freeradius-server-2.1.6/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c dhcp.c gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c dhcp.c -fPIC -DPIC -o .libs/dhcp.o gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I/export/home/install/freeradius- server-2.1.6/src -c dhcp.c -o dhcp.o >/dev/null 2>&1 /export/home/install/freeradius-server-2.1.6/libtool --mode=link gcc -release 2.1.6 \ -export-dynamic -o libfreeradius-radius.la -rpath /usr/ local/lib dict.lo filters.lo hash.lo hmac.lo hmacsha1.lo isaac.lo log.lo misc.lo missing.lo md4.lo md5.lo print.lo radius.lo rbtree.lo sha1.lo snprintf.lo strlcat.lo strlcpy.lo token.lo udpfromto.lo valuepair.lo fifo.lo packet.lo event.lo getaddrinfo.lo vqp.lo heap.lo dhcp.lo gcc -shared -Wl,-h -Wl,libfreeradius-radius-2.1.6.so -o .libs/ libfreeradius-radius-2.1.6.so .libs/dict.o .libs/filters.o .libs/ hash.o .libs/hmac.o .libs/hmacsha1.o .libs/isaac.o .libs/log.o .libs/ misc.o .libs/missing.o .libs/md4.o .libs/md5.o .libs/print.o .libs/ radius.o .libs/rbtree.o .libs/sha1.o .libs/snprintf.o .libs/ strlcat.o .libs/strlcpy.o .libs/token.o .libs/udpfromto.o .libs/ valuepair.o .libs/fifo.o .libs/packet.o .libs/event.o .libs/ getaddrinfo.o .libs/vqp.o .libs/heap.o .libs/dhcp.o -lc (cd .libs && rm -f libfreeradius-radius.so && ln -s libfreeradius- radius-2.1.6.so libfreeradius-radius.so)
false cru .libs/libfreeradius-radius.a dict.o filters.o hash.o hmac.o hmacsha1.o isaac.o log.o misc.o missing.o md4.o md5.o print.o radius.o rbtree.o sha1.o snprintf.o strlcat.o strlcpy.o token.o udpfromto.o valuepair.o fifo.o packet.o event.o getaddrinfo.o vqp.o heap.o dhcp.o
Here you have false. so probably you are missing a tool, that configure could not find. (Sorry, I do not know how the tool makring static libraries is supposed to be named on Solaris.)Í
gmake[4]: *** [libfreeradius-radius.la] Error 1 gmake[4]: Leaving directory `/export/home/install/freeradius- server-2.1.6/src/lib' gmake[3]: *** [common] Error 2 gmake[3]: Leaving directory `/export/home/install/freeradius- server-2.1.6/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/export/home/install/freeradius- server-2.1.6/src' gmake[1]: *** [common] Error 2 gmake[1]: Leaving directory `/export/home/install/freeradius- server-2.1.6' make: *** [all] Error 2 # Thanks in advence.
<image001.gif>
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Nicolas Goutte extragroup GmbH - Karlsruhe Waldstr. 49 76133 Karlsruhe Germany Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle Registergericht: Amtsgericht Münster / HRB: 5624 Steuer Nr.: 337/5903/0421 / UstID: DE 204607841
false cru .libs/libfreeradius-radius.a dict.o filters.o hash.o hmac.o hmacsha1.o isaac.o log.o misc.o missing.o md4.o md5.o print.o radius.o rbtree.o sha1.o snprintf.o strlcat.o strlcpy.o token.o udpfromto.o valuepair.o fifo.o packet.o event.o getaddrinfo.o vqp.o heap.o dhcp.o
Here you have false. so probably you are missing a tool, that configure could not find. (Sorry, I do not know how the tool makring static libraries is supposed to be named on Solaris.)Í
Amend your path to include /usr/ccs/bin then re ./configure - it is missing the "ar" command which is locate at /usr/ccs/bin/ar (I ran fowl of this one too). Steve -- Steven Carr Systems Development Officer SLS/ITS/Systems - (0191) 515 3953
Hi Really it was absent/usr/ccs/bin. I see that when executed ./configure display the following warning checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... no configure: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: openssl/ssl.h: proceeding with the compiler's result checking for openssl/ssl.h... yes checking openssl/crypto.h usability... yes checking openssl/crypto.h presence... no configure: WARNING: openssl/crypto.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: openssl/crypto.h: proceeding with the compiler's result checking for openssl/crypto.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... no configure: WARNING: openssl/err.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: openssl/err.h: proceeding with the compiler's result checking for openssl/err.h... yes checking openssl/evp.h usability... yes checking openssl/evp.h presence... no configure: WARNING: openssl/evp.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: openssl/evp.h: pro Any idea Ing. Julio Villacís G. Ingeniero de Servicios Comware S.A. (593 4) 2690170 Ext. 4500 www.comware.com.ec Guayaquil-Ecuador -----Mensaje original----- De: freeradius-users-bounces+jvillaci=comware.com.ec@lists.freeradius.org [mailto:freeradius-users-bounces+jvillaci=comware.com.ec@lists.freeradius.or g] En nombre de Steven Carr Enviado el: Friday, July 24, 2009 12:32 PM Para: FreeRadius users mailing list Asunto: Re: Problem with compilation
false cru .libs/libfreeradius-radius.a dict.o filters.o hash.o hmac.o hmacsha1.o isaac.o log.o misc.o missing.o md4.o md5.o print.o radius.o rbtree.o sha1.o snprintf.o strlcat.o strlcpy.o token.o udpfromto.o valuepair.o fifo.o packet.o event.o getaddrinfo.o vqp.o heap.o dhcp.o
Here you have false. so probably you are missing a tool, that configure could not find. (Sorry, I do not know how the tool makring static libraries is supposed to be named on Solaris.)Í
Amend your path to include /usr/ccs/bin then re ./configure - it is missing the "ar" command which is locate at /usr/ccs/bin/ar (I ran fowl of this one too). Steve -- Steven Carr Systems Development Officer SLS/ITS/Systems - (0191) 515 3953
On 24/7/09 18:57, Julio Villacis Guevara wrote:
I see that when executed ./configure display the following warning
checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... no configure: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: openssl/ssl.h: proceeding with the compiler's result
The OpenSSL you are using is not compatible with FreeRADIUS (the version shipped with Solaris is broken). You will need to install the version from Sunfreeware.com and then ensure when you ./configure that you add in the correct commands to point to the right location of OpenSSL. I did the following to get FreeRADIUS installed on our Solaris 10 box: Install the OpenSSL and OpenLDAP packages and their dependencies from sunfreeware.com Then I had to do the following to get it to configure: export PATH=$PATH:/usr/ccs/bin ./configure --with-openssl=yes --with-openssl-dir=/usr/local/ssl --with-openssl-includes=/usr/local/ssl/include --with-openssl-libraries=/usr/local/ssl/lib --with-rlm-ldap-lib-dir=/usr/local/lib --with-rlm-ldap-include-dir=/usr/local/include After the configure had completed I could then run "make" to compile FreeRADIUS. After it had compiled I ran "make install" to install FreeRADIUS. I then needed to modify the system library paths so that FreeRADIUS could load the required libraries without any config file modifications, this was achieved by running the following command on our system: crle -u -l /lib:/usr/lib:/usr/local/lib:/usr/local/ssl/lib Steve -- Steven Carr Systems Development Officer SLS/ITS/Systems - (0191) 515 3953
Hi i install openssl and ldap and compile success Thank you Ing. Julio Villacís G. Ingeniero de Servicios Comware S.A. (593 4) 2690170 Ext. 4500 www.comware.com.ec Guayaquil-Ecuador -----Mensaje original----- De: freeradius-users-bounces+jvillaci=comware.com.ec@lists.freeradius.org [mailto:freeradius-users-bounces+jvillaci=comware.com.ec@lists.freeradius.or g] En nombre de Steven Carr Enviado el: Friday, July 24, 2009 2:20 PM Para: FreeRadius users mailing list Asunto: Re: Problem with compilation On 24/7/09 18:57, Julio Villacis Guevara wrote:
I see that when executed ./configure display the following warning
checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... no configure: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: openssl/ssl.h: proceeding with the compiler's result
The OpenSSL you are using is not compatible with FreeRADIUS (the version shipped with Solaris is broken). You will need to install the version from Sunfreeware.com and then ensure when you ./configure that you add in the correct commands to point to the right location of OpenSSL. I did the following to get FreeRADIUS installed on our Solaris 10 box: Install the OpenSSL and OpenLDAP packages and their dependencies from sunfreeware.com Then I had to do the following to get it to configure: export PATH=$PATH:/usr/ccs/bin ./configure --with-openssl=yes --with-openssl-dir=/usr/local/ssl --with-openssl-includes=/usr/local/ssl/include --with-openssl-libraries=/usr/local/ssl/lib --with-rlm-ldap-lib-dir=/usr/local/lib --with-rlm-ldap-include-dir=/usr/local/include After the configure had completed I could then run "make" to compile FreeRADIUS. After it had compiled I ran "make install" to install FreeRADIUS. I then needed to modify the system library paths so that FreeRADIUS could load the required libraries without any config file modifications, this was achieved by running the following command on our system: crle -u -l /lib:/usr/lib:/usr/local/lib:/usr/local/ssl/lib Steve -- Steven Carr Systems Development Officer SLS/ITS/Systems - (0191) 515 3953
participants (3)
-
Julio Villacis Guevara -
Nicolas Goutte -
Steven Carr