Перейти до

Ну не могу я установить FreeRadius на Linux


Рекомендованные сообщения

Подскажите плиз! Ну надоело мне уже перебирать кучу дистрибутивово!

ПРобовал на Red Hat 9, мандрейк 10, ASP . Ставил все кроме X-в, мультимидийных и офисных пакетов.

Скачал freeradius, freenibs

freenibs папки скинул в папку с исходниками freeradius

./configure -prefix=/opt/freeradius

дальше куча checking ..... иногда с вонце строки yes иногда no

make

ошибки

make install

ошибки

 

и в итоге в /opt/freeradius пустые паки!

Подскажите что я упустил! Ну очень хочу разобратся! ПЛИЗЗЗ!

Ссылка на сообщение
Поделиться на других сайтах

Alt Master 2.4 все в корбке есть.

# apt-cache search radius

libradiusclient - Shared Radiusclient library

libradiusclient-devel - Development library and header files for building radiusclient-aware software

ppp-radius - RADIUS authentication plugin for pppd

freeradius - FreeRADIUS server - GPLed RADIUS server

freeradius-ldap - libraries for freeradius with ldap support

freeradius-mysql - libraries for freeradius with MySQL support

freeradius-perl - perl module for freeradius

freeradius-pgsql - libraries for freeradius with PostgreSQL support

freeradius-python - Python module for freeradius

freeradius-sqlcounter - sqlcounter module for freeradius

mod_auth_pam - pluggable authentication module for Apache

nagios-plugins-radius - Nagios® plug-in for checking RADIUS server

Ссылка на сообщение
Поделиться на других сайтах
Alt Master 2.4 все в корбке есть.

# apt-cache search radius

libradiusclient - Shared Radiusclient library

libradiusclient-devel - Development library and header files for building radiusclient-aware software

ppp-radius - RADIUS authentication plugin for pppd

freeradius - FreeRADIUS server - GPLed RADIUS server

freeradius-ldap - libraries for freeradius with ldap support

freeradius-mysql - libraries for freeradius with MySQL support

freeradius-perl - perl module for freeradius

freeradius-pgsql - libraries for freeradius with PostgreSQL support

freeradius-python - Python module for freeradius

freeradius-sqlcounter - sqlcounter module for freeradius

mod_auth_pam - pluggable authentication module for Apache

nagios-plugins-radius - Nagios® plug-in for checking RADIUS server

Под установку FreeNibs нужно пересобирать FreeRadius, так что пакеты не пойдут.

 

В общем, ошибку в студию!

Ссылка на сообщение
Поделиться на других сайтах
покажи ошибки.

а то так тоскливо перебирать мысли :)

А можно гденить поглядеть логи с этими ошибками? Чтоб сюда вставить? Ато набирать лень!

Ссылка на сообщение
Поделиться на других сайтах
покажи ошибки.

а то так тоскливо перебирать мысли :)

Нашел, вот в студию то что после ./configure

наверное многовато, но....

 

This file contains any messages produced by compilers while

running configure, to aid debugging if configure makes a mistake.

 

configure:750: checking for gcc

configure:863: checking whether the C compiler (gcc ) works

configure:879: gcc -o conftest conftest.c 1>&5

configure:905: checking whether the C compiler (gcc ) is a cross-compiler

configure:910: checking whether we are using GNU C

configure:938: checking whether gcc accepts -g

configure:971: checking how to run the C preprocessor

configure:1051: checking for AIX

configure:1077: checking whether gcc needs -traditional

configure:1123: checking whether we are using SUNPro C

configure:1143: checking for ranlib

configure:1178: checking whether byte ordering is bigendian

configure:1271: checking for gmake

configure:1339: checking for gmake

configure:1422: checking for lt_dlinit in -lltdl

configure:1546: checking for Cygwin environment

configure:1579: checking for mingw32 environment

configure:1683: checking host system type

configure:1704: checking build system type

configure:1733: checking for ld used by GCC

configure:1801: checking if the linker (/usr/bin/ld) is GNU ld

configure:1818: checking for /usr/bin/ld option to reload object files

configure:1830: checking for BSD-compatible nm

configure:1868: checking whether ln -s works

configure:1889: checking how to recognise dependant libraries

configure:2072: checking for object suffix

configure:2098: checking for executable suffix

configure:2139: checking command to parse /usr/bin/nm -B output

configure:2322: checking for dlfcn.h

configure:2500: checking for ranlib

configure:2567: checking for strip

configure:2812: checking for objdir

configure:2843: checking for gcc option to produce PIC

configure:2995: checking if gcc PIC flag -fPIC works

configure:3065: checking if gcc static flag works

configure:3111: checking if gcc supports -c -o file.o

configure:3159: checking if gcc supports -c -o file.lo

configure:3235: checking if gcc supports -fno-rtti -fno-exceptions

configure:3248: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5

cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC

cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC

