Need help installing 1.0.4 on RHEL update 4

Ken George Ken.George at mi-services.com
Fri Jul 8 17:36:33 CEST 2005


I am not a RHEL expert, but have installed the 1.0.1 RPM of freeradius.

I am trying to get freeradius to authenticate against a Windows 2003
Active Directory.

Once I can get radtest to work on the server I'll configure the clients
(Cisco VPN 3005 and console access for all my other Cisco rotuers,
switches, etc).

Since 1.0.1 is older I thought I'd try to get 1.0.4 in before banging
out my .conf file problems.

I get the following errors when I try to ./configure 1.0.4

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:748: checking for gcc
configure:861: checking whether the C compiler (gcc  ) works
configure:877: gcc -o conftest    conftest.c  1>&5
configure:903: checking whether the C compiler (gcc  ) is a
cross-compiler
configure:908: checking whether we are using GNU C
configure:936: checking whether gcc accepts -g
configure:969: checking how to run the C preprocessor
configure:1049: checking for AIX
configure:1075: checking whether gcc needs -traditional
configure:1121: checking whether we are using SUNPro C
configure:1141: checking for ranlib
configure:1176: checking whether byte ordering is bigendian
configure:1269: checking for gmake
configure:1337: checking for gmake

(normal output suppressed)

configure:7793: checking for initgroups
configure:7857: checking whether crypt must be declared
configure:7857: checking whether strncasecmp must be declared
configure:7857: checking whether strcasecmp must be declared
configure:7857: checking whether inet_aton must be declared
configure:7857: checking whether gethostname must be declared
configure:7857: checking whether setlinebuf must be declared
configure:7857: checking whether getusershell must be declared
configure:7857: checking whether endusershell must be declared
configure:7944: checking return type of signal handlers
configure:7989: checking for ut_xtime in struct utmpx
configure:8005: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DOPENSSL_NO_KRB5    conftest.c 1>&5
configure: In function `main':
configure:8001: structure has no member named `ut_xtime'    <-- the
first problem
configure: failed program was:
#line 7993 "configure"
#include "confdefs.h"

#include <utmpx.h>
#ifndef offsetof
#define offsetof(TYPE, MEMBER) ((int) &((TYPE *)0)->MEMBER)
#endif

