Can not 'make' FreeRadius from ports manually

Коньков Евгений kes-kes at yandex.ru
Mon Jan 11 20:02:20 CET 2010


Здравствуйте, FreeRadius.

#uname -a
FreeBSD vpn.in 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #5: Tue Nov 24 01:46:35 EET 2009     kes at vpn.in:/usr/obj/usr/src/sys/KES_KERN_v72  i386
# cd /usr/ports/net/freeradius2
#make fetch
#make extract
#make patch
#cd work/freeradius-server-2.1.8
#./configure --without-rlm_krb5 --without-rlm_ldap --without-rlm_sql_mysql --
without-rlm_sql_postgresql --without-rlm_sql_unixodbc --without-rlm_sql_firebird
 --with-rlm_perl --without-rlm_python --without-rlm_ruby --without-dhcp --withou
t-rlm_smb --without-rlm_sql_oracle --quiet --prefix=/usr/local --libdir=/usr/loc
al/lib/freeradius-2.1.8 --localstatedir=/var --with-system-libtool --with-docdir
=/usr/local/share/doc/freeradius --with-logdir=/var/log --with-openssl-includes=
/usr/include --without-rlm_eap_ikev2 --without-rlm_eap_tnc --without-rlm_eap2 --
without-rlm_opendirectory --without-rlm_sql_db2 --without-rlm_sql_iodbc --withou
t-rlm_sql_sqlite --without-rlm_sql_sybase --with-vmps --prefix=/usr/local --mand
ir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd7.2

No errors are.
# make
"Make.inc", line 83: Missing dependency operator
"Make.inc", line 86: Need an operator
"Make.inc", line 88: Missing dependency operator
"Make.inc", line 91: Need an operator
"Make.inc", line 93: Missing dependency operator
"Make.inc", line 94: Missing dependency operator
"Make.inc", line 95: Need an operator
"Make.inc", line 96: Need an operator
"Make.inc", line 98: Need an operator
"Make.inc", line 99: Need an operator
"Make.inc", line 105: Missing dependency operator
"Make.inc", line 108: Need an operator
"Makefile", line 70: Missing dependency operator
"Makefile", line 71: Missing dependency operator
"Makefile", line 88: Need an operator
"Makefile", line 89: Need an operator
make: fatal errors encountered -- cannot continue


But this:
# cd /usr/ports/net/freeradius2
# make install clean
makes and installs fine.

But I need to define next in src/main/modules.c
#define HAVE_LT_DLADVISE_INIT


Which operators must be here?
line 83+: ifneq ($(WITH_OPENSSL_MD5),)
LIBRADIUS_WITH_OPENSSL = 1
CFLAGS += -DWITH_OPENSSL_MD5
endif

ifneq ($(WITH_OPENSSL_SHA1),)
LIBRADIUS_WITH_OPENSSL = 1
CFLAGS += -DWITH_OPENSSL_SHA1
endif


-- 
С уважением,
 Коньков                          mailto:kes-kes at yandex.ru




More information about the Freeradius-Users mailing list