[Mono-bugs] [Bug 67459][Min] New - mod_mono install fails: "apxs:Error: no config variable PREFIX"

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 4 Oct 2004 09:44:39 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bugzilla-ximian.20.abienvenu@spamgourmet.com.

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

--- shadow/67459	2004-10-04 09:44:39.000000000 -0400
+++ shadow/67459.tmp.31140	2004-10-04 09:44:39.000000000 -0400
@@ -0,0 +1,66 @@
+Bug#: 67459
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: Debian Sarge
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bugzilla-ximian.20.abienvenu@spamgourmet.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mod_mono install fails: "apxs:Error: no config variable PREFIX"
+
+Description of Problem:
+
+Doing "make install" for mod_mono produces an error about the PREFIX config
+variable.
+
+Steps to reproduce the problem:
+1. Download and extract mod_mono 1.0.2
+2. ./configure --prefix=/usr/local/mono-1.0.2
+3. make
+4. make install
+
+Actual Results:
+
+Making install in src
+make[1]: Entering directory `/usr/local/src/mod_mono-1.0.2/src'
+/bin/sh ../mkinstalldirs "/usr/lib/apache2/modules"
+/usr/bin/apxs2 -S LIBEXECDIR="/usr/lib/apache2/modules" -S
+PREFIX="/usr/local/mono-1.0.2" -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] Erreur 1
+make[1]: Leaving directory `/usr/local/src/mod_mono-1.0.2/src'
+make: *** [install-recursive] Erreur 1
+zsh: exit 2     make install
+
+Expected Results:
+
+A nice "installation ok" output, and a module in /usr/lib/apache2/modules
+
+How often does this happen? 
+
+Always.
+
+Additional Information:
+
+Apache 2.0.52-1 (Debian Sarge)
+libapr0-dev 2.0.52-1
+mono 1.0.2
+
+-- 
+Arnaud Bienvenu
+Makina Corpus