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:
freeradius-users-bounces@lists.freeradius.org
[mailto:freeradius-users-bounces@lists.freeradius.org] On Behalf Of Alex M
Sent: Sonntag, 23. Oktober 2005
19:40
To:
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:
freeradius-users-bounces@lists.freeradius.org
[mailto:freeradius-users-bounces@lists.freeradius.org] On Behalf Of Seferovic Edvin
Sent: Sunday, October 23, 2005
1:27 PM
To: '
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:
freeradius-users-bounces@lists.freeradius.org
[mailto:freeradius-users-bounces@lists.freeradius.org] On Behalf Of Alex M
Sent: Sonntag, 23. Oktober 2005
18:45
To: '
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:
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:
freeradius-users-bounces@lists.freeradius.org
[mailto:freeradius-users-bounces@lists.freeradius.org] On Behalf Of ho
Sent: Sunday, October 23, 2005
4:18 AM
To:
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 foundsql_mysql.c:40:19: mysql.h: No such file or directoryIf you have installed mysql you have to tell the configure script, where the mysql- include- library- and the mysql programmon you box "lives" look at./configure --helpfor 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