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

The output of this is the same as I get from the top-level compile.

Is there a way I can just make it work? Can I edit the Makefile such that it 
will make the mysql module and work properly? Do you have any other ideas?

Thanks for the help thus far!
-- 
Nick Davis 

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

Reply via email to