Please forgive my ignorance.  I have reviewed the doc files, asked other Linux admins 
here at my company and searched the web but I cannot seem to get past this error.
 
creating ./config.status
creating Makefile
configuring in ./drivers/rlm_sql_mysql
running /bin/sh ./configure  --enable-sql=mysql 
--with-mysql-include-dir=/usr/local/mysql --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 
-Wall -D_GNU_SOURCE -DNDEBUG ) works... yes
checking whether the C compiler (gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS 
-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 compress in -lz... (cached) yes
checking for mysql/mysql.h... no
configure: warning: mysql headers not found.  Use --with-mysql-include-dir=<path>.
configure: warning: sql submodule 'mysql' disabled

 
My command line is: ./configure --with-mysql-include-dir=usr/local/mysql/include and I 
have tried ./configure --with-mysql-include-dir=/usr/local/mysql as well as 
./configure --with-mysql-include-dir=/usr/local

Here is where I believe that I should be pointing:

[root@svrwsb187 include]# pwd
/usr/local/mysql/include
[root@svrwsb187 include]# ls
config.h      m_string.h   myisam.h         mysqld_error.h   rijndael.h
config-os2.h  my_aes.h     myisammrg.h      mysql_embed.h    sha1.h
dbug.h        my_alarm.h   myisampack.h     mysql.h          sslopt-case.h
errmsg.h      my_alloc.h   my_list.h        mysql_version.h  sslopt-longopts.h
ft_global.h   my_base.h    my_net.h         mysys_err.h      sslopt-vars.h
hash.h        my_bitmap.h  my_no_pthread.h  my_sys.h         t_ctype.h
heap.h        my_config.h  my_nosys.h       my_tree.h        thr_alarm.h
m_ctype.h     my_dir.h     my_pthread.h     nisam.h          thr_lock.h
md5.h         my_getopt.h  my_semaphore.h   queues.h         violite.h
merge.h       my_global.h  mysql_com.h      raid.h

This is a Redhat 7.3 install using MYSQL 4.0 and FreeRADIUS .0.8.1.  MYSQL was from 
the binary distribution and is working on this system.
 
Can anyone point me in the right direction for getting this to compile with MYSQL 
support?  



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

Reply via email to