configure:3279: checking whether the linker (/usr/bin/ld) supports shared libraries

configure:3967: checking how to hardcode library paths into programs

configure:3999: checking whether stripping libraries is possible

configure:4017: checking dynamic linker characteristics

configure:4418: checking if libtool supports shared libraries

configure:4426: checking whether to build shared libraries

configure:4453: checking whether to build static libraries

configure:4496: checking for shl_load

configure:4542: checking for shl_load in -ldld

configure:4580: checking for dlopen

configure:4626: checking for dlopen in -ldl

configure:4777: checking whether a program can dlopen itself

configure:4871: checking whether a statically linked program can dlopen itself

configure:4993: checking whether -lc should be explicitly linked in

configure:5656: checking logdir

configure:5678: checking radacctdir

configure:5700: checking raddbdir

configure:5923: checking for perl

configure:5962: checking for snmpget

configure:6001: checking for snmpwalk

configure:6040: checking for rusers

configure:6076: checking for working aclocal

configure:6089: checking for working autoconf

configure:6102: checking for working autoheader

configure:6118: checking for locate

configure:6153: checking for dirname

configure:6188: checking for grep

configure:6232: checking for pthread.h

configure:6271: checking for pthread_create in -lpthread

configure:6364: checking for library containing sem_init

configure:6428: checking for getsockname in -lsocket

configure:6476: checking for inet_aton in -lresolv

configure:6524: checking for inet_ntoa in -lnsl

configure:6577: checking for DH_new in -lcrypto

configure:6687: checking for dirent.h that defines DIR

configure:6725: checking for opendir in -ldir

configure:6808: checking for ANSI C header files

configure:6912: checking whether time.h and sys/time.h may both be included

configure:6947: checking for sys/wait.h that is POSIX.1 compatible

configure:7024: checking for unistd.h

configure:7024: checking for crypt.h

configure:7024: checking for errno.h

configure:7024: checking for resource.h

configure:7024: checking for getopt.h

configure:7024: checking for malloc.h

configure:7024: checking for utmp.h

configure:7024: checking for utmpx.h

configure:7024: checking for signal.h

configure:7024: checking for sys/select.h

configure:7024: checking for syslog.h

configure:7024: checking for inttypes.h

configure:7024: checking for stdint.h

configure:7024: checking for stdio.h

configure:7024: checking for netdb.h

configure:7024: checking for semaphore.h

configure:7024: checking for arpa/inet.h

configure:7024: checking for netinet/in.h

configure:7024: checking for sys/types.h

configure:7024: checking for sys/socket.h

configure:7024: checking for sys/time.h

configure:7024: checking for sys/wait.h

configure:7024: checking for sys/security.h

configure:7024: checking for fcntl.h

configure:7024: checking for sys/fcntl.h

configure:7024: checking for sys/stat.h

configure:7024: checking for sys/prctl.h

configure:7024: checking for prot.h

configure:7024: checking for sia.h

configure:7024: checking for siad.h

configure:7064: checking for regex.h

configure:7234: checking for off_t

configure:7267: checking for pid_t

configure:7300: checking for size_t

configure:7333: checking for uid_t in sys/types.h

configure:7369: checking for socklen_t

configure:7412: checking for uint8_t

configure:7455: checking for uint16_t

configure:7498: checking for uint32_t

configure:7567: checking for getopt_long

configure:7567: checking for lockf

configure:7567: checking for strsignal

configure:7567: checking for sigaction

configure:7567: checking for sigprocmask

configure:7567: checking for pthread_sigmask

configure:7567: checking for snprintf

configure:7567: checking for vsnprintf

configure:7567: checking for setsid

configure:7567: checking for strncasecmp

configure:7567: checking for strcasecmp

configure:7567: checking for localtime_r

configure:7567: checking for ctime_r

configure:7567: checking for gmtime_r

configure:7567: checking for strsep

configure:7567: checking for inet_aton

configure:7567: checking for inet_pton

configure:7567: checking for inet_ntop

configure:7567: checking for gethostname

configure:7567: checking for setlinebuf

configure:7567: checking for setvbuf

configure:7567: checking for getusershell

configure:7567: checking for initgroups

configure:7567: checking for closefrom

configure:7631: checking whether crypt must be declared

configure:7631: checking whether strncasecmp must be declared

configure:7631: checking whether strcasecmp must be declared

configure:7631: checking whether inet_aton must be declared

configure:7631: checking whether gethostname must be declared

configure:7631: checking whether setlinebuf must be declared

configure:7631: checking whether getusershell must be declared

configure:7631: checking whether endusershell must be declared

configure:7718: checking return type of signal handlers

configure:7763: checking for ut_xtime in struct utmpx

configure:7779: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5

configure: In function `main':

configure:7775: error: structure has no member named `ut_xtime'

configure: failed program was:

#line 7767 "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:7810: checking for ipi_addr in struct in_pktinfo

