Nick Davis <[EMAIL PROTECTED]> wrote:
> I am trying to compile freeradius-snapshot-20010730 with mysql. For some
> reason I am unable to get it to work properly. I hope someone can assist me
> with this problem.
>
> Here is what the output of the ./configure script says:
>
> checking for mysql/mysql.h... yes
> checking for mysql_init in -lmysqlclient... no
> configure: warning: mysql libraries not found. Use
> --with-mysql-lib-dir=<path>.
> configure: warning: sql submodule 'mysql' disabled
>
> Here is the command that I am trying to run:
>
> ./configure --with-thread-pool --with-mysql-include-dir=/usr/include/mysql/
> --with-mysql-lib-dir=/usr/lib/mysql/ --with-mysql-dir=/usr/bin/
After doing the top-level compile, try doing:
cd src/modules/rlm_sql/drivers/rlm_sql_mysql
./configure --with-mysql-include-dir=/usr/include/mysql/
--with-mysql-lib-dir=/usr/lib/mysql/ --with-mysql-dir=/usr/bin/
That may help.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html