Can not 'make' FreeRadius from ports manually
Здравствуйте, 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@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@yandex.ru
try gmake On 2010-01-11, at 2:02 PM, Коньков Евгений wrote:
Здравствуйте, 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@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@yandex.ru
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Здравствуйте, Коньков. gmake work fine. thanks But there are some errors: libtool: compile: cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -L/usr/local/lib -pthread -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src -c rlm_counter.c -o rlm_counter.o >/dev/null 2>&1 /usr/local/bin/libtool --mode=link cc -release 2.1.8 \ -module -export-dynamic -rpath=/usr/lib:/usr/local/lib -o rlm_counter.la \ -rpath /usr/local/lib/freeradius-2.1.8 rlm_counter.lo rlm_counter.c /usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src/lib/libfreeradius-radius.la -lgdbm libtool: link: cc -shared .libs/rlm_counter.o -Wl,-rpath -Wl,/usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src/lib/.libs -Wl,-rpath -Wl,/usr/local/lib/freeradius-2.1.8 /usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src/lib/.libs/libfreeradius-radius.so -lgdbm -Wl,-soname -Wl,rlm_counter-2.1.8.so -o .libs/rlm_counter-2.1.8.so /usr/bin/ld: cannot find -lgdbm gmake[6]: *** [rlm_counter.la] Error 1 gmake[6]: Leaving directory `/usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src/modules/rlm_counter' gmake[5]: *** [common] Error 2 gmake[5]: Leaving directory `/usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src/modules' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src/modules' gmake[3]: *** [common] Error 2 gmake[3]: Leaving directory `/usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src' gmake[1]: *** [common] Error 2 gmake[1]: Leaving directory `/usr/ports/net/freeradius2/work/freeradius-server-2.1.8' gmake: *** [all] Error 2 -- С уважением, Коньков mailto:kes-kes@yandex.ru
On 2010-01-11, at 2:33 PM, Коньков Евгений wrote:
Здравствуйте, Коньков.
gmake work fine. thanks
But there are some errors:
libtool: compile: cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -L/usr/local/lib -pthread -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src -c rlm_counter.c -o rlm_counter.o >/dev/null 2>&1 /usr/local/bin/libtool --mode=link cc -release 2.1.8 \ -module -export-dynamic -rpath=/usr/lib:/usr/local/lib -o rlm_counter.la \ -rpath /usr/local/lib/freeradius-2.1.8 rlm_counter.lo rlm_counter.c /usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src/lib/libfreeradius-radius.la -lgdbm libtool: link: cc -shared .libs/rlm_counter.o -Wl,-rpath -Wl,/usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src/lib/.libs -Wl,-rpath -Wl,/usr/local/lib/freeradius-2.1.8 /usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src/lib/.libs/libfreeradius-radius.so -lgdbm -Wl,-soname -Wl,rlm_counter-2.1.8.so -o .libs/rlm_counter-2.1.8.so /usr/bin/ld: cannot find -lgdbm
the error is rather self-explainatory... you don't have the gbdm library http://www.gnu.org/software/gdbm/ Gabe
Здравствуйте, Gabriel. Вы писали 11 января 2010 г., 21:35:49: GB> On 2010-01-11, at 2:33 PM, Коньков Евгений wrote:
Здравствуйте, Коньков.
gmake work fine. thanks
But there are some errors:
libtool: compile: cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -L/usr/local/lib -pthread -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src -c rlm_counter.c -o rlm_counter.o >/dev/null 2>&1 /usr/local/bin/libtool --mode=link cc -release 2.1.8 \ -module -export-dynamic -rpath=/usr/lib:/usr/local/lib -o rlm_counter.la \ -rpath /usr/local/lib/freeradius-2.1.8 rlm_counter.lo rlm_counter.c /usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src/lib/libfreeradius-radius.la -lgdbm libtool: link: cc -shared .libs/rlm_counter.o -Wl,-rpath -Wl,/usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src/lib/.libs -Wl,-rpath -Wl,/usr/local/lib/freeradius-2.1.8 /usr/ports/net/freeradius2/work/freeradius-server-2.1.8/src/lib/.libs/libfreeradius-radius.so -lgdbm -Wl,-soname -Wl,rlm_counter-2.1.8.so -o .libs/rlm_counter-2.1.8.so /usr/bin/ld: cannot find -lgdbm
GB> the error is rather self-explainatory... GB> you don't have the gbdm library GB> http://www.gnu.org/software/gdbm/ I have. Running building from port works fine #cd /usr/ports/net/freeraiudius2 #make But running 'gmake' from work/freeradius-server-2.1.8 does not find gbdm -- С уважением, Коньков mailto:kes-kes@yandex.ru
participants (2)
-
Gabriel Blanchard -
Коньков Евгений