configure:7826: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5

configure:7856: checking for working const

configure:7932: checking type of OS

configure:7947: checking for developer gcc flags

configure:7962: checking for crypt in -lcrypt

configure:8062: checking for setkey in -lcipher

configure:8110: checking for asn1.h,snmp.h,snmp_impl.h

configure:8139: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG conftest.c 1>&5

configure:8130:38: ucd-snmp/ucd-snmp-config.h: No such file or directory

configure:8131:27: ucd-snmp/asn1.h: No such file or directory

configure:8132:27: ucd-snmp/snmp.h: No such file or directory

configure:8133:32: ucd-snmp/snmp_impl.h: No such file or directory

configure: In function `main':

configure:8135: warning: unused variable `a'

configure: failed program was:

#line 8113 "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/ucd-snmp-config.h>

#include <ucd-snmp/asn1.h>

#include <ucd-snmp/snmp.h>

#include <ucd-snmp/snmp_impl.h>

int main() {

int a = 1;

; return 0; }

configure:8181: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/include conftest.c 1>&5

configure:8172:38: ucd-snmp/ucd-snmp-config.h: No such file or directory

configure:8173:27: ucd-snmp/asn1.h: No such file or directory

configure:8174:27: ucd-snmp/snmp.h: No such file or directory

configure:8175:32: ucd-snmp/snmp_impl.h: No such file or directory

configure: In function `main':

configure:8177: warning: unused variable `a'

configure: failed program was:

#line 8155 "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/ucd-snmp-config.h>

#include <ucd-snmp/asn1.h>

#include <ucd-snmp/snmp.h>

#include <ucd-snmp/snmp_impl.h>

int main() {

int a = 1;

; return 0; }

configure:8181: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/local/include conftest.c 1>&5

configure:8172:38: ucd-snmp/ucd-snmp-config.h: No such file or directory

configure:8173:27: ucd-snmp/asn1.h: No such file or directory

configure:8174:27: ucd-snmp/snmp.h: No such file or directory

configure:8175:32: ucd-snmp/snmp_impl.h: No such file or directory

configure: In function `main':

configure:8177: warning: unused variable `a'

configure: failed program was:

#line 8155 "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/ucd-snmp-config.h>

#include <ucd-snmp/asn1.h>

#include <ucd-snmp/snmp.h>

#include <ucd-snmp/snmp_impl.h>

int main() {

int a = 1;

; return 0; }

configure:8228: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/include/ucd-snmp conftest.c 1>&5

configure:8220:18: asn1.h: No such file or directory

configure:8221:18: snmp.h: No such file or directory

configure:8222:23: snmp_impl.h: No such file or directory

configure: In function `main':

configure:8224: warning: unused variable `a'

configure: failed program was:

#line 8203 "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:8228: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/local/include/ucd-snmp conftest.c 1>&5

configure:8220:18: asn1.h: No such file or directory

configure:8221:18: snmp.h: No such file or directory

configure:8222:23: snmp_impl.h: No such file or directory

configure: In function `main':

configure:8224: warning: unused variable `a'

configure: failed program was:

#line 8203 "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:8275: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/include/ucd-snmp conftest.c 1>&5

configure:8267:18: asn1.h: No such file or directory

configure:8268:18: snmp.h: No such file or directory

configure:8269:23: snmp_impl.h: No such file or directory

configure: In function `main':

configure:8271: warning: unused variable `a'

configure: failed program was:

#line 8250 "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:8275: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/local/include/ucd-snmp conftest.c 1>&5

configure:8267:18: asn1.h: No such file or directory

configure:8268:18: snmp.h: No such file or directory

configure:8269:23: snmp_impl.h: No such file or directory

configure: In function `main':

configure:8271: warning: unused variable `a'

configure: failed program was:

#line 8250 "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:8425: checking gethostbyaddr_r() syntax

configure:8448: gcc -o conftest -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG conftest.c -lnsl -lresolv -lpthread 1>&5

configure:8530: checking gethostbyname_r() syntax

configure:8542: gcc -o conftest -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG conftest.c -lnsl -lresolv -lpthread 1>&5

configure:8623: checking ctime_r() syntax

configure:8634: gcc -o conftest -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG conftest.c -lnsl -lresolv -lpthread 1>&5

configure: In function `main':

configure:8630: error: too many arguments to function `ctime_r'

configure: failed program was:

#line 8625 "configure"

#include "confdefs.h"

 

#include <time.h>

 

int main() {

ctime_r(NULL, NULL, 0)

; return 0; }

configure:8659: gcc -o conftest -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG conftest.c -lnsl -lresolv -lpthread 1>&5

Ссылка на сообщение
Поделиться на других сайтах

Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Вхід

Уже зарегистрированы? Войдите здесь.

Войти сейчас
  • Зараз на сторінці   0 користувачів

    Немає користувачів, що переглядають цю сторінку.

×
×
  • Створити нове...