[Mod_log_sql] Installing on RH9

Edward Rudd urkle at outoforder.cc
Tue Apr 27 17:42:22 EST 2004


It can't find the mysql.h file.. That is the problem. You need to
install the development package for mysql (mysql-devel). Just having the
libraries alone isn't enough. The header files (.h files) are also
needed to compile against a library.

On Tue, 2004-04-27 at 17:35, Ron Gilbert wrote:
> I get the following in the config.log file:
> 
> configure:2864: checking whether mysql clients can run
> configure:2883: gcc -o conftest -g -O2 -I/usr/local/mysql/include 
> -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/my\
> sql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql 
> -L/usr/local/mysql/lib -L/usr/lib/mysql -L/usr/mysql/lib -L/usr/l\
> ocal/lib/mysql -L/usr/local/mysql/lib/mysql -L/usr/mysql/lib/mysql 
> conftest.c -lmysqlclient -lz -lm  >&5
> configure:2872:25: mysql.h: No such file or directory
> configure: In function `main':
> configure:2875: `MYSQL' undeclared (first use in this function)
> configure:2875: (Each undeclared identifier is reported only once
> configure:2875: for each function it appears in.)
> configure:2875: `a' undeclared (first use in this function)
> configure:2886: $? = 1
> configure: program exited with status 1
> configure: failed program was:
> #line 2869 "configure"
> 
> It seems that several of the mysql test did succeed.  I do not have 
> mysql-devel installed (that I know of).
> 
> Ron
> 
> Edward Rudd wrote:
> 
> > Do you have the mysql-devel package installed on your RedHat 9 system?
> > Also look through your config.log and see what the actual error was when
> > it tried to detect the mysql client libraries.
> > 
> > On Tue, 2004-04-27 at 16:26, Ron Gilbert wrote:
> > 
> >>I am trying to install mod_log_sql 1.97 on RH9 and am running into a 
> >>problem.  When I run ./configure, I get the following:
> >>
> >>*** MySQL could not be found ***
> >>configure: error: *** Mysql client libraries not found!
> >>
> >>But, the libraries are there:
> >>
> >>/usr/lib/mysql/libmysqlclient.so.10
> >>/usr/lib/mysql/libmysqlclient.so.10.0.0
> >>/usr/lib/mysql/libmysqlclient_r.so.10
> >>/usr/lib/mysql/libmysqlclient_r.so.10.0.0
> >>/usr/lib/libmysqlclient.so.10
> >>/usr/lib/libmysqlclient.so
> >>/usr/lib/libmysqlclient.so.10.0.0
> >>/usr/lib/libmysqlclient_r.so
> >>/usr/lib/libmysqlclient_r.so.10
> >>/usr/lib/libmysqlclient_r.so.10.0.0
> >>
> >>I am running mysql 3.23.56 and apache 2.0
> >>
> >>I have also read about people having problems when compiling and not 
> >>being able to find ssl.h, I have not seen a solution.  Any idea if this 
> >>is going to be a problem, or any other issues I should know about when 
> >>building on RH9?
> >>
> >>Thanks, Ron
> >>
> >>
> >>_______________________________________________
> >>Download the latest version at http://www.outoforder.cc/projects/apache/mod_log_sql/
> >>
> >>To unsubscribe send an e-mail to 
> > 
> > mod_log_sql-unsubscribe at lists.outoforder.cc
-- 
Edward Rudd <urkle at outoforder.cc>
Website http://www.outoforder.cc/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.outoforder.cc/pipermail/mod_log_sql/attachments/20040427/35778ac6/attachment.bin 


More information about the Mod_log_sql mailing list