[Mono-bugs] [Bug 77584][Blo] New - Configuration option for libapr directory

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Feb 17 17:48:22 EST 2006


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 zac at zacbowling.com.

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

--- shadow/77584	2006-02-17 17:48:22.000000000 -0500
+++ shadow/77584.tmp.9956	2006-02-17 17:48:22.000000000 -0500
@@ -0,0 +1,49 @@
+Bug#: 77584
+Product: Mono: Tools
+Version: 1.1
+OS: Debian Woody
+OS Details: All Debian based distros
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: mod_mono
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: zac at zacbowling.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Configuration option for libapr directory 
+
+Description of Problem:
+On Debian distrobutions, the libapr headers directory is 
+in /usr/include/apr-0 (or /usr/include/apr-1.0 for 1.0 which mod_mono 
+will not compile with), and the apache2 include directory 
+is /usr/include/apache2. The makefiles/configuration files make the 
+assumption that libapr and apache2 headers are in the same directory. An 
+option for setting/detecting (maybe with apr-config) the libapr directory 
+as well. 
+
+I was able to make mod_mono compile by adding "-I/usr/include/apr-0" 
+to 'mod_mono_la_CFLAGS' in mod_mono/src/Makefile.am, however a more 
+platform neutral solution should be put together. 
+
+(I would fix this myself but I'm to lazy. Maybe thursday if the module 
+owner isn't busy.)
+
+Index: Makefile.am
+===================================================================
+--- Makefile.am (revision 56966)
++++ Makefile.am (working copy)
+@@ -4,7 +4,7 @@
+ mod_mono_la_SOURCES = mod_mono.c mod_mono.h
+ mod_mono_la_LDFLAGS = -module
+ #/usr/sbin/apxs -c -I../include -I. -D HAVE_CONFIG_H mod_mono.c
+-mod_mono_la_CFLAGS = -Wall -
+DDFLT_MONO_CONFIG_DIR=\"$(DFLT_MONO_CONFIG_DIR)\"
++mod_mono_la_CFLAGS = -Wall -
+DDFLT_MONO_CONFIG_DIR=\"$(DFLT_MONO_CONFIG_DIR)\" -I/usr/include/apr-0
+
+ install: $(lib_LTLIBRARIES)
+        $(mkinstalldirs) "$(DESTDIR)$(APXS_LIBEXECDIR)"


More information about the mono-bugs mailing list