From mod_auth_pgsql version 0.9.7, apache 1.3.9 and PostgreSQL 7.x are needed APACI STATIC Install - untar apache source and run ./configure from the apache source dir cd /usr/local/src tar zxf apache_1.3.X.tar.gz cd apache_1.3.X ./configure - untar mod_auth_pgsql and configure from the module dir: cd /usr/local/src tar zxf mod_auth_pgsql-X.Y.Z.tar.gz cd mod_auth_pgsql-X.Y.Z ./configure --with-apache=/usr/local/src/apache_1.3.X --with-pgsql=/usr/local/pgsql NOTE: --with-apache point to apache source tree --with-pgsql specify where pgsql was installed - make & install make make install - run the apache configure with "--activate-module=src/modules/auth_pgsql/mod_auth_pgsql.c" cd /usr/local/src/apache_1.3.X ./configure --activate-module=src/modules/auth_pgsql/mod_auth_pgsql.c - run the apache make & install make make install APXS DSO Install: - untar apache source and run ./configure and install cd /usr/local/src tar zxf apache_1.3.X.tar.gz cd apache_1.3.X ./configure -enable-module=so make make install - untar mod_auth_pgsql and configure from the module dir: cd /usr/local/src tar zxf mod_auth_pgsql-X.Y.Z.tar.gz cd mod_auth_pgsql-X.Y.Z ./configure --with-apxs=/usr/local/apache/bin/apxs --with-pgsql=/usr/local/pgsql NOTE: --with-apxs is the apache installation tree (not source) - edit /usr/local/apache/bin/apxs and change these two rows: FROM: my $CFG_LD_SHLIB = q(); # substituted via Makefile.tmpl my $CFG_LDFLAGS_SHLIB = q(); # substituted via Makefile.tmpl TO: my $CFG_LD_SHLIB = q(ld); # substituted via Makefile.tmpl my $CFG_LDFLAGS_SHLIB = q(-G); # substituted via Makefile.tmpl - compile the module /usr/local/apache/bin/apxs \ -I/usr/local/pgsql/include \ -L/usr/local/pgsql/lib -lpq \ -o mod_auth_pgsql.so -c mod_auth_pgsql.c auth_pgsql_shared_stub.c - install the module /usr/local/apache/bin/apxs -i -a -n auth_pgsql mod_auth_pgsql.so Note for debian users: Instead of --with-pgsql, use --with-pgsql-lib= plus --with-pgsql-include= bye Giuseppe Tanzilli