Problem fixed
The original installation for mysql was from a binary tar ball. It worked fine once I'd followed the installation steps i.e. >mysql would allow me to talk to the database. However this setup didn't build freeradius with the mysql extensions.
I subsequently downloaded the appropriate rpms for mySQL, installed them and then the freeradius ./configure worked fine.
<html><DIV>
<DIV>
<P>--------------------</P>
<P><A href="http://www.zurowski.btinternet.co.uk">John Zurowski</A></P>
<P>--------------------</P></DIV></DIV></html>
From: Ossama Suleiman <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Problems building Freeradius with MySQL support Date: Tue, 28 Jan 2003 13:26:57 +0200
_________________________________________________________________ MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk
--- Begin Message --- hi john,
"ABSOLUTELY MAKE SURE you have the mysql-devel (headers and libraries) package installed with your MySQL, otherwise freeradius won't compile with MySQL support properly. Many people seem to miss having this."
you can also check http://www.frontios.com/freeradius.html
great site, great help
hope that helps
Regards
Ossama
john zurowski wrote:
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --- End Message ---
I've been using Freeradius with the users file without any problems for a while now.
I've decided to upgrade to using MySQL to maintain the users/accounting database
I've tried building freeradius using the following ./configure without any luck.
./configure --with-rlm-mysql-lib-dir=/usr/local/mysql/lib/
--with-rlm-mysql-include-dir=/usr/local/mysql/include/
and
./configure --with-mysql-lib-dir=/usr/local/mysql/lib/
--with-mysql-include-dir=/usr/local/mysql/include/
I'm using freeradius.0.8.1 & MySQL 3.23.54
after doing a "make" looking in :
src/modules/rlm_sql/drivers/rlm_sql_mysql
no object files are being generated although a Makefile is created
It would be greatly appreciated if someone could point me at a how-to to
resolve this issue. As I know that its something that I'm not doing right -
just can't figure out what it is.
Thanks in advance
---------------
John Zurowski
_________________________________________________________________
Overloaded with spam? With MSN 8, you can filter it out http://join.msn.com/?page=features/junkmail&pgmarket=en-gb&XAPID=32&DI=1059
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
