Re: OS X 10.3.2

ian <[email protected]> Fri, 13 Feb 2004 16:34:30 +0000
Newsgroups gmane.comp.apache.mod-log-sql
Message-ID <[email protected]>
On 13 Feb 2004, at 16:09, Anders Boegh Mortensen wrote:

> I give up!
> After repeated attempts i have not succeeded in compiling the module :(
>
Oh.  It just worked for me.  A 10.3.2 system, Developer Tools, the 
Apache that ships with 10.3.2 (v1.3.29) and my own custom build MySQL 
4.0.17.

> I there a friendly sole out there that can post a link to a compiled 
> version of 'mod_log_sql.so' ?
>
> Im running:
> OS X 10.3.2
> httpd: 2.0.48
> mysql: 4.0.15
>
> Apache and Mysql is those of 
> http://www.serverlogistics.com/software.php
>
I've zero clue about that site or their software - I have a small 60KB 
.so file that works for *me* but I have a deliberately non-standard 
MySQL so I can't guarantee that it'll find the MySQL libraries (I have 
no idea if OS X is flexible when it comes to searching for them).

What sort of errors do you get from the build ?  I literally typed the 
following (apart from the patches, of course !):

   tar -zxvf mod_log_sql-1.95.tar.gz
   cd mod_log_sql-1.95
   sudo ./configure --prefix=/server --with-apxs=/usr/sbin 
--with-mysql=/server
   make
   sudo make install

Note the --prefix and --with-mysql are for my own custom setup - change 
the --with-mysql (you can perhaps omit --prefix one) to ensure that the 
mysqlclient library is found.  The sudo on the ./configure line was 
because a couple of chown calls were complaining about rights: I can't 
recall know if that was just a problem with my setup.

HTH,
-- 
ian.
GPG Fingerprint: D170 35A3 C858 6E85 9B5B  1557 4CD5 6F6F E176 2D0A