Hi Janus

your problems its a little bug in apxs or apache build bug. to solve only edit your src/Makefile and remove part all -S redefinition in the command apxs

check this bugzilla file

http://bugzilla.ximian.com/show_bug.cgi?id=67459

cu.

enzo

Janus Tougaard wrote:

Hi there.
I'm trying to make mod_mono work with my Apache 2 server. Done it on Apache 1.3, so it should be possible? I have installed mono and XSP. It works great, XSP can perfectly run asp.NET scripts. The problem comes when i am trying to compile the mod_mono source code, here are the facts i get about the setup after running the configuration:
/
Configuration summary for mod_mono

   * Installation prefix = /usr
   * Apache version = 2.0
   * Apache modules directory = /usr/lib/apache2/modules
   * apxs = /usr/bin/apxs2
   * apr-config = /usr/bin/apr-config
   * Verbose logging (debug) = no
   * mono prefix = /usr
* Default MonoApplicationsConfigDir = /etc/apache2/mod-mono-applications

/Well, looks fine to me. But something might be wrong, since after running 'make' and then 'make install' i get some error about apxs. Here is the output:

/debian:~/mod_mono-1.0.9# make install
Making install in src
make[1]: Entering directory `/root/mod_mono-1.0.9/src'
/root/mod_mono-1.0.9/install-sh -d "/usr/lib/apache2/modules"
/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 `/root/mod_mono-1.0.9/src'
make: *** [install-recursive] Error 1
/
I can't figure out how to fix this. Any suggestions?
--

Med venlig hilsen / Best Regards
----------------------------------
Janus Tougaard
Ridderhatten 316
DK-5220 Odense SØ

Phone: +45 6165 4801
E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Web-site: DaniJonex.NET <http://danijonex.net/>
----------------------------------

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to