Bluehost.com Web Hosting $6.95

Freeradius accounting compiling question

This is a discussion on Freeradius accounting compiling question within the FreeRADIUS Users forums, part of the Networking and Network Related category; --=====================_245970226==.ALT Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable Hello, ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-16-2005
Software Development Group
 
Posts: n/a
Default Freeradius accounting compiling question

--=====================_245970226==.ALT
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: quoted-printable

Hello,

I am running ubuntu and I am trying to compile FreeRadius with=20
rlm_sqlcounter (following your advice) to be able to keep track of=20
connection usage by user depending on tickets given to them.

For this, I am doing:

make clean
../configure --with-experimental-modules

and get the following error report:

maxo@ubuntu:~/freeradius-1.0.2 $ sudo ./configure=20
--with-experimental-modules > configure.txt
configure: warning: snmpget not found - Simultaneous-Use and checkrad.pl=20
may not work
configure: warning: snmpwalk not found - Simultaneous-Use and checkrad.pl=20
may not work
configure: warning: silently not building rlm_counter.
configure: warning: FAILURE: rlm_counter requires: libgdbm.
configure: warning: FAILURE: rlm_dbm requires: (ndbm.h or gdbm/ndbm.h or=20
gdbm-ndbm.h) (libndbm or libgdbm or libgdbm_compat).
configure: warning: silently not building rlm_dbm.
configure: warning: silently not building rlm_ippool.
configure: warning: FAILURE: rlm_ippool requires: libgdbm.
configure: warning: the comm_err library isn't found!
configure: warning: silently not building rlm_krb5.
configure: warning: FAILURE: rlm_krb5 requires: krb5.
configure: warning: silently not building rlm_ldap.
configure: warning: FAILURE: rlm_ldap requires: liblber.
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.3.
configure: warning: ibm db2 headers not found. Use=20
--with-ibmdb2-include-dir=3D<path>.
configure: warning: sql submodule 'db2' disabled
configure: warning: iodbc headers not found. Use=20
--with-iodbc-include-dir=3D<path>.
configure: warning: sql submodule 'iodbc' disabled
configure: warning: mysql headers not found. Use=20
--with-mysql-include-dir=3D<path>.
configure: warning: sql submodule 'mysql' disabled
configure: warning: oracle headers not found. Use=20
--with-oracle-home-dir=3D<path>.
configure: warning: sql submodule 'oracle' disabled
configure: warning: unixODBC headers not found. Use=20
--with-unixodbc-include-dir=3D<path>.
configure: warning: sql submodule 'unixodbc' disabled
maxo@ubuntu:~/freeradius-1.0.2 $

(NOTE ) I do have libgdbm3 installed on my system.

and obviously running make from that gives me:

