meed help on sering freeradius with MySQL

Seferovic Edvin edvin.seferovic at kolp.at
Sun Oct 23 19:26:59 CEST 2005


Hi,

 

while installing RedHat ( again I suppose ).. search for any packages which
contain mysql in their name.. and simply installl them all.. you will get
mysql-server, mysql-client and mysql-libraries installed...after
installation just type "whereis mysql" and that will give you ( when
correctly installed ) the paths to mysql-libraries and header files... you
should use those directories when running 

 

./configure ( of freeradius )... sometimes ./configure will look for mysql
it self ( of course in default paths ), but you may want to tell the
configure script where your mysql libs are.. just like marco wrote !

 

If you want to test mysql-client, you will need a server too... but when
properly installed - there is no need of testing it...

 

Regards,

 

Edvin Seferovic

  _____  

From: freeradius-users-bounces at lists.freeradius.org
[mailto:freeradius-users-bounces at lists.freeradius.org] On Behalf Of Alex M
Sent: Sonntag, 23. Oktober 2005 18:45
To: 'FreeRadius users mailing list'
Subject: RE: meed help on sering freeradius with MySQL

 

I tried that but it doesn't work :-( what can I do?

 

Let me try to start all over again, I will do:

1.	Install Red Hat
2.	Install MySQL Client
3.	Test MySQL Clint (How?)
4.	Install FreeRadius
5.	Allow use of SQL in config
6.	Run radiusd -X
7.	It wont work so I'll be screwed again

 

Is that correct? Or any other suggestions, cause this my sql feature is
driving me crazy.. Im a windows engineer and lot linux :-(

 

 

  _____  

From: freeradius-users-bounces at lists.freeradius.org
[mailto:freeradius-users-bounces at lists.freeradius.org] On Behalf Of ho
Sent: Sunday, October 23, 2005 4:18 AM
To: FreeRadius users mailing list
Subject: Re: meed help on sering freeradius with MySQL

 

Hi,
For example the following line tells you that during installation the header
files weren't found
sql_mysql.c:40:19: mysql.h: No such file or directory
If you have installed mysql you have to tell the configure script, where the
mysql
- include
- library
- and the mysql programm
on you box "lives"
 
look at
./configure --help
for more information.
it could look like (change to your environment!!!):
./configure --with-mysql-include-dir=<PATH to mysql include-dir>
--with-mysql-lib-dir=<PATH to mysql-lib dir> --with-mysql-dir=<PATH to
mysql-dir>
marco
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20051023/85e6fc10/attachment.html>


More information about the Freeradius-Users mailing list