Re: Compile Freeradius 1.1.5 with MySQL 5.0.33 on fedora core 4

2007-03-12 Thread Jose Guevarra

I tried without the terminating slash and the same errors occur.  The user
i'm compiling with has access to all those directories.

"./configure --help"  doesnt have all the mysql switches listed.  where can
I find all the configure options for mysql support in FR?

Thanks.

On 3/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Hi,

> ./configure --prefix=/srv/freeradius115 --with-mysql-dir=/srv/mysql5033/
> --with-mysql-include-dir=/srv/mysql5033/include/mysql/
> --with-mysql-lib-dir=/srv/mysql5033/lib/mysql/ --with-openssl

could you try without the terminating slash on the paths. also, are the
paths
readable by the user you are running ./configure as?

alan

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

Compile Freeradius 1.1.5 with MySQL 5.0.33 on fedora core 4

2007-03-12 Thread Jose Guevarra

Hi,

I'm trying to install Freeradius 1.1.5 with MySQL 5.0.33 on fedora core 4.
I'm upgrading from FR1.1.1 with a standard mysql install.

My MySQL installation is in a non-standard place /srv/mysql5033

So I configure FR with these options

./configure --prefix=/srv/freeradius115 --with-mysql-dir=/srv/mysql5033/
--with-mysql-include-dir=/srv/mysql5033/include/mysql/
--with-mysql-lib-dir=/srv/mysql5033/lib/mysql/ --with-openssl

OUTPUT:

config.status: WARNING:  ./Make.inc.in seems to ignore the --datarootdir
setting
config.status: WARNING:  ./src/include/build-radpaths-h.in seems to ignore
the --datarootdir setting
configure: WARNING: iodbc headers not found.  Use
--with-iodbc-include-dir=.
configure: WARNING: sql submodule 'iodbc' disabled
checking for mysql_config... yes
checking for mysql_init in -lmysqlclient_r (using mysql_config)... no
configure: WARNING: mysql libraries not found. Use
--with-mysql-lib-dir=.
checking for mysql.h (using mysql_config)... yes
configure: WARNING: sql submodule 'mysql' disabled
configure: WARNING: silently not building rlm_sql_postgresql.
configure: WARNING: FAILURE: rlm_sql_postgresql requires:  libpq-fe.h libpq.
configure: WARNING: oracle headers not found.  Use
--with-oracle-home-dir=.
configure: WARNING: sql submodule 'oracle' disabled
configure: WARNING: unixODBC headers not found.  Use
--with-unixodbc-include-dir=.
configure: WARNING: sql submodule 'unixodbc' disabled

Am I missing iodbc-dev? My last installation didn't seem to need it.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html