maxo@ubuntu:~/freeradius-1.0.2 $ sudo make
Password:
ltdl.c: In function `lt_dlopenext':
ltdl.c:2926: warning: unused variable `file_found'
radius.c: In function `rad_decode':
radius.c:1429: warning: comparison is always true due to limited range of=20
data type
misc.c: In function `ipv6_ntoa':
misc.c:355: warning: return warning: assignment discards qualifiers from=20
pointer target type
rbtree.c: In function `rbtree_insert':
rbtree.c:265: warning: assignment discards qualifiers from pointer target=
type
rbtree.c:278: warning: assignment discards qualifiers from pointer target=
type
radius.c: In function `rad_decode':
radius.c:1429: warning: comparison is always true due to limited range of=20
data type
misc.c: In function `ipv6_ntoa':
misc.c:355: warning: return discards qualifiers from pointer target type
rbtree.c: In function `rbtree_insert':
rbtree.c:265: warning: assignment discards qualifiers from pointer target=
type
rbtree.c:278: warning: assignment discards qualifiers from pointer target=
type
rlm_eap_gtc.c: In function `gtc_detach':
rlm_eap_gtc.c:61: warning: when passing argument 1 of `free' discards=20
qualifiers from pointer target type
rlm_eap_gtc.c:62: warning: when passing argument 1 of `free' discards=20
qualifiers from pointer target type
rlm_eap_mschapv2.c: In function `eapmschapv2_compose':
rlm_eap_mschapv2.c:127: warning: assignation from incompatible pointer type
rlm_eap_peap.c: In function `eappeap_authenticate':
rlm_eap_peap.c:190: warning: when passing argument 2 of `record_plus' from=
=20
incompatible pointer type
peap.c: In function `eappeap_postproxy':
peap.c:375: warning: unused variable `vp'
ttls.c: En la funci=F3n `eapttls_postproxy':
ttls.c:744: warning: unused variable `vp'
rlm_eap_gtc.c: In function `gtc_detach':
rlm_eap_gtc.c:61: warning: passing arg 1 of `free' discards qualifiers from=
=20
pointer target type
rlm_eap_gtc.c:62: warning: passing arg 1 of `free' discards qualifiers from=
=20
pointer target type
rlm_eap_mschapv2.c: In function `eapmschapv2_compose':
rlm_eap_mschapv2.c:127: warning: assignment from incompatible pointer type
rlm_eap_peap.c: In function `eappeap_authenticate':
rlm_eap_peap.c:190: warning: passing arg 2 of `record_plus' from=20
incompatible pointer type
peap.c: In function `eappeap_postproxy':
peap.c:375: warning: unused variable `vp'
ttls.c: In function `eapttls_postproxy':
ttls.c:744: warning: unused variable `vp'
rlm_exec.c: In function `exec_detach':
rlm_exec.c:162: warning: passing arg 2 of `xlat_unregister' from=20
incompatible pointer type
rlm_exec.c: In function `exec_instantiate':
rlm_exec.c:264: warning: passing arg 2 of `xlat_register' from incompatible=
=20
pointer type
rlm_exec.c: In function `exec_detach':
rlm_exec.c:162: warning: passing arg 2 of `xlat_unregister' from=20
incompatible pointer type
rlm_exec.c: In function `exec_instantiate':
rlm_exec.c:264: warning: passing arg 2 of `xlat_register' from incompatible=
=20
pointer type
rlm_expr.c: In function `expr_instantiate':
rlm_expr.c:281: warning: passing arg 2 of `xlat_register' from incompatible=
=20
pointer type
rlm_expr.c: In function `expr_detach':
rlm_expr.c:295: warning: passing arg 2 of `xlat_unregister' from=20
incompatible pointer type
rlm_expr.c: In function `expr_instantiate':
rlm_expr.c:281: warning: passing arg 2 of `xlat_register' from incompatible=
=20
pointer type
rlm_expr.c: In function `expr_detach':
rlm_expr.c:295: warning: passing arg 2 of `xlat_unregister' from=20
incompatible pointer type
rlm_perl.c: In function `perl_instantiate':
rlm_perl.c:749: warning: passing arg 2 of `xlat_register' from incompatible=
=20
pointer type
rlm_perl.c: In function `perl_detach':
rlm_perl.c:1144: warning: passing arg 2 of `xlat_unregister' from=20
incompatible pointer type
rlm_perl.c: In function `perl_instantiate':
rlm_perl.c:749: warning: passing arg 2 of `xlat_register' from incompatible=
=20
pointer type
rlm_perl.c: In function `perl_detach':
rlm_perl.c:1144: warning: passing arg 2 of `xlat_unregister' from=20
incompatible pointer type
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[6]: *** [rlm_perl.la] Error 1
make[5]: *** [common] Error 1
make[4]: *** [all] Error 2
make[3]: *** [common] Error 1
make[2]: *** [all] Error 2
make[1]: *** [common] Error 1
make: *** [all] Error 2

Thanks for any help.

Max

