I think it is because of a bug in the makefile. You have to apply this
patch:

--- mod_auth_mysql-2.20.orig/Makefile.in        Sat Oct  3 13:24:28 1998
+++ mod_auth_mysql-2.20/Makefile.in     Tue Nov 30 17:59:32 1999
@@ -1,7 +1,7 @@
 CC = @CC@
 AR = ar rc
 INSTALL_IT = @INSTALL_IT@
-INCLUDE = -I. @APACHE_INCLUDE@
+INCLUDE = -I. @MYSQL_INCLUDE@ @APACHE_INCLUDE@
 BINNAME = @BINNAME@
 RANLIB = @RANLIB@
 PROF_CFLAGS =
@@ -15,6 +15,12 @@
 APXS = @APXS@
 APXS_LDFLAGS = @APXS_LDFLAGS@
 WARNING_LEVEL = @WARNING_LEVEL@
+
+
+build:
+       cp ./config.h ./auth_mysql_config.h
+       $(APXS) $(INCLUDE) -c ./mod_auth_mysql.c $(APXS_LDFLAGS)
+

 install:
        $(INSTALL_IT)


Copy the above and paste it into a file.

Do a:

patch -p1 < patchfile


Melvin

----- Original Message -----
From: "Wim Godden" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 16, 2001 3:56 AM
Subject: Using web administration won't work because of mod_auth_mysql


> I wanted to install the web administration tools, but found out I needed
> mod_auth_mysql, so I downloaded version 2.20 (seems to be the latest,
> although it's from October 1998).
> However, make gives me :
> /usr/local/apache/bin/apxs -i -a -n auth_mysql libauth_mysql.so
> [activating module `auth_mysql' in /usr/local/apache/conf/httpd.conf]
> cp libauth_mysql.so /usr/local/apache/libexec/libauth_mysql.so
> cp: libauth_mysql.so: No such file or directory
> apxs:Break: Command failed with rc=1
> make: *** [install] Error 1
>
> Any ideas ?
>
>

Reply via email to