From cb854fe3e61b2590aeede8e6e94ee9feda919800 Mon Sep 17 00:00:00 2001 From: Christopher Powell Date: Wed, 02 Jan 2002 20:47:44 +0000 Subject: Fixed another typo in make_combined_log; improved DSO instructions based on a user's input. --- diff --git a/INSTALL b/INSTALL index 4963123..86807a2 100644 --- a/INSTALL +++ b/INSTALL @@ -1,4 +1,4 @@ -$Id: INSTALL,v 1.2 2001/12/03 19:54:02 helios Exp $ +$Id: INSTALL,v 1.3 2002/01/02 20:47:44 helios Exp $ Requirements @@ -44,10 +44,12 @@ instructions.) # tar zxf mod_log_mysql.tar.gz -C /usr/local/src # cd /usr/local/src/mod_log_mysql -2) Instruct apxs to compile and install the module as a DSO. (My apxs is - in /usr/local/Apache/bin, perform a "locate" to find yours...) +2) Instruct apxs to compile and install the module as a DSO. You need + to know two things before you run apxs: + - The location of the apxs binary, find using 'locate apxs' + - The location of your MySQL libraries, find using 'locate libmysqlclient' - # /apxs -i -a -c mod_log_mysql.c + # /apxs -i -a -c -L -lmysqlclient -lz mod_log_mysql.c You should see something like this: diff --git a/make_combined_log.pl b/make_combined_log.pl index e72cabb..cefc728 100755 --- a/make_combined_log.pl +++ b/make_combined_log.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -# $Id: make_combined_log.pl,v 1.3 2001/12/04 00:11:59 helios Exp $ +# $Id: make_combined_log.pl,v 1.4 2002/01/02 20:47:44 helios Exp $ # # make_combined_log.pl # @@ -93,7 +93,7 @@ while (@data = $records->fetchrow_array) { # Create format for leading-zero formatting if ($mday < 10) { $mday = "0$mday"; } - if ($month < 10) { $month = "0$month"; } + if ($mon < 10) { $mon = "0$mon"; } if ($hour < 10) { $hour = "0$hour"; } if ($min < 10) { $min = "0$min"; } if ($sec < 10) { $sec = "0$sec"; } -- cgit v0.9.2