Re: Installing on RH9
Edward Rudd <[email protected]> Tue, 27 Apr 2004 17:42:22 -0500
| Newsgroups | gmane.comp.apache.mod-log-sql |
|---|---|
| Organization | OutOfOrder.cc |
| Message-ID | <1083105742.1860.27.camel__22258.756546262$1083169061@urkle.vernon.hills> |
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-7qY7E20V6GW73k+5HYS8LQqVMODqnSLI@public.gmane.org -- Edward Rudd <[email protected]> Website http://www.outoforder.cc/
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQBAjuHOvwMxRUUct20RAih+AJ9W9RCD3X4+1YnC7J3HaCLK0pFPwgCcDCoT pHZdMlbK8+pgxSKBJPHmZto= =LBAK -----END PGP SIGNATURE-----