Re: FreeRadius make ERRORS

2005-05-25 Thread Nicolas Baradakis
Maxo Benalal wrote:

> The unmet dependencies are:
> libltld3-dev, libsasl2-dev, libsnmp4.2-dev, libiodbc2-dev, libtool1.4, snmp
> autotools-dev

That means you have to install these packages (with apt-get) before
you can build FreeRADIUS on your system.

-- 
Nicolas Baradakis

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: FreeRadius make ERRORS

2005-05-25 Thread Nicolas Baradakis
Maxo Benalal wrote:

> Thanks Nicolas,
> 
> 1. I've gone to the directory where I downloaded the .gz
> 2. I did the tar xzf freeradius-1.0.2.tar.gz.
> 3. I did the cd freeradius-1.0.2.
> 4. When I do the fakeroot I get an error message saying:
>dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting

Read more carefully the output of dpkg-buildpackage: it tells you
which packages are missing on your system.

PS: Please send messages to the list and not to my personal address.

-- 
Nicolas Baradakis

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: FreeRadius make ERRORS

2005-05-25 Thread Nicolas Baradakis
Maxo Benalal wrote:

> Thanks for your reply. Could you please give me the exact command to
> run to install FreeRadius?

With Debian tools:

$ tar xzf ~/projs/freeradius/upstream/releases/freeradius-1.0.2.tar.gz
$ cd freeradius-1.0.2
$ fakeroot dpkg-buildpackage -b
$ sudo dpkg -i ../freeradius_1.0.2-0_i386.deb

Nicolas Baradakis

-- 
A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting annoying in email?

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: FreeRadius make ERRORS

2005-05-25 Thread Nicolas Baradakis
Software Development Group wrote:

> I am trying to compile FreeRadius with MySQL for user/time
> validation and I am getting many errors while compiling. Here
> are the results of the configure and the make scripts:
>
> [EMAIL PROTECTED]:~/freeradius-1.0.2 $ sudo ./configure

With Ubuntu (like with Debian) you can build FreeRADIUS with the
dpkg-buildpackage command. This script checks if you have the
required packages installed on your system and automatically
builds a Debian package.

-- 
Nicolas Baradakis

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


FreeRadius make ERRORS

2005-05-25 Thread Software Development Group


Hello,
I am trying to compile FreeRadius with MySQL for user/time validation and
I am getting many errors while compiling. Here are the results of the
configure and the make scripts:
[EMAIL PROTECTED]:~/freeradius-1.0.2 $ sudo
./configure --with-experimental-modules
--with-mysql-include-dir=/usr/local/include/ > configure.txt
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: silently not building rlm_pam.
configure: warning: FAILURE: rlm_pam requires:  libpam.
configure: warning: ibm db2 headers not found.  Use
--with-ibmdb2-include-dir=.
configure: warning: sql submodule 'db2' disabled
configure: warning: iodbc headers not found.  Use
--with-iodbc-include-dir=.
configure: warning: sql submodule 'iodbc' disabled
configure: warning: oracle headers not found.  Use
--with-oracle-home-dir=.
configure: warning: sql submodule 'oracle' disabled
configure: warning: unixODBC headers not found.  Use
--with-unixodbc-include-dir=.
configure: warning: sql submodule 'unixodbc' disabled
[EMAIL PROTECTED]:~/freeradius-1.0.2 $

[EMAIL PROTECTED]:~/freeradius-1.0.2 $ sudo make > make.txt
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
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
radius.c: In function `rad_decode':
radius.c:1429: warning: comparison is always true due to limited range of
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_dbm.c: In function `sm_parse_user':
rlm_dbm.c:176: warning: assignment discards qualifiers from pointer
target type
rlm_dbm.c:210: warning: passing arg 2 of `paircmp' discards qualifiers
from pointer target type
rlm_dbm_parser.c: In function `storecontent':
rlm_dbm_parser.c:165: warning: assignment discards qualifiers from
pointer target type
rlm_dbm.c: In function `sm_parse_user':
rlm_dbm.c:176: warning: assignment discards qualifiers from pointer
target type
rlm_dbm.c:210: warning: passing arg 2 of `paircmp' discards qualifiers
from pointer target type
rlm_eap_gtc.c: In function `gtc_detach':
rlm_eap_gtc.c:61: warning: passing arg 1 of `free' discards qualifiers
from pointer target type
rlm_eap_gtc.c:62: warning: passing arg 1 of `free' discards qualifiers
from 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
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_eap_gtc.c: In function `gtc_detach':
rlm_eap_gtc.c:61: warning: passing arg 1 of `free' discards qualifiers
from pointer target type
rlm_eap_gtc.c:62: warning: passing arg 1 of `free' discards qualifiers
from 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
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
incompatible pointer type
rlm_exec.c: In function `exec_instantiate':
rlm_exec.c:264: warning: passing arg 2 of `xlat_register' from
incompatible pointer type
rlm_exec.c: In function `exec_detach':
rlm_exec.c:162: warning: passing arg 2 of `xlat_unregister' from
incompatible pointer type
rlm_exec.c: In function `exec_instantiate':
rlm_exec.c:264: warning: passing arg 2 of `xlat_register' from
incompatible pointer type
rlm_expr.c: In function `expr_instantiate':
rlm_expr.c:281: warning: passing arg 2 of `xlat_register' from
incompatible pointer type
rlm_expr.c: In function `expr_detach':
rlm_expr.c:295: warning: passing arg 2 of `xlat_unregister' from
incompatible pointer type
rlm_expr.c: In function `expr_instantiate':
rlm_expr.c:281: warning: passing arg 2 of `xlat_register' from
incompatible pointer type
rlm