OK The problem was related to the path for mysql/mysql.h.....in fact I've
moved the files from /usr/local/mysql/include to
/usr/local/mysql/include/mysql and now works.
Cheers
-----Messaggio originale-----
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Per conto di Jan Satko
Inviato: marted� 10 agosto 2004 11.02
A: [EMAIL PROTECTED]
Oggetto: Re: problem compiling mysql module
> [freeradius-1.0.0-pre3]# ./configure --prefix=/usr/local/radius/
> --with-mysql-dir=/usr/local/mysql/bin/
Try this without /bin/.
> --with-mysql-lib-dir=/usr/local/mysql/lib/
> --with-mysql-include-dir=/usr/local/mysql/include/
I don't type any --with-mysql-* parameters and configure script
automatically find my mysql_config. I have rh9.0
> checking for mysql_config... (cached) no
^^^^^^^^^^^^
--
Bc. Jan 'EIS' Satko Slovak University of Agriculture
network & system manager Tr. A. Hlinku 2
Tel: +421 37 7412 616 949 76 Nitra Slovakia
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
-----Messaggio originale-----
Da: Conosciani Mauro
Inviato: marted� 10 agosto 2004 10.22
A: '[EMAIL PROTECTED]'
Oggetto: problem compiling mysql module
Hi everybody
I�m having problem compiling freeradius-1.0.0-pre3 on RH ES 3, running
[freeradius-1.0.0-pre3]# ./configure --prefix=/usr/local/radius/
--with-mysql-dir=/usr/local/mysql/bin/
--with-mysql-lib-dir=/usr/local/mysql/lib/
--with-mysql-include-dir=/usr/local/mysql/include/
I receive
configuring in ./drivers/rlm_sql_mysql
running /bin/sh ./configure --prefix=/usr/local/radius/
--with-mysql-dir=/usr/local/mysql/bin/
--with-mysql-lib-dir=/usr/local/mysql/lib/
--with-mysql-include-dir=/usr/local/mysql/include/ --enable-ltdl-install
--cache-file=../../../../.././config.cache --srcdir=.
loading cache ../../../../.././config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall -D_GNU_SOURCE -DNDEBUG
) works... yes
checking whether the C compiler (gcc -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall -D_GNU_SOURCE -DNDEBUG
) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for mysql_config... (cached) no
checking for compress in -lz... (cached) yes
checking for mysql/mysql.h... no
configure: warning: mysql headers not found. Use
--with-mysql-include-dir=<path>. (I DID IT!!!!)
configure: warning: sql submodule 'mysql' disabled
���.
I don�t understand the line checking for mysql/mysql.h
ANY IDEA��
Thanks
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html