[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Compiling mod_auth_mysql on RaQ3
- Subject: [cobalt-users] Compiling mod_auth_mysql on RaQ3
- From: David Buxton <david.buxton@xxxxxxxxxxxx>
- Date: Thu Oct 18 11:51:46 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hello,
Having trouble getting mod_auth_mysql built as a shared library for Apache
on a RaQ3 (totally up-to-date patch-wise).
I've installed the DBI/MySQL package from Cobalt, and that now works well. I
want to use mod_auth_mysql to allow us to authenticate access to parts of
the site by looking up users in a table in MySQL. (Suggestions for other
methods of authentication/authorization are welcome.)
mod_auth_mysql looks like it will be perfect for us, if only I could work
out how to get it to build.
# ./configure \
--with-apxs=/usr/sbin/apxs \
--with-apache=/usr/include \
--with-mysql=/usr
The configure works with the following warnings. I think a similar problem
was discussed before and part of the blame was laid at a broken apxs.
checking for Apache module support via DSO through APXS... apxs:Warning:
/usr/bin/httpd not found or not executable
apxs:Warning: Continuing anyway...
apxs:Warning: No shared object support for Apache
apxs:Warning: available under your platform. Make sure
apxs:Warning: the Apache module mod_so is compiled into
apxs:Warning: your server binary `/usr/bin/httpd'.
apsx:Warning: Continuing anyway...
yes
checking for Apache module support via DSO through APACI... no
Then I run make, and it seems to be busy trying to install the finished
shared libary before it even tries to make it. I really don't know.
# make
/usr/sbin/apxs -i -a -n auth_mysql libauth_mysql.so
apxs:Warning: /usr/bin/httpd not found or not executable
apxs:Warning: Continuing anyway...
apxs:Warning: No shared object support for Apache
apxs:Warning: available under your platform. Make sure
apxs:Warning: the Apache module mod_so is compiled into
apxs:Warning: your server binary `/usr/bin/httpd'.
apsx:Warning: Continuing anyway...
cp libauth_mysql.so /usr/lib/apache/libauth_mysql.so
cp: libauth_mysql.so: No such file or directory
apxs:Break: Command failed with rc=65536
make: *** [install] Error 1
Any help much appreciated,
David B.
--
David Buxton - planetrapido.com
Email david.buxton@xxxxxxxxxxxx 14 - 16 Great Pulteney St.
Tel 020-7440-5760 London, W1F 9ND
Mobile 07967-484643 United Kingdom