int main() {
 int foo = offsetof(struct utmpx, ut_xtime) 
; return 0; }
configure:8036: checking for ipi_addr in struct in_pktinfo
configure:8052: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DOPENSSL_NO_KRB5    conftest.c 1>&5
configure:8082: checking for working const
configure:8158: checking type of OS
configure:8173: checking for developer gcc flags
configure:8188: checking for crypt in -lcrypt
configure:8288: checking for setkey in -lcipher
configure:8336: checking for asn1.h,snmp.h,snmp_impl.h
configure:8364: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DOPENSSL_NO_KRB5   -Wall -D_GNU_SOURCE -DNDEBUG  conftest.c 1>&5
In file included from configure:8356:
/usr/include/ucd-snmp/asn1.h:7:2: #error "Please update your headers or
configure using --enable-ucd-snmp-compatibility"  <-- (this error then
occurs multiple times)
In file included from configure:8357:
/usr/include/ucd-snmp/snmp.h:7:2: #error "Please update your headers or
configure using --enable-ucd-snmp-compatibility"
In file included from configure:8358:
/usr/include/ucd-snmp/snmp_impl.h:9:2: #error "Please update your
headers or configure using --enable-ucd-snmp-compatibility"
configure: In function `main':
configure:8360: warning: unused variable `a'
configure: failed program was:
#line 8339 "configure"
#include "confdefs.h"

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <ucd-snmp/asn1.h>
#include <ucd-snmp/snmp.h>
#include <ucd-snmp/snmp_impl.h>
int main() {
 int a = 1;
; return 0; }
configure:8405: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DOPENSSL_NO_KRB5   -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/include
conftest.c 1>&5
In file included from configure:8397:
/usr/include/ucd-snmp/asn1.h:7:2: #error "Please update your headers or
configure using --enable-ucd-snmp-compatibility"
In file included from configure:8398:
/usr/include/ucd-snmp/snmp.h:7:2: #error "Please update your headers or
configure using --enable-ucd-snmp-compatibility"
In file included from configure:8399:
/usr/include/ucd-snmp/snmp_impl.h:9:2: #error "Please update your
headers or configure using --enable-ucd-snmp-compatibility"
configure: In function `main':
configure:8401: warning: unused variable `a'
configure: failed program was:
#line 8380 "configure"
#include "confdefs.h"

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <ucd-snmp/asn1.h>
#include <ucd-snmp/snmp.h>
#include <ucd-snmp/snmp_impl.h>
int main() {
 int a = 1;
; return 0; }
configure:8405: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DOPENSSL_NO_KRB5   -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/local/include
conftest.c 1>&5
In file included from configure:8397:
/usr/include/ucd-snmp/asn1.h:7:2: #error "Please update your headers or
configure using --enable-ucd-snmp-compatibility"
In file included from configure:8398:
/usr/include/ucd-snmp/snmp.h:7:2: #error "Please update your headers or
configure using --enable-ucd-snmp-compatibility"
In file included from configure:8399:
/usr/include/ucd-snmp/snmp_impl.h:9:2: #error "Please update your
headers or configure using --enable-ucd-snmp-compatibility"
configure: In function `main':
configure:8401: warning: unused variable `a'
configure: failed program was:
#line 8380 "configure"
#include "confdefs.h"

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <ucd-snmp/asn1.h>
#include <ucd-snmp/snmp.h>
#include <ucd-snmp/snmp_impl.h>
int main() {
 int a = 1;
; return 0; }
configure:8452: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DOPENSSL_NO_KRB5   -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/include/ucd-snmp
conftest.c 1>&5
In file included from configure:8444:
/usr/include/ucd-snmp/asn1.h:7:2: #error "Please update your headers or
configure using --enable-ucd-snmp-compatibility"
In file included from configure:8445:
/usr/include/ucd-snmp/snmp.h:7:2: #error "Please update your headers or
configure using --enable-ucd-snmp-compatibility"
In file included from configure:8446:
/usr/include/ucd-snmp/snmp_impl.h:9:2: #error "Please update your
headers or configure using --enable-ucd-snmp-compatibility"
configure: In function `main':
configure:8448: warning: unused variable `a'
configure: failed program was:
#line 8427 "configure"
#include "confdefs.h"

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <asn1.h>
#include <snmp.h>
#include <snmp_impl.h>
int main() {
 int a = 1;
; return 0; }
configure:8452: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DOPENSSL_NO_KRB5   -Wall -D_GNU_SOURCE -DNDEBUG
-I/usr/local/include/ucd-snmp  conftest.c 1>&5
configure:8444:18: asn1.h: No such file or directory
configure:8445:18: snmp.h: No such file or directory
configure:8446:23: snmp_impl.h: No such file or directory
configure: In function `main':
configure:8448: warning: unused variable `a'
configure: failed program was:
#line 8427 "configure"
#include "confdefs.h"

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <asn1.h>
#include <snmp.h>
#include <snmp_impl.h>
int main() {
 int a = 1;
; return 0; }
configure:8499: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DOPENSSL_NO_KRB5   -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/include/ucd-snmp
conftest.c 1>&5
In file included from configure:8491:
/usr/include/ucd-snmp/asn1.h:7:2: #error "Please update your headers or
configure using --enable-ucd-snmp-compatibility"
In file included from configure:8492:
/usr/include/ucd-snmp/snmp.h:7:2: #error "Please update your headers or
configure using --enable-ucd-snmp-compatibility"
In file included from configure:8493:
/usr/include/ucd-snmp/snmp_impl.h:9:2: #error "Please update your
headers or configure using --enable-ucd-snmp-compatibility"
configure: In function `main':
configure:8495: warning: unused variable `a'
configure: failed program was:
#line 8474 "configure"
#include "confdefs.h"

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <asn1.h>
#include <snmp.h>
#include <snmp_impl.h>
int main() {
 int a = 1;
; return 0; }
configure:8499: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DOPENSSL_NO_KRB5   -Wall -D_GNU_SOURCE -DNDEBUG
-I/usr/local/include/ucd-snmp  conftest.c 1>&5
configure:8491:18: asn1.h: No such file or directory
configure:8492:18: snmp.h: No such file or directory
configure:8493:23: snmp_impl.h: No such file or directory
configure: In function `main':
configure:8495: warning: unused variable `a'
configure: failed program was:
#line 8474 "configure"
#include "confdefs.h"

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <asn1.h>
#include <snmp.h>
#include <snmp_impl.h>
int main() {
 int a = 1;
; return 0; }
configure:8649: checking gethostbyaddr_r() syntax
configure:8672: gcc -o conftest -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5   -Wall -D_GNU_SOURCE
-DNDEBUG   conftest.c -lnsl -lresolv  -lpthread -lcrypto -lssl 1>&5
configure:8754: checking gethostbyname_r() syntax
configure:8766: gcc -o conftest -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5   -Wall -D_GNU_SOURCE
-DNDEBUG   conftest.c -lnsl -lresolv  -lpthread -lcrypto -lssl 1>&5
configure:8847: checking ctime_r() syntax
configure:8858: gcc -o conftest -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5   -Wall -D_GNU_SOURCE
-DNDEBUG   conftest.c -lnsl -lresolv  -lpthread -lcrypto -lssl 1>&5
configure: In function `main':
configure:8854: too many arguments to function `ctime_r'
configure: failed program was:
#line 8849 "configure"
#include "confdefs.h"

#include <time.h>

int main() {
 ctime_r(NULL, NULL, 0) 
; return 0; }
configure:8883: gcc -o conftest -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5   -Wall -D_GNU_SOURCE
-DNDEBUG   conftest.c -lnsl -lresolv  -lpthread -lcrypto -lssl 1>&5



Ken George
Systems and Network Engineering
Mi Services Group, Inc.   
+1 610-230-2500 x129  






More information about the Freeradius-Users mailing list