[pubcookie-users] mod_pubcookie build error on Dapper
Elliot Anders
elliot at marlboro.edu
Wed Apr 25 07:30:02 PDT 2007
I've seen similar problems in the archives on mod_pubcookie on Etch
not compiling correctly, but the fix posted doesn't seem to work for
Ubuntu Dapper.
Current Setup: pubcookie 3.3.2c on Ubuntu Dapper with OpenSSL 0.9.8a
and apache 2.0.55
Apache is installed via apt, no source available as far as I can tell.
apache2-threaded-dev provides apxs2
running ./configure --with-apxs=/usr/bin/apxs2
works without errors
make fails with:
make[1]: Entering directory `/root/pubcookie-3.3.2/module'
/usr/share/apache2/build/special.mk:37: /build/rules.mk: No such file
or directory
make[1]: *** No rule to make target `/build/rules.mk'. Stop.
make[1]: Leaving directory `/root/pubcookie-3.3.2/module'
make: *** [apache_module] Error 2
changing the module/Makefile from:
------------------------------------------------------------------------
------------
# Makefile for Apache2 DSO module
#
builddir = .
APXS=/usr/bin/apxs2
top_dir =
top_srcdir =
top_builddir =
include /usr/share/apache2/build/special.mk
DEFS=-DAPACHE -DAPACHE2 -DHAVE_CONFIG_H
INCLUDES=-I.
------------------------------------------------------------------------
------------
to use the correct(?) apache src and build directories:
------------------------------------------------------------------------
------------
top_srcdir = /usr/share/apache2
top_builddir = /usr/share/apache2
------------------------------------------------------------------------
------------
allows me to get through the make process, but errors on make install:
------------------------------------------------------------------------
------------
Making all in module
(cd module; make install)
make[1]: Entering directory `/root/pubcookie-3.3.2/module'
make[2]: Entering directory `/root/pubcookie-3.3.2/module'
/bin/sh: line 5: /usr/share/apache2: is a directory
make[2]: *** [install-modules] Error 126
make[2]: Leaving directory `/root/pubcookie-3.3.2/module'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/pubcookie-3.3.2/module'
make: *** [install-apache] Error 2
------------------------------------------------------------------------
------------
This seems a bit odd to me since it's asking for a directory
(top_srcdir) and then doesn't like it because it is a directory!
Am I missing something? Are there Ubuntu/Debian specific settings I
should be feeding it?
Thanks in advance for any help.
-Elliot
More information about the pubcookie-users
mailing list