Debian 7.1.0, freeradius 2.2.1 не устанавливается из исходных кодов.

Автор seth, 25 сентября 2013, 13:10:45

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

seth

Здравствуйте.
Система Debian 7.1.0, устанавливается пакет freeradius 2.2.1 из исходников (скачаны с официального фтп). При конфигурировани ошибок нет, несколько незначительных, вроде бы, предупреждений:
usr/src/freeradius-server-2.2.1# ./configure --prefix=/usr/local/freeradius --with-rlm-perl-lib-dir=/usr/lib/
configure: WARNING: snmpget not found - Simultaneous-Use and checkrad.pl may not work
configure: WARNING: snmpwalk not found - Simultaneous-Use and checkrad.pl may not work
configure: WARNING: pcap library not found, silently disabling the RADIUS sniffer.
configure: WARNING: the TNCS library isn't found!
configure: WARNING: silently not building rlm_eap_tnc.
configure: WARNING: FAILURE: rlm_eap_tnc requires:  -lTNCS.
configure: WARNING: silently not building rlm_eap_ttls.
configure: WARNING: FAILURE: rlm_eap_ttls requires: OpenSSL.
configure: WARNING: silently not building rlm_eap_peap.
configure: WARNING: FAILURE: rlm_eap_peap requires: OpenSSL.
configure: WARNING: silently not building rlm_eap_tls.
configure: WARNING: FAILURE: rlm_eap_tls requires: OpenSSL.
configure: WARNING: silently not building rlm_eap_ikev2.
configure: WARNING: FAILURE: rlm_eap_ikev2 requires:  libeap-ikev2 EAPIKEv2/connector.h.
configure: WARNING: neither krb5 'k5crypto' nor 'crypto' libraries are found!
configure: WARNING: the comm_err library isn't found!
configure: WARNING: silently not building rlm_krb5.
configure: WARNING: FAILURE: rlm_krb5 requires:  krb5.h krb5.
configure: WARNING: silently not building rlm_ldap.
configure: WARNING: FAILURE: rlm_ldap requires:  libldap_r ldap.h.
configure: WARNING: silently not building rlm_otp.
configure: WARNING: FAILURE: rlm_otp requires:  openssl-libs openssl-includes openssl-includes openssl-includes openssl-includes openssl-includes.
configure: WARNING: silently not building rlm_pam.
configure: WARNING: FAILURE: rlm_pam requires:  libpam.
configure: WARNING: silently not building rlm_python.
configure: WARNING: FAILURE: rlm_python requires:  Python.h libpython2.7.
configure: WARNING: silently not building rlm_sql_iodbc.
configure: WARNING: FAILURE: rlm_sql_iodbc requires: libiodbc isql.h.
configure: WARNING: silently not building rlm_sql_postgresql.
configure: WARNING: FAILURE: rlm_sql_postgresql requires:  libpq-fe.h libpq.
configure: WARNING: oracle headers not found.  Use --with-oracle-include-dir=<path>.
configure: WARNING: silently not building rlm_sql_oracle.
configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h.
configure: WARNING: silently not building rlm_sql_unixodbc.
configure: WARNING: FAILURE: rlm_sql_unixodbc requires: libodbc sql.h.
configure: WARNING: silently not building rlm_wimax.
configure: WARNING: FAILURE: rlm_wimax requires:  openssl/hmac.h.


При компиляции ошибка и установка прерывается:

.libs/radiusd.o: In function `main':
/usr/src/freeradius-server-2.2.1/src/main/radiusd.c:258: undefined reference to `ssl_check_version'
collect2: error: ld returned 1 exit status
make[4]: *** [radiusd] Error 1
make[4]: Leaving directory `/usr/src/freeradius-server-2.2.1/src/main'
make[3]: *** [main] Error 2
make[3]: Leaving directory `/usr/src/freeradius-server-2.2.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/freeradius-server-2.2.1/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/usr/src/freeradius-server-2.2.1'
make: *** [all] Error 2

Пакет openssl установлен, в логах ничего подозрительного.

vladimir_ar

Либо -dev не все установлены, либо придется исходники править. Или при компиляции ключами задавать пути к библиотекам.
Debian Testing, kernel 3.16-2-amd64, OpenBox
AMD A8-3750 / 16Gb RAM / ATI HD6550D (onboard) / Sound ASUS Xonar - DS
_______________________________
Debian Testing, kernel 3.14-2-amd64, OpenBox
HP-655 AMD E1 / 8Gb RAM / ATI HD7310M

seth

Хм, freeradius 2.2.0 установился без проблем, наверно ограничусь этой версией...