[Mono-list] Debian apache2 mod_mono apxs bug/problem

Michael stuff@dustsmoke.com
Sun, 19 Dec 2004 20:49:53 -0700 (MST)


Does anybody know what we can do to get around this? I would like to use
mono on debian's prefork'd apache2 under sarge.

make install
......................................
Making install in src
make[1]: Entering directory `/usr/local/src/mod_mono-1.0.5/src'
mkdir -p -- . "/usr/lib/apache2/modules"
/usr/bin/apxs2 -S LIBEXECDIR="/usr/lib/apache2/modules" -S
PREFIX="/usr/local" -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 `/usr/local/src/mod_mono-1.0.5/src'
make: *** [install-recursive] Error 1
............................................

I didn't have these problems with FC2's Apache. I was sort of waiting
around for the packages to start staying up to date or actually existing
in the debian sid/sarge repo's but have realized that is a lost cause.
Thus I must build this stuff from source I guess. Besides, last time I
tried pre-builts it always demanded all kinds of X stuff to be installed.
Why would a server have something like that on it?

(On a side note, has that since changed regaurding the deps of core
packages for ASP.NET and systems without an X enviroment?)

-Michael