[Mod_log_sql] ./configure worked on 1.98 but not 1.99!

Edward Rudd urkle at outoforder.cc
Mon Aug 2 02:27:08 EST 2004


On Mon, 2004-08-02 at 01:02, Matt Erbst wrote:
> But I was getting around to upgrading to 1.99 and found that no matter
> what I did, configure was looking for the dbi libraries.
> 
** urkle grumbles **
>  
> 
> I’m running FreeBSD 5.2, and everything else is recently updated.  I
> suppose I could install libDBI, but I really don’t need it.

I've attached a patch to configure that will fix the issue (I changed
the AC_MSG_ERROR to AC_MSG_WARN as they should have been in
configure.ac)

> If this is my mistake, I apologize, otherwise, I thought you should be
> made aware of this problem if you aren’t already.
> 
I didn't know about this one, Thanks for the report.

-- 
Edward Rudd <urkle at outoforder.cc>
Website http://www.outoforder.cc/
-------------- next part --------------
--- configure.old	Tue Jul 20 17:47:33 2004
+++ configure	Mon Aug  2 02:21:00 2004
@@ -3174,9 +3174,8 @@
         MYSQL_CFLAGS=""
         MYSQL_LDFLAGS=""
         MYSQL_LIBS=""
-        { { echo "$as_me:$LINENO: error: *** Mysql client libraries not found!" >&5
-echo "$as_me: error: *** Mysql client libraries not found!" >&2;}
-   { (exit 1); exit 1; }; }
+        { echo "$as_me:$LINENO: WARNING: *** Mysql client libraries not found!" >&5
+echo "$as_me: WARNING: *** Mysql client libraries not found!" >&2;}
         WANT_MYSQL_MOD=0
 
       fi
@@ -3218,9 +3217,8 @@
 done
 
 if test -z "$DBI_CFLAGS"; then
-  { { echo "$as_me:$LINENO: error: ** libDBI client libraries not found!" >&5
-echo "$as_me: error: ** libDBI client libraries not found!" >&2;}
-   { (exit 1); exit 1; }; }
+  { echo "$as_me:$LINENO: WARNING: ** libDBI client libraries not found!" >&5
+echo "$as_me: WARNING: ** libDBI client libraries not found!" >&2;}
         WANT_DBI_MOD=0
 
 fi
@@ -3309,9 +3307,8 @@
     fi
 done
 if test -z "$DBI_LDFLAGS"; then
-  { { echo "$as_me:$LINENO: error: ** libDBI client libraries not found!" >&5
-echo "$as_me: error: ** libDBI client libraries not found!" >&2;}
-   { (exit 1); exit 1; }; }
+  { echo "$as_me:$LINENO: WARNING: ** libDBI client libraries not found!" >&5
+echo "$as_me: WARNING: ** libDBI client libraries not found!" >&2;}
         WANT_DBI_MOD=0
 
 else
@@ -4004,7 +4001,7 @@
 
 case "$target" in
 	*-*-solaris* | *-*-osf* )
-		if test $APACHE_VERSION -eq 1.3; then
+		if test $AP_VERSION -eq 1.3; then
 			RT_LIBS=-lrt
 		fi
 		;;
-------------- 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/20040802/4178e40a/attachment.bin 


More information about the Mod_log_sql mailing list