Ok, THANKS people I got it working!!!

 

What I did was that I instaleed absolutely clean copy oh Red Hat, w/o any SQL files, that I went on mysql.com and downloaded latest client and libraryes RPM packages and then installed them, and then I did regular freeradius install w/o any additional config, and then I authorized use of SQL in radius config file….

 

Works perfect!

 

Thanks again!!!

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Seferovic Edvin
Sent: Sunday, October 23, 2005 3:20 PM
To: 'FreeRadius users mailing list'
Subject: RE: meed help on sering freeradius with MySQL

 

Install the header files ( which should be automatically placed in /usr/include/mysql ), and then run the configure script like

 

. ./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>

 

Just as marco said... that shouldn’t be a problem !

 

Regards,

 

Edvin Seferovic

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex M
Sent: Sonntag, 23. Oktober 2005 19:40
To: [EMAIL PROTECTED]; 'FreeRadius users mailing list'
Subject: RE: meed help on sering freeradius with MySQL

 

Ok, I just tested that mysql client is working… gladly the commands here are the same as on windows…. And its as appears installed by default in Red hat…

Now what folders does Free Radius needs to work with MySQl, because when I did whereis mysql I got only “bin” and “lib” folder?

 

 

 

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Seferovic Edvin
Sent: Sunday, October 23, 2005 1:27 PM
To: 'FreeRadius users mailing list'
Subject: RE: meed help on sering freeradius with MySQL

 

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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 L 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 L

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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
 
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to