>Hi, > I'm trying to install freeRadius. I followed the instructions given in > the web site www.missl.cs.umd.edu/wireless/eaptls. When I try to "make", > some errors were returned. The error returned was "error [2]" > Therefore, i couldn't even get to the "make install" stage. > The instructions mentioned that one solution to the problem (Linux > system misdetecting the gethostbyadd_r() and gethostbyname_r() ) is > radius-autoconf.h > So, what i did was, to place > radius-autoconf.h in /usr/src/802/radius/radiusd/src/include > Then make again. > But it doesn't seem to solve the problem. > > Can you help me?
Post the error message and we can try. Without the actual error message, it is very difficult to help. Describe your system ( os, cpu arch, ... ), what your result was when you ran './configure', if you specified any argurments to './configure', and the actual output of 'make' where it fails for you. -Chris Hi, thanks so much for the reply. I'm running Redhat 7.3 i686. and kernel 2.4.18-3. The errors got more incomprehensible after i ran update and changed from i386 to i686. Hopefully, that's not where the problem lies. After i ran ./configure --prefix=/usr/local/radius it successfully configures radius ending with the usual ... creating ./config.status creating Makefile creating config.h config.h is unchanged Then i ran make. This is the summary of the output... gmake[1]: Entering directory `/usr/src/802/radius/radiusd' Making all in libltdl... gmake[2]: Entering directory `/usr/src/802/radius/radiusd/libltdl' gmake[2]: Leaving directory `/usr/src/802/radius/radiusd/libltdl' Making all in src... gmake[2]: Entering directory `/usr/src/802/radius/radiusd/src' gmake[3]: Entering directory `/usr/src/802/radius/radiusd/src' Making all in lib... gmake[4]: Entering directory `/usr/src/802/radius/radiusd/src/lib' gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -D_LIBRADIUS -I../include -c dict.c gmake[4]: Leaving directory `/usr/src/802/radius/radiusd/src/lib' gmake[3]: Leaving directory `/usr/src/802/radius/radiusd/src' gmake[2]: Leaving directory `/usr/src/802/radius/radiusd/src' gmake[1]: Leaving directory `/usr/src/802/radius/radiusd' This is just a portion of some of the errors returned... In the file included from /usr/include/bits/types.h:143, from /usr/include/sys/types.h:30 from /usr/include/stdlib.h:390 from dict.c:12 /usr/include/bits/pthreadtypes.h:48: parse error before 'size_t' /usr/include/bits/pthreadtypes.h:48: warning: no semicolon at end of struct or union . . In the file included from /usr/include/stdlib.h:546, from dict.c:12 /usr/include/stdlib.h:551: parse error before '__size' /usr/include/stdlib.h:556: parse error before 'size_t' /usr/include/stdlib.h:690: parse error before 'size_t' . . In the file included from dict.c:14: /usr/include/string.h:38: parse error before 'size_t' /usr/include/string.h:41: parse error before 'size_t' . . In the file included from /usr/include/string.h:360, from dict.c:14: /usr/include/bits/string2.h:232: parse error before 'size_t' /usr/include/bits/string2.h:238: parse error before 'size_t' /usr/include/bits/string2.h:239: warning: function declaration isn't a prototype /usr/include/_G_config.h:47:field '_cd' has incomplete type /usr/include/_G_config.h:50:field '_cd' has incomplete type /usr/include/_G_config.h:53: confused by earlier errors, bailing out - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html