[Mono-list] mod_mono failures
CJ Collier
cjcollier@colliertech.org
Fri, 08 Oct 2004 12:03:22 -0700
> No idea, but that error would happen if mod_mono and mod-mono-server are
> not compatible, but that does not happen with the versions you report,
> as they are what CVS has now and are working fine here.
I forgot this part. I modified Makefile.am because make install failed
with this error:
/usr/bin/apxs2 -S LIBEXECDIR="/usr/lib/apache2/modules" -S PREFIX="/usr"
-i -n mono mod_mono.la
apxs:Error: no config variable PREFIX
Usage: apxs -g [-S <var>=<val>] -n <modname>
apxs -q [-S <var>=<val>] <query> ...
apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
[-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
[-Wl,<flags>] [-p] <files> ...
apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/cjcollier/src/mono/mod_mono/src'
make: *** [install-recursive] Error 1
Here is my diff:
Index: src/Makefile.am
===================================================================
RCS file: /mono/mod_mono/src/Makefile.am,v
retrieving revision 1.20
diff -u -r1.20 Makefile.am
--- src/Makefile.am 9 Sep 2004 04:39:06 -0000 1.20
+++ src/Makefile.am 8 Oct 2004 19:01:44 -0000
@@ -9,8 +9,8 @@
install: $(lib_LTLIBRARIES)
$(mkinstalldirs) "$(DESTDIR)$(APXS_LIBEXECDIR)"
if APACHE2
- $(APXS) -S LIBEXECDIR="$(DESTDIR)$(APXS_LIBEXECDIR)" -S
PREFIX="$(prefix)" -i -n mono mod_mono.la
+ $(APXS) -S LIBEXECDIR="$(DESTDIR)$(APXS_LIBEXECDIR)" -i -n mono
mod_mono.la
else
- $(APXS) -S LIBEXECDIR="$(DESTDIR)$(APXS_LIBEXECDIR)" -S
PREFIX="$(prefix)" -i -n mono .libs/mod_mono.so
+ $(APXS) -S LIBEXECDIR="$(DESTDIR)$(APXS_LIBEXECDIR)" -i -n
mono .libs/mod_mono.so
endif
Would this cause this error?
> -Gonzalo
C.J.