--=====================_245970226==.ALT
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<body>
Hello,<br><br>
I am running ubuntu and I am trying to compile FreeRadius with
rlm_sqlcounter (following your advice) to be able to keep track of
connection usage by user depending on tickets given to them.<br><br>
For this, I am doing:<br><br>
<font color=3D"#FF0000"><b>make clean<br>
../configure --with-experimental-modules<br><br>
</b></font>and get the following error report:<br><br>
<font color=3D"#000080">maxo@ubuntu:~/freeradius-1.0.2 $ sudo ./configure
--with-experimental-modules &gt; configure.txt<br>
configure: warning: snmpget not found - Simultaneous-Use and checkrad.pl
may not work<br>
configure: warning: snmpwalk not found - Simultaneous-Use and checkrad.pl
may not work<br>
configure: warning: silently not building rlm_counter.<br>
configure: warning: FAILURE: rlm_counter requires:&nbsp; libgdbm.<br>
configure: warning: FAILURE: rlm_dbm requires:&nbsp; (ndbm.h or
gdbm/ndbm.h or gdbm-ndbm.h) (libndbm or libgdbm or libgdbm_compat).<br>
configure: warning: silently not building rlm_dbm.<br>
configure: warning: silently not building rlm_ippool.<br>
configure: warning: FAILURE: rlm_ippool requires:&nbsp; libgdbm.<br>
configure: warning: the comm_err library isn't found!<br>
configure: warning: silently not building rlm_krb5.<br>
configure: warning: FAILURE: rlm_krb5 requires:&nbsp; krb5.<br>
configure: warning: silently not building rlm_ldap.<br>
configure: warning: FAILURE: rlm_ldap requires:&nbsp; liblber.<br>
configure: warning: silently not building rlm_pam.<br>
configure: warning: FAILURE: rlm_pam requires:&nbsp; libpam.<br>
configure: warning: silently not building rlm_python.<br>
configure: warning: FAILURE: rlm_python requires:&nbsp; Python.h
libpython2.3.<br>
configure: warning: ibm db2 headers not found.&nbsp; Use
--with-ibmdb2-include-dir=3D&lt;path&gt;.<br>
configure: warning: sql submodule 'db2' disabled<br>
configure: warning: iodbc headers not found.&nbsp; Use
--with-iodbc-include-dir=3D&lt;path&gt;.<br>
configure: warning: sql submodule 'iodbc' disabled<br>
configure: warning: mysql headers not found.&nbsp; Use
--with-mysql-include-dir=3D&lt;path&gt;.<br>
configure: warning: sql submodule 'mysql' disabled<br>
configure: warning: oracle headers not found.&nbsp; Use
--with-oracle-home-dir=3D&lt;path&gt;.<br>
configure: warning: sql submodule 'oracle' disabled<br>
configure: warning: unixODBC headers not found.&nbsp; Use
--with-unixodbc-include-dir=3D&lt;path&gt;.<br>
configure: warning: sql submodule 'unixodbc' disabled<br>
maxo@ubuntu:~/freeradius-1.0.2 $ <br><br>
</font>(NOTE ) I do have libgdbm3 installed on my system.<br><br>
and obviously running <font color=3D"#FF0000"><b>make</b></font> from that
gives me:<br><br>
<font color=3D"#000080">maxo@ubuntu:~/freeradius-1.0.2 $ sudo make<br>
Password:<br>
ltdl.c: In function `lt_dlopenext':<br>
ltdl.c:2926: warning: unused variable `file_found'<br>
radius.c: In function `rad_decode':<br>
radius.c:1429: warning: comparison is always true due to limited range of
data type<br>
misc.c: In function `ipv6_ntoa':<br>
misc.c:355: warning: return warning: assignment discards qualifiers from
pointer target type<br>
rbtree.c: In function `rbtree_insert':<br>
rbtree.c:265: warning: assignment discards qualifiers from pointer target
type<br>
rbtree.c:278: warning: assignment discards qualifiers from pointer target
type<br>
radius.c: In function `rad_decode':<br>
radius.c:1429: warning: comparison is always true due to limited range of
data type<br>
misc.c: In function `ipv6_ntoa':<br>
misc.c:355: warning: return discards qualifiers from pointer target
type<br>
rbtree.c: In function `rbtree_insert':<br>
rbtree.c:265: warning: assignment discards qualifiers from pointer target
type<br>
rbtree.c:278: warning: assignment discards qualifiers from pointer target
type<br>
rlm_eap_gtc.c: In function `gtc_detach':<br>
rlm_eap_gtc.c:61: warning: when passing argument 1 of `free' discards
qualifiers from pointer target type<br>
rlm_eap_gtc.c:62: warning: when passing argument 1 of `free' discards
qualifiers from pointer target type<br>
rlm_eap_mschapv2.c: In function `eapmschapv2_compose':<br>
rlm_eap_mschapv2.c:127: warning: assignation from incompatible pointer
type<br>
rlm_eap_peap.c: In function `eappeap_authenticate':<br>
rlm_eap_peap.c:190: warning: when passing argument 2 of `record_plus'
from incompatible pointer type<br>
peap.c: In function `eappeap_postproxy':<br>
peap.c:375: warning: unused variable `vp'<br>
ttls.c: En la funci=F3n `eapttls_postproxy':<br>
ttls.c:744: warning: unused variable `vp'<br>
rlm_eap_gtc.c: In function `gtc_detach':<br>
rlm_eap_gtc.c:61: warning: passing arg 1 of `free' discards qualifiers
from pointer target type<br>
rlm_eap_gtc.c:62: warning: passing arg 1 of `free' discards qualifiers
from pointer target type<br>
rlm_eap_mschapv2.c: In function `eapmschapv2_compose':<br>
rlm_eap_mschapv2.c:127: warning: assignment from incompatible pointer
type<br>
rlm_eap_peap.c: In function `eappeap_authenticate':<br>
rlm_eap_peap.c:190: warning: passing arg 2 of `record_plus' from
incompatible pointer type<br>
peap.c: In function `eappeap_postproxy':<br>
peap.c:375: warning: unused variable `vp'<br>
ttls.c: In function `eapttls_postproxy':<br>
ttls.c:744: warning: unused variable `vp'<br>
rlm_exec.c: In function `exec_detach':<br>
rlm_exec.c:162: warning: passing arg 2 of `xlat_unregister' from
incompatible pointer type<br>
rlm_exec.c: In function `exec_instantiate':<br>
rlm_exec.c:264: warning: passing arg 2 of `xlat_register' from
incompatible pointer type<br>
rlm_exec.c: In function `exec_detach':<br>
rlm_exec.c:162: warning: passing arg 2 of `xlat_unregister' from
incompatible pointer type<br>
rlm_exec.c: In function `exec_instantiate':<br>
rlm_exec.c:264: warning: passing arg 2 of `xlat_register' from
incompatible pointer type<br>
rlm_expr.c: In function `expr_instantiate':<br>
rlm_expr.c:281: warning: passing arg 2 of `xlat_register' from
incompatible pointer type<br>
rlm_expr.c: In function `expr_detach':<br>
rlm_expr.c:295: warning: passing arg 2 of `xlat_unregister' from
incompatible pointer type<br>
rlm_expr.c: In function `expr_instantiate':<br>
rlm_expr.c:281: warning: passing arg 2 of `xlat_register' from
incompatible pointer type<br>
rlm_expr.c: In function `expr_detach':<br>
rlm_expr.c:295: warning: passing arg 2 of `xlat_unregister' from
incompatible pointer type<br>
rlm_perl.c: In function `perl_instantiate':<br>
rlm_perl.c:749: warning: passing arg 2 of `xlat_register' from
incompatible pointer type<br>
rlm_perl.c: In function `perl_detach':<br>
rlm_perl.c:1144: warning: passing arg 2 of `xlat_unregister' from
incompatible pointer type<br>
rlm_perl.c: In function `perl_instantiate':<br>
rlm_perl.c:749: warning: passing arg 2 of `xlat_register' from
incompatible pointer type<br>
rlm_perl.c: In function `perl_detach':<br>
rlm_perl.c:1144: warning: passing arg 2 of `xlat_unregister' from
incompatible pointer type<br>
/usr/bin/ld: cannot find -lperl<br>
collect2: ld returned 1 exit status<br>
make[6]: *** [rlm_perl.la] Error 1<br>
make[5]: *** [common] Error 1<br>
make[4]: *** [all] Error 2<br>
make[3]: *** [common] Error 1<br>
make[2]: *** [all] Error 2<br>
make[1]: *** [common] Error 1<br>
make: *** [all] Error 2<br><br>
</font>Thanks for any help.<br><br>
Max<br>
</body>
</html>

--=====================_245970226==.ALT--


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:50 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0