Hi

After creating the link inside the directory of 
/usr/local/mysql/include

#ln -s ../include mysql, 

then

#./configure
--with-mysql-include-dir=/usr/local/mysql/include

I got the warning as:

configuring in ./drivers/rlm_sql_mysql
running /bin/sh ./configure 
--with-mysql-include-dir=/usr/local/mysql/include -
-cache-file=../.././config.cache --srcdir=.
loading cache ../.././config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) 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 compress in -lz... no
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
updating cache ../.././config.cache
creating ./config.status
creating Makefile

Anyoue can give me the solution, if MySql binary
package is installed in default path /usr/local/mysql
and my OS is solaris2.7 with gcc 3.2

Regards
K

 
 --- Ador Dauz <[EMAIL PROTECTED]> wrote: > On
Thursday 05 September 2002 06:52, you wrote:
> > :-)
> > :
> > >   It *is* using the path you give it.  That's
> not the problem.
> >
> > well, it does add "mysql" to it.
> >
> > >   The problem is that the MySQL header files are
> *normally* in
> > > <mysql/mysql.h>, as evidenced by the fact that
> this issue hasn't been
> > > a problem for at least the past year.  So if
> you're running into a
> > > problem, it's because the  mysql header files on
> your system are in a
> > > different place than 90% of other peoples
> systems.
> 
> I started using the freeradius last July and I have
> same problem with you.
> It found the lib but not the include directory so
> the headers not found. To 
> work arround with these... I created a link named
> mysql inside in the 
> directory of include. I'm inside the directory of
> /usr/local/mysql/include  
> then I do this command, ln -s ../include mysql 
> these only work with this 
> option
> --with-mysql-include-dir=/usr/local/mysql/include 
> or create a link 
> inside 
> the directory of your mysql name mysql link to
> include directory but your 
> option look like these...
> --with-mysql-include-dir=/usr/local/mysql
> 
> To test if work do it first inside the mysql module
> directory the configure 
> command.
> I'm not a programmer so please dont ask me about the
> that module, Im still
> a student learning system administration.. I really
> admire all the programmer
> who build the freeradius program.
> 
> Thanks
> ador
> 
> - 
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html 

_______________________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk

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

Reply via email to