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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 4 Nov 2004 05:42:25 -0500 (EST)


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 dge@softec.st.

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

--- shadow/67459	2004-10-04 09:44:39.000000000 -0400
+++ shadow/67459.tmp.21116	2004-11-04 05:42:25.000000000 -0500
@@ -1,22 +1,21 @@
 Bug#: 67459
 Product: Mono: Class Libraries
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: Debian Sarge
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 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.
@@ -61,6 +60,20 @@
 libapr0-dev 2.0.52-1
 mono 1.0.2
 
 -- 
 Arnaud Bienvenu
 Makina Corpus
+
+------- Additional Comments From dge@softec.st  2004-11-04 05:42 -------
+This seems to be an apxs or apache build bug.
+The prefix variable in /etc/apache2/build/config_vars.mk is defined as
+nothing. I do not know if this is ok, but exec_prefix = ${prefix}/usr
+which is consistent. Consequently, apxs get an empty value for
+CFG_PREFIX. Because the value is empty, apxs refuse to modify it.
+
+An easy workaround is to remove all -S redefinition in the command
+apxs in src/Makefile of mod_mono. This was the behaviour of mod_mono
+before 1.0.2 and install the module in /usr in place of /usr/local.
+
+I really dunno what should be the normal behaviour of apache. May be
+the bug should be forwarded to the apache team.