Re: 1.1.3 on Solaris 10 (sparc)
You should post this to thet userlist (I am cc'ing them on this reply). Perhaps someone there has seen the "false cru" error before... I'm no compiler guru, but google tells me that libtool may be to blame. I don't acutally show libtool installed on my box and don't know much about it. Regards, Lin On 9/5/06, Ahsan Rafiqul-CRA064 <rahsan@motorola.com> wrote:
Hi Lin Richardson,
I need your help. As I understand you succesfully installed freeRadius 1.1.3 for Solaris 10. I tried to follow your direction as follows, and installed all necessary pacjkage (openssl, and openldap...as you suggested). However, I am getting error at make, as follow:
# make gmake[1]: Entering directory `/export/home/dev/rafi_dir/free_radius_1.1.3/freeradius-1.1.3' Making all in libltdl... gmake[2]: Entering directory `/export/home/dev/rafi_dir/free_radius_1.1.3/freeradius-1.1.3/libltdl' /usr/sfw/bin//gmake all-am gmake[3]: Entering directory `/export/home/dev/rafi_dir/free_radius_1.1.3/freeradius-1.1.3/libltdl' /bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -no-undefined -version-info 4:4:1 -o libltdl.la -rpath /usr/local/lib ltdl.lo -ldl -lnsl -lresolv -lsocket -lposix4 -lpthread rm -fr .libs/libltdl.so .libs/libltdl.so.3 .libs/libltdl.so.3.1.4 gcc -shared -Wl,-h -Wl,libltdl.so.3 -o .libs/libltdl.so.3.1.4 .libs/ltdl.o -ldl -lnsl -lresolv -lsocket -lposix4 -lpthread -lc (cd .libs && rm -f libltdl.so.3 && ln -s libltdl.so.3.1.4 libltdl.so.3) (cd .libs && rm -f libltdl.so && ln -s libltdl.so.3.1.4 libltdl.so) false cru .libs/libltdl.a ltdl.o gmake[3]: *** [libltdl.la] Error 1 gmake[3]: Leaving directory `/export/home/dev/rafi_dir/free_radius_1.1.3/freeradius-1.1.3/libltdl' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/export/home/dev/rafi_dir/free_radius_1.1.3/freeradius-1.1.3/libltdl' gmake[1]: *** [common] Error 2 gmake[1]: Leaving directory `/export/home/dev/rafi_dir/free_radius_1.1.3/freeradius-1.1.3' make: *** [all] Error 2 Here is the out put of my ./configure
checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... egrep checking for AIX... no checking whether gcc needs -traditional... no checking whether we are using SUNPro C... no checking for ranlib... : checking whether byte ordering is bigendian... yes checking for gmake... yes checking for gmake... /usr/sfw/bin//gmake checking for lt_dlinit in -lltdl... no checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for /usr/ccs/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/ccs/bin/nm -p checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all 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... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 262144 checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok checking for objdir... .libs checking for ar... false checking for ranlib... (cached) : checking for strip... : checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking docdir... ${datadir}/doc/freeradius checking logdir... ${localstatedir}/log/radius checking radacctdir... ${logdir}/radacct checking raddbdir... ${sysconfdir}/raddb checking for perl... /usr/bin/perl checking for snmpget... /usr/sfw/bin//snmpget checking for snmpwalk... /usr/sfw/bin//snmpwalk checking for rusers... /usr/bin/rusers checking for working aclocal... missing checking for working autoconf... missing checking for working autoheader... missing checking for locate... no checking for dirname... /usr/bin/dirname checking for grep... /usr/bin/grep checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create in -lpthread... yes checking for library containing sem_init... -lposix4 checking for getsockname in -lsocket... yes checking for inet_aton in -lresolv... yes checking for inet_ntoa in -lnsl... yes checking for DH_new in -lcrypto... yes checking for SSL_new in -lssl... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for unistd.h... (cached) yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking resource.h usability... no checking resource.h presence... no checking for resource.h... no checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/wait.h... (cached) yes checking sys/security.h usability... no checking sys/security.h presence... no checking for sys/security.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking for sys/stat.h... (cached) yes checking sys/prctl.h usability... no checking sys/prctl.h presence... no checking for sys/prctl.h... no checking prot.h usability... no checking prot.h presence... no checking for prot.h... no checking sia.h usability... no checking sia.h presence... no checking for sia.h... no checking siad.h usability... no checking siad.h presence... no checking for siad.h... no checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/crypto.h usability... yes checking openssl/crypto.h presence... yes checking for openssl/crypto.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking openssl/engine.h usability... yes checking for openssl/engine.h... yes checking for OpenSSL version >= 0.9.7... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for socklen_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for getopt_long... yes checking for lockf... yes checking for strsignal... yes checking for sigaction... yes checking for sigprocmask... yes checking for pthread_sigmask... yes checking for snprintf... yes checking for vsnprintf... yes checking for setsid... yes checking for strncasecmp... yes checking for strcasecmp... yes checking for localtime_r... yes checking for ctime_r... yes checking for gmtime_r... yes checking for strsep... no checking for inet_aton... yes checking for inet_pton... yes checking for inet_ntop... yes checking for gethostname... yes checking for setlinebuf... yes checking for setvbuf... yes checking for getusershell... yes checking for initgroups... yes checking for closefrom... yes checking whether crypt must be declared... no checking whether strncasecmp must be declared... no checking whether strcasecmp must be declared... no checking whether inet_aton must be declared... no checking whether gethostname must be declared... no checking whether setlinebuf must be declared... no checking whether getusershell must be declared... no checking whether endusershell must be declared... no checking return type of signal handlers... void checking for ut_xtime in struct utmpx... yes checking for ipi_addr in struct in_pktinfo... no checking type of OS... SunOS checking for developer gcc flags... no. checking for crypt in -lcrypt... yes checking for setkey in -lcipher... no checking for asn1.h,snmp.h,snmp_impl.h... no checking gethostbyaddr_r() syntax... SYSV-style checking gethostbyname_r() syntax... SYSV-style checking ctime_r() syntax... POSIX-style top_builddir=/export/home/dev/rafi_dir/free_radius_1.1.3/freeradius-1.1.3 configure: creating ./config.status config.status: creating ./Make.inc config.status: creating ./src/include/build-radpaths-h config.status: creating ./src/main/Makefile config.status: creating ./src/main/checkrad.pl config.status: creating ./src/main/radlast config.status: creating ./src/main/radtest config.status: creating ./scripts/rc.radiusd config.status: creating ./scripts/radwatch config.status: creating ./scripts/check-radiusd-config config.status: creating ./scripts/radiusd.cron.daily config.status: creating ./scripts/radiusd.cron.monthly config.status: creating ./scripts/cryptpasswd config.status: creating ./raddb/dictionary config.status: creating ./raddb/radiusd.conf config.status: creating src/include/autoconf.h config.status: src/include/autoconf.h is unchanged configure: configuring in libltdl configure: running /bin/bash './configure' --prefix=/usr/local --enable-ltdl-install --cache-file=/dev/nul l --srcdir=. checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... none checking dependency style of gcc... none checking for an ANSI C-conforming const... yes checking for inline... inline checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/sfw/bin//ggrep checking for egrep... /usr/sfw/bin//ggrep -E checking for ld used by gcc... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for /usr/ccs/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/ccs/bin/nm -p checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E 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... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 262144 checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok checking for objdir... .libs checking for ar... no checking for ranlib... no checking for strip... no checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking which extension is used for loadable modules... .so checking which variable specifies run-time library path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib checking for objdir... .libs checking whether libtool supports -dlopen/-dlpreopen... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen in -ldl... yes checking for dlerror... yes checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking for error_t... no checking for argz_append... no checking for argz_create_sep... no checking for argz_insert... no checking for argz_next... no checking for argz_stringify... no checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for unistd.h... (cached) yes checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking sys/dl.h usability... yes checking sys/dl.h presence... yes checking for sys/dl.h... yes checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking mach-o/dyld.h usability... no checking mach-o/dyld.h presence... no checking for mach-o/dyld.h... no checking for string.h... (cached) yes checking for strchr... yes checking for strrchr... yes checking for memcpy... yes checking for memmove... yes checking for strcmp... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands configure: configuring in src/modules/rlm_attr_rewrite configure: running /bin/bash './configure' --prefix=/usr/local --enable-ltdl-install --cache-file=/dev/nul l --srcdir=. configure: creating ./config.status config.status: creating Makefile configure: configuring in src/modules/rlm_counter configure: running /bin/bash './configure' --prefix=/usr/local --enable-ltdl-install --cache-file=/dev/nul l --srcdir=. checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for gdbm.h... no checking for gdbm_open in -lgdbm... no checking for gdbm_fdesc... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged configure: configuring in src/modules/rlm_dbm configure: running /bin/bash './configure' --prefix=/usr/local --enable-ltdl-install --cache-file=/dev/nul l --srcdir=. checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for ndbm.h... yes checking for dbm in default lib... yes configure: creating ./config.status config.status: creating Makefile configure: configuring in src/modules/rlm_eap configure: running /bin/bash './configure' --prefix=/usr/local --enable-ltdl-install --cache-file=/dev/nul l --srcdir=. checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed configure: creating ./config.status config.status: creating Makefile configure: configuring in ./types/rlm_eap_tls configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--enable-ltdl-instal l' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GN U_SOURCE -DNDEBUG' --cache-file=/dev/null --srcdir=. checking for OpenSSL support... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged configure: configuring in ./types/rlm_eap_sim configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--enable-ltdl-instal l' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GN U_SOURCE -DNDEBUG' --cache-file=/dev/null --srcdir=. checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed configure: creating ./config.status config.status: creating Makefile configure: configuring in ./types/rlm_eap_ttls configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--enable-ltdl-instal l' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GN U_SOURCE -DNDEBUG' --cache-file=/dev/null --srcdir=. checking for OpenSSL support... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged configure: configuring in ./types/rlm_eap_mschapv2 configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--enable-ltdl-instal l' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GN U_SOURCE -DNDEBUG' --cache-file=/dev/null --srcdir=. checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -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... yes checking for unistd.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes configure: creating ./config.status config.status: creating Makefile configure: configuring in ./types/rlm_eap_md5 configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--enable-ltdl-instal l' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GN U_SOURCE -DNDEBUG' --cache-file=/dev/null --srcdir=. checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -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... yes checking for unistd.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes configure: creating ./config.status config.status: creating Makefile configure: configuring in ./types/rlm_eap_peap configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--enable-ltdl-instal l' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GN U_SOURCE -DNDEBUG' --cache-file=/dev/null --srcdir=. checking for OpenSSL support... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged configure: configuring in src/modules/rlm_ippool configure: running /bin/bash './configure' --prefix=/usr/local --enable-ltdl-install --cache-file=/dev/nul l --srcdir=. checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... n checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for gdbm.h... no checking for gdbm_open in -lgdbm... no checking for gdbm_fdesc... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged configure: configuring in src/modules/rlm_krb5 configure: running /bin/bash './configure' --prefix=/usr/local --enable-ltdl-install --cache-file=/dev/nul l --srcdir=. checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for krb5.h... no checking for krb5_encrypt_data in -lk5crypto... no checking for DH_new in -lcrypto... yes checking for set_com_err_hook in -lcom_err... no checking for krb5_init_context in -lkrb5... no configure: creating ./config.status config.status: creating Makefile configure: configuring in src/modules/rlm_ldap configure: running /bin/bash './configure' --prefix=/usr/local --enable-ltdl-install --cache-file=/dev/nul l --srcdir=. checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for pthread_create in -lpthread... yes checking for ldap_init in -lldap_r... no checking for ldap.h... yes configure: creating ./config.status config.status: creating Makefile configure: configuring in src/modules/rlm_otp configure: running /bin/bash './configure' --prefix=/usr/local --enable-ltdl-install --cache-file=/dev/nul l --srcdir=. checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -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... yes checking for unistd.h... yes checking for inttypes.h... (cached) yes checking for SSL_new in -lssl... yes checking openssl/des.h usability... yes checking openssl/des.h presence... yes checking for openssl/des.h... yes checking openssl/hmac.h usability... yes checking openssl/hmac.h presence... yes checking for openssl/hmac.h... yes checking openssl/md4.h usability... yes checking openssl/md4.h presence... yes checking for openssl/md4.h... yes checking openssl/md5.h usability... yes checking openssl/md5.h presence... yes checking for openssl/md5.h... yes checking openssl/sha.h usability... yes checking openssl/sha.h presence... yes checking for openssl/sha.h... yes configure: creating ./config.status config.status: creating Makefile configure: configuring in src/modules/rlm_pam configure: running /bin/bash './configure' --prefix=/usr/local --enable-ltdl-install --cache-file=/dev/nul l --srcdir=. checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for dlopen in -ldl... yes checking for pam_start in -lpam... yes 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... yes checking for unistd.h... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking pam/pam_appl.h usability... no checking pam/pam_appl.h presence... no checking for pam/pam_appl.h... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged configure: configuring in src/modules/rlm_perl configure: running /bin/bash './configure' --prefix=/usr/local --enable-ltdl-install --cache-file=/dev/nul l --srcdir=. checking for gcc... gcc 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... yes checking how to run the C preprocessor... gcc -E checking for perl... yes checking for EXTERN.h... no checking for perl.h... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged configure: configuring in src/modules/rlm_radutmp configure: running /bin/bash './configure' --prefix=/usr/local --enable-ltdl-install --cache-file=/dev/nul l --srcdir=. checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -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... yes checking for unistd.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged configure: configuring in src/modules/rlm_sql configure: running /bin/bash './configure' --prefix=/usr/local --enable-ltdl-install --cache-file=/dev/nul l --srcdir=. checking for gcc... gcc 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... config.status: creating ./Makefile config.status: creating ./drivers/Makefile configure: configuring in ./drivers/rlm_sql_iodbc configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--enable-ltdl-instal l' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GN U_SOURCE -DNDEBUG' --cache-file=/dev/null --srcdir=. checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for isql.h... no configure: creating ./config.status config.status: creating Makefile configure: configuring in ./drivers/rlm_sql_mysql configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--enable-ltdl-instal l' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GN U_SOURCE -DNDEBUG' --cache-file=/dev/null --srcdir=. checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for mysql_config... yes checking for pthread_create in -lpthread... yes checking for mysql_init in -lmysqlclient_r (using mysql_config)... yes checking for mysql.h (using mysql_config)... no checking for mysql/mysql.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged configure: configuring in ./drivers/rlm_sql_postgresql configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--enable-ltdl-instal l' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GN U_SOURCE -DNDEBUG' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for libpq-fe.h... no checking for PQconnectdb in -lpq... no configure: creating ./config.status config.status: creating Makefile configure: configuring in ./drivers/rlm_sql_oracle configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--enable-ltdl-instal l' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GN U_SOURCE -DNDEBUG' --cache-file=/dev/null --srcdir=. checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for oci.h... no configure: creating ./config.status config.status: creating Makefile configure: configuring in ./drivers/rlm_sql_unixodbc configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--enable-ltdl-instal l' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GN U_SOURCE -DNDEBUG' --cache-file=/dev/null --srcdir=. checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for sql.h... no configure: creating ./config.status config.status: creating Makefile configure: configuring in src/modules/rlm_sqlcounter configure: running /bin/bash './configure' --prefix=/usr/local --enable-ltdl-install --cache-file=/dev/nul l --srcdir=. configure: creating ./config.status config.status: creating Makefile configure: configuring in src/modules/rlm_unix configure: running /bin/bash './configure' --prefix=/usr/local --enable-ltdl-install --cache-file=/dev/nul l --srcdir=. checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for system password file... /etc/passwd checking for system shadow password file... /etc/shadow checking for crypt... yes 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... yes checking for unistd.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking for getspnam... yes checking for getusershell... yes checking for getspnam in -lshadow... no checking for fgetpwent... yes checking for fgetspent... yes checking for fgetgrent... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged configure: configuring in src/modules/rlm_checkval configure: running /bin/bash './configure' --prefix=/usr/local --enable-ltdl-install --cache-file=/dev/nul l --srcdir=. configure: creating ./config.status config.status: creating Makefile
"rafi.notes" 939 lines, 40686 characters
*Rafi Ahsan* *_______________________________* *Motorola Wireless Broadband Engineering (WiMAX)* *1455 W. Shure Dr. (IL 75/ Rm 341)* *Arlington Heights, IL 60004* *Desk : 847-435-2449*
Lin Richardson wrote:
You should post this to thet userlist (I am cc'ing them on this reply). Perhaps someone there has seen the "false cru" error before...
I'm no compiler guru, but google tells me that libtool may be to blame. I don't acutally show libtool installed on my box and don't know much about it. I'm no compiler guru either, but the system appears to be missing 'ar' (I thought I remembered 'ar' being called with options 'cru' before, and the config.log confirms this:)
Error:
false cru .libs/libltdl.a ltdl.o gmake[3]: *** [libltdl.la <http://libltdl.la>] Error 1 gmake[3]: Leaving directory `/export/home/dev/rafi_dir/free_radius_1.1.3/freeradius-1.1.3/libltdl'
config.log:
checking for ar... false
Apparently something is wrong with the configure script, and it uses 'false' as the command for 'ar', instead of exiting with an error because it couldn't find 'ar'. Gtnx Marcel
Hi; Can anyone help me about this error? How can I slove it. I think I've missed something in the tables in the database. rlm_ippool: Could not find Pool-Name attribute. modcall[post-auth]: module "main_pool" returns noop for request 2 rlm_ippool: Could not find Pool-Name attribute. modcall[post-auth]: module "real" returns noop for request 2 radius_xlat: '/var/log/radius/radacct/127.0.0.1/auth-detail-20060906' rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/127.0.0.1/auth-detail-20060906 modcall[post-auth]: module "auth_log" returns ok for request 2 Thanks Elie
Hi Elie, Are you using SQL auth.? If so, is your radgroupcheck table small enough that you could paste us a select * from it? On Wed, 2006-09-06 at 10:16 +0200, Elie Hani wrote:
Hi;
Can anyone help me about this error? How can I slove it. I think I've missed something in the tables in the database.
rlm_ippool: Could not find Pool-Name attribute. modcall[post-auth]: module "main_pool" returns noop for request 2 rlm_ippool: Could not find Pool-Name attribute. modcall[post-auth]: module "real" returns noop for request 2 radius_xlat: '/var/log/radius/radacct/127.0.0.1/auth-detail-20060906' rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/127.0.0.1/auth-detail-20060906 modcall[post-auth]: module "auth_log" returns ok for request 2
Thanks Elie
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- James Wakefield, Unix Administrator, Information Technology Services Division Deakin University, Geelong, Victoria 3217 Australia.
Phone: 03 5227 8690 International: +61 3 5227 8690 Fax: 03 5227 8866 International: +61 3 5227 8866 E-mail: james.wakefield@deakin.edu.au Website: http://www.deakin.edu.au
Hi; This is the output for the tables. racdcheck: id username attribute op value enabled 26 tonyb User-Password == tonyb T 27 guest User-Password == guest T Radgroupcheck: id groupname attribute op value 9 Dialin NAS-IP-Address == x.x.x.x Radgroupreply: id groupname attribute op value 1 Dialin Framed-Protocol == PPP 6 Dialin Service-Type := Framed-User 8 Dialin Auth-Type := Local 9 Dialin Pool-Name := main_pool 10 Dialin Reply-Message = Access Radreply: id username attribute op value 9 tonyb Fall-Throuh = Yes Usergroup: id username groupname 24 guest Dialin I'm using postgresql, and I need the SQL authentication. Thanks in advance. -----Original Message----- From: freeradius-users-bounces+ehani=wise.net.lb@lists.freeradius.org [mailto:freeradius-users-bounces+ehani=wise.net.lb@lists.freeradius.org] On Behalf Of James Wakefield Sent: Wednesday, September 06, 2006 9:33 AM To: FreeRadius users mailing list Subject: Re: Help about this error Hi Elie, Are you using SQL auth.? If so, is your radgroupcheck table small enough that you could paste us a select * from it? On Wed, 2006-09-06 at 10:16 +0200, Elie Hani wrote:
Hi;
Can anyone help me about this error? How can I slove it. I think I've missed something in the tables in the database.
rlm_ippool: Could not find Pool-Name attribute. modcall[post-auth]: module "main_pool" returns noop for request 2 rlm_ippool: Could not find Pool-Name attribute. modcall[post-auth]: module "real" returns noop for request 2 radius_xlat: '/var/log/radius/radacct/127.0.0.1/auth-detail-20060906' rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/127.0.0.1/auth-detail-20060906 modcall[post-auth]: module "auth_log" returns ok for request 2
Thanks Elie
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- James Wakefield, Unix Administrator, Information Technology Services Division Deakin University, Geelong, Victoria 3217 Australia.
Phone: 03 5227 8690 International: +61 3 5227 8690 Fax: 03 5227 8866 International: +61 3 5227 8866 E-mail: james.wakefield@deakin.edu.au Website: http://www.deakin.edu.au - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Elie Hani wrote:
Radgroupreply: id groupname attribute op value 1 Dialin Framed-Protocol == PPP 6 Dialin Service-Type := Framed-User 8 Dialin Auth-Type := Local 9 Dialin Pool-Name := main_pool 10 Dialin Reply-Message = Access
Hi Elie, Try putting rows with ids 1, 6, 8, and 9 in radgroupcheck rather than radgroupreply. Cheers, -- James Wakefield, Unix Administrator, Information Technology Services Division Deakin University, Geelong, Victoria 3217 Australia. Phone: 03 5227 8690 International: +61 3 5227 8690 Fax: 03 5227 8866 International: +61 3 5227 8866 E-mail: james.wakefield@deakin.edu.au Website: http://www.deakin.edu.au
Thanks James, it is working now. Elie -----Original Message----- From: freeradius-users-bounces+ehani=wise.net.lb@lists.freeradius.org [mailto:freeradius-users-bounces+ehani=wise.net.lb@lists.freeradius.org] On Behalf Of James Wakefield Sent: Wednesday, September 06, 2006 11:31 AM To: FreeRadius users mailing list Subject: Re: Help about this error Elie Hani wrote:
Radgroupreply: id groupname attribute op value 1 Dialin Framed-Protocol == PPP 6 Dialin Service-Type := Framed-User 8 Dialin Auth-Type := Local 9 Dialin Pool-Name := main_pool 10 Dialin Reply-Message = Access
Hi Elie, Try putting rows with ids 1, 6, 8, and 9 in radgroupcheck rather than radgroupreply. Cheers, -- James Wakefield, Unix Administrator, Information Technology Services Division Deakin University, Geelong, Victoria 3217 Australia. Phone: 03 5227 8690 International: +61 3 5227 8690 Fax: 03 5227 8866 International: +61 3 5227 8866 E-mail: james.wakefield@deakin.edu.au Website: http://www.deakin.edu.au - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi people, Im wondering if the following is possible with freeradius: At the 1st login of a client, the MAC adress is put into the database At all next logins, if the MAC adress of that client does not match the allready recorded MAC adress the login gets rejected. I presume the MAC adress of the client requesting authentication is a variable in freeradius ? If so, I allready use a stored procedure in mysql as post_auth, I can easy write the mac into the DB. My question is how/where do I put the check if the MAC allready is registred and if the current MAC matches the registred one ? Thank you in advance for thinking with me. Jurgen
Jurgen van Vliet wrote:
Hi people,
hi,
At the 1st login of a client, the MAC adress is put into the database At all next logins, if the MAC adress of that client does not match the allready recorded MAC adress the login gets rejected.
<> Imho, linking user and hardware is not a good idea: what if a user get an new network card, a new pc.... ? -- yves
Yves ruff wrote:
Jurgen van Vliet wrote:
Hi people,
hi,
At the 1st login of a client, the MAC adress is put into the database At all next logins, if the MAC adress of that client does not match the allready recorded MAC adress the login gets rejected.
<>
Imho, linking user and hardware is not a good idea: what if a user get an new network card, a new pc.... ?
Actually, that's something I would also like to know how to do best. We have a similar situation here, but instead of MAC addresses we would need to record the NAS-Port-Id sent by the NAS. The NAS is the access controller for ADSL from a large telecomm here in São Paulo. Does somebody have a good sugestion on how to record such an info (MAC in Jurgen's case, NAS-Port-Id in my case) at the first access, and verify it in the following times? Thank you, Marcos Roberto Greiner -- ------------------------------------------------------------------- | Marcos Roberto Greiner | | | | Os otimistas acham que estamos no melhor dos mundos | | Os pessimistas tem medo de que isto seja verdade | | Murphy | ------------------------------------------------------------------- | rgreiner@usp.br | -------------------------------------------------------------------
Hi Yves, It is for a customer having a wireless ISP setup. In the webinterface (dailupadmin based) the administrator can reset the recorded mac if needed. They want this to avoid prepayed card swapping between people who bought a ticket for like 5 hours, so its not for regular subscribed users :) Ofcourse we are aware of how easy a MAC can be spoofed, but its better then nothing. Thanks for thinking with me! Jurgen -----Oorspronkelijk bericht----- Van: freeradius-users-bounces+jurgen=wanbound.com@lists.freeradius.org [mailto:freeradius-users-bounces+jurgen=wanbound.com@lists.freeradius.org] Namens Yves ruff Verzonden: woensdag 6 september 2006 14:25 Aan: FreeRadius users mailing list Onderwerp: Re: Link MAC adress to user after 1st login Jurgen van Vliet wrote:
Hi people,
hi,
At the 1st login of a client, the MAC adress is put into the database At all next logins, if the MAC adress of that client does not match the allready recorded MAC adress the login gets rejected.
<> Imho, linking user and hardware is not a good idea: what if a user get an new network card, a new pc.... ? -- yves - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi,
Ofcourse we are aware of how easy a MAC can be spoofed, but its better then nothing.
I wonder if anyone else has read the recent research into 'fingerprinting' of the wireless signal...and how future AP and NAS kit might be able to identify machines.... I'm wondering when we'll be looking at having a FingerprintID column in our SQL tables with an eg := NetgearWAG511 next to the known MAC entry ;-) alan
"Jurgen van Vliet" <jurgen@wanbound.com> wrote:
At the 1st login of a client, the MAC adress is put into the database At all next logins, if the MAC adress of that client does not match the allready recorded MAC adress the login gets rejected.
Run a script at first login to put the MAC address into the DB.
I presume the MAC adress of the client requesting authentication is a variable in freeradius ?
Usually Calling-Station-Id.
My question is how/where do I put the check if the MAC allready is registred and if the current MAC matches the registred one ?
See the documentation for rlm_sql. It includes examples. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
Marcel.De_Boer@alcatel.be wrote:
Lin Richardson wrote:
You should post this to thet userlist (I am cc'ing them on this reply). Perhaps someone there has seen the "false cru" error before...
I'm no compiler guru, but google tells me that libtool may be to blame. I don't acutally show libtool installed on my box and don't know much about it. I'm no compiler guru either, but the system appears to be missing 'ar' (I thought I remembered 'ar' being called with options 'cru' before, and the config.log confirms this:)
For solaris... Add /usr/ccs/bin to the top of your path. In addition, as mentioned in this thread. The preferable way of satisfying run time lib dependencies on solaris is by get -R/path/to/dep alongside the -L linker flags. Rob -- Rob Shepherd | Computer and Network Engineer | Technium CAST | LL57 4HJ rob@techniumcast.com | 01248 675024 | 07776 210516
Thanks to Lin, Mercel, and Rob for your input. I am not sure about Mercel's comment on value of AR, this has been set to false in the Makefile at libltdl/ directory (where it actually fails). The question is what value should it be ? Also, Rob - when I put the /usr/ccs/bin/ on top of my PATH, it picks a make that gives me error as "make: Fatal error in reader: Makefile, line 41: Unexpected end of line seen". Wheras my earlier picks on make file from /usr/local/bin - did not give me this error. Following is the various command output FYI. Also - I could you please explain a little more on where to put this get -R/path/to/dep alongside the -L linker flags (an example would be appreciated). Is it needed to add on the Makefile on ./libltdl/ directory ? Thanks for your help. Rafi # /usr/local/bin/make -v GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # /usr/ccs/bin/make -v make: Warning: Ignoring DistributedMake -v option make: Fatal error in reader: Makefile, line 41: Unexpected end of line seen Here is my PATH (after I added /usr/ccs/bin - as suggested by Rob) # echo $PATH /usr/ccs/bin:/usr/sbin:/usr/bin:/usr/sfw/bin/:/usr/local/bin On 9/6/06, Rob Shepherd <rob@techniumcast.com> wrote:
Marcel.De_Boer@alcatel.be wrote:
Lin Richardson wrote:
You should post this to thet userlist (I am cc'ing them on this reply). Perhaps someone there has seen the "false cru" error before...
I'm no compiler guru, but google tells me that libtool may be to blame. I don't acutally show libtool installed on my box and don't know much about it. I'm no compiler guru either, but the system appears to be missing 'ar' (I thought I remembered 'ar' being called with options 'cru' before, and the config.log confirms this:)
For solaris...
Add /usr/ccs/bin to the top of your path.
In addition, as mentioned in this thread. The preferable way of satisfying run time lib dependencies on solaris is by get -R/path/to/dep alongside the -L linker flags.
Rob
-- Rob Shepherd | Computer and Network Engineer | Technium CAST | LL57 4HJ rob@techniumcast.com | 01248 675024 | 07776 210516 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Rafiqul Ahsan 630-717-1698(h) 2120 Periwinkle Ln 630-689-1457(h) Naperville, IL 60540 847-812-6176(c)
"Rafiqul Ahsan" <rafiqul.ahsan@gmail.com> wrote:
Thanks to Lin, Mercel, and Rob for your input. I am not sure about Mercel's comment on value of AR, this has been set to false in the Makefile at libltdl/ directory (where it actually fails). The question is what value should it be ?
It should be the path to the working "ar" on your system. It should be automatically set up by "configure".
Also, Rob - when I put the /usr/ccs/bin/ on top of my PATH, it picks a make that gives me error as "make: Fatal error in reader: Makefile, line 41:
Don't use Solaris "make". Use "gmake". Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
So to confirm the observations and comments above: My environment worked without any errors. The following give some detail as to why. bash-3.00# which ar /usr/ccs/bin/ar bash-3.00# echo $PATH /usr/local/bin:/usr/bin:/usr/ccs/bin:/usr/sbin ar is a command line tool that is not in your path, so I guess ./configure sets it to false... and then tries to run it with the command "false". Fix your path to include the location of ar and you will probably have better results. Thanks to the others on the list for catching this detail. It may be a good idea to add to the wiki as well. Lin On 9/6/06, Rafiqul Ahsan <rafiqul.ahsan@gmail.com> wrote:
Thanks to Lin, Mercel, and Rob for your input. I am not sure about Mercel's comment on value of AR, this has been set to false in the Makefile at libltdl/ directory (where it actually fails). The question is what value should it be ?
Also, Rob - when I put the /usr/ccs/bin/ on top of my PATH, it picks a make that gives me error as "make: Fatal error in reader: Makefile, line 41: Unexpected end of line seen". Wheras my earlier picks on make file from /usr/local/bin - did not give me this error. Following is the various command output FYI. Also - I could you please explain a little more on where to put this get -R/path/to/dep alongside the -L linker flags (an example would be appreciated). Is it needed to add on the Makefile on ./libltdl/ directory ?
Thanks for your help.
Rafi
# /usr/local/bin/make -v GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # /usr/ccs/bin/make -v make: Warning: Ignoring DistributedMake -v option make: Fatal error in reader: Makefile, line 41: Unexpected end of line seen
Here is my PATH (after I added /usr/ccs/bin - as suggested by Rob) # echo $PATH /usr/ccs/bin:/usr/sbin:/usr/bin:/usr/sfw/bin/:/usr/local/bin
On 9/6/06, Rob Shepherd <rob@techniumcast.com> wrote:
Marcel.De_Boer@alcatel.be wrote:
Lin Richardson wrote:
You should post this to thet userlist (I am cc'ing them on this reply). Perhaps someone there has seen the "false cru" error before...
I'm no compiler guru, but google tells me that libtool may be to blame. I don't acutally show libtool installed on my box and don't know much about it. I'm no compiler guru either, but the system appears to be missing 'ar' (I thought I remembered 'ar' being called with options 'cru' before, and the config.log confirms this:)
For solaris...
Add /usr/ccs/bin to the top of your path.
In addition, as mentioned in this thread. The preferable way of satisfying run time lib dependencies on solaris is by get -R/path/to/dep
alongside the -L linker flags.
Rob
-- Rob Shepherd | Computer and Network Engineer | Technium CAST | LL57 4HJ rob@techniumcast.com | 01248 675024 | 07776 210516 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Rafiqul Ahsan 630-717-1698(h) 2120 Periwinkle Ln 630-689-1457(h) Naperville, IL 60540 847-812-6176(c)
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi Lin, and others It worked with the path. I am able to build, and install the free radius on Solaris 10. Thanks for your help. I am planning to add EAP-AKA on the Free radius, as I understand this does not support currently. Any idea where to start ? Thanks for your help. Rafi On 9/6/06, Lin Richardson <lin@xmission.com> wrote:
So to confirm the observations and comments above:
My environment worked without any errors. The following give some detail as to why.
bash-3.00# which ar /usr/ccs/bin/ar
bash-3.00# echo $PATH /usr/local/bin:/usr/bin:/usr/ccs/bin:/usr/sbin
ar is a command line tool that is not in your path, so I guess ./configure sets it to false... and then tries to run it with the command "false". Fix your path to include the location of ar and you will probably have better results. Thanks to the others on the list for catching this detail.
It may be a good idea to add to the wiki as well.
Lin
On 9/6/06, Rafiqul Ahsan <rafiqul.ahsan@gmail.com > wrote:
Thanks to Lin, Mercel, and Rob for your input. I am not sure about Mercel's comment on value of AR, this has been set to false in the Makefile at libltdl/ directory (where it actually fails). The question is what value should it be ?
Also, Rob - when I put the /usr/ccs/bin/ on top of my PATH, it picks a make that gives me error as "make: Fatal error in reader: Makefile, line 41: Unexpected end of line seen". Wheras my earlier picks on make file from /usr/local/bin - did not give me this error. Following is the various command output FYI. Also - I could you please explain a little more on where to put this get -R/path/to/dep alongside the -L linker flags (an example would be appreciated). Is it needed to add on the Makefile on ./libltdl/ directory ?
Thanks for your help.
Rafi
# /usr/local/bin/make -v GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # /usr/ccs/bin/make -v make: Warning: Ignoring DistributedMake -v option make: Fatal error in reader: Makefile, line 41: Unexpected end of line seen
Here is my PATH (after I added /usr/ccs/bin - as suggested by Rob) # echo $PATH /usr/ccs/bin:/usr/sbin:/usr/bin:/usr/sfw/bin/:/usr/local/bin
On 9/6/06, Rob Shepherd <rob@techniumcast.com > wrote:
Marcel.De_Boer@alcatel.be wrote:
Lin Richardson wrote:
You should post this to thet userlist (I am cc'ing them on this reply). Perhaps someone there has seen the "false cru" error before...
I'm no compiler guru, but google tells me that libtool may be to blame. I don't acutally show libtool installed on my box and don't know much about it. I'm no compiler guru either, but the system appears to be missing 'ar' (I thought I remembered 'ar' being called with options 'cru' before, and the config.log confirms this:)
For solaris...
Add /usr/ccs/bin to the top of your path.
In addition, as mentioned in this thread. The preferable way of satisfying run time lib dependencies on solaris is by get -R/path/to/dep alongside the -L linker flags.
Rob
-- Rob Shepherd | Computer and Network Engineer | Technium CAST | LL57 4HJ rob@techniumcast.com | 01248 675024 | 07776 210516 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Rafiqul Ahsan 630-717-1698(h) 2120 Periwinkle Ln 630-689-1457(h) Naperville, IL 60540 847-812-6176(c)
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Rafiqul Ahsan 630-717-1698(h) 2120 Periwinkle Ln 630-689-1457(h) Naperville, IL 60540 847-812-6176(c)
"Rafiqul Ahsan" <rafiqul.ahsan@gmail.com> wrote:
I am planning to add EAP-AKA on the Free radius, as I understand this does not support currently. Any idea where to start ?
There's a patch on bugzilla. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
Rafiqul Ahsan wrote:
Thanks to Lin, Mercel, and Rob for your input. I am not sure about Mercel's comment on value of AR, this has been set to false in the Makefile at libltdl/ directory (where it actually fails). The question is what value should it be ?
Also, Rob - when I put the /usr/ccs/bin/ on top of my PATH, it picks a make that gives me error as "make: Fatal error in reader: Makefile, line 41: Unexpected end of line seen". Wheras my earlier picks on make file from /usr/local/bin - did not give me this error. Following is the various command output FYI. Also - I could you please explain a little more on where to put this get -R/path/to/dep alongside the -L linker flags (an example would be appreciated). Is it needed to add on the Makefile on ./libltdl/ directory ?
Thanks for your help.
Rafi
I've got the ball rolling with a Solaris build page on the WIKI http://wiki.freeradius.org/index.php/Solaris Rob -- Rob Shepherd | Computer and Network Engineer | Technium CAST | LL57 4HJ rob@techniumcast.com | 01248 675024 | 07776 210516
On Thu 07 Sep 2006 08:52, Rob Shepherd wrote:
Rafiqul Ahsan wrote:
Thanks to Lin, Mercel, and Rob for your input. I am not sure about Mercel's comment on value of AR, this has been set to false in the Makefile at libltdl/ directory (where it actually fails). The question is what value should it be ?
Also, Rob - when I put the /usr/ccs/bin/ on top of my PATH, it picks a make that gives me error as "make: Fatal error in reader: Makefile, line 41: Unexpected end of line seen". Wheras my earlier picks on make file from /usr/local/bin - did not give me this error. Following is the various command output FYI. Also - I could you please explain a little more on where to put this get -R/path/to/dep alongside the -L linker flags (an example would be appreciated). Is it needed to add on the Makefile on ./libltdl/ directory ?
Thanks for your help.
Rafi
I've got the ball rolling with a Solaris build page on the WIKI
Hi Rob Thanks for doing this, however there is already a Solaris section on the "Build" page of the wiki at: http://wiki.freeradius.org/index.php/Build#Building_on_Solaris_10 I think the info you have added should probably be rolled into that page rather than starting a new one. Cheers -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Peter Nixon wrote:
Thanks for doing this, however there is already a Solaris section on the "Build" page of the wiki at:
My Bad!
http://wiki.freeradius.org/index.php/Build#Building_on_Solaris_10
I think the info you have added should probably be rolled into that page rather than starting a new one.
The method described on the Build#Building_on_Solaris_10 page is a different method altogether, not that either way is wrong of course. When I have time, I'll familiarise myself with the approach of the exisiting method and attempt to merge the information without confusing either method. At present mine is an 'alternative', and I'm biased to state that it's the easiest method, of course. I've linked it as an alternative into the original document, hopefully it can still be of some help. Cheers Rob -- Rob Shepherd | Computer and Network Engineer | Technium CAST | LL57 4HJ rob@techniumcast.com | 01248 675024 | 07776 210516
Cool, I'll have to take a closer look at Method 2. On 9/7/06, Rob Shepherd <rob@techniumcast.com> wrote:
Peter Nixon wrote:
Thanks for doing this, however there is already a Solaris section on the "Build" page of the wiki at:
My Bad!
http://wiki.freeradius.org/index.php/Build#Building_on_Solaris_10
I think the info you have added should probably be rolled into that page rather than starting a new one.
The method described on the Build#Building_on_Solaris_10 page is a different method altogether, not that either way is wrong of course.
When I have time, I'll familiarise myself with the approach of the exisiting method and attempt to merge the information without confusing either method.
At present mine is an 'alternative', and I'm biased to state that it's the easiest method, of course.
I've linked it as an alternative into the original document, hopefully it can still be of some help.
Cheers
Rob
-- Rob Shepherd | Computer and Network Engineer | Technium CAST | LL57 4HJ rob@techniumcast.com | 01248 675024 | 07776 210516
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (12)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Elie Hani -
James Wakefield -
Jurgen van Vliet -
Lin Richardson -
Marcel.De_Boer@alcatel.be -
Peter Nixon -
Rafiqul Ahsan -
Rob Shepherd -
Roberto Greiner -
Yves ruff