[Mono-bugs] [Bug 58539][Wis] Changed - No RPM for mod_mono for fedora core 1
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 11 Jun 2004 13:15:11 -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 duncan@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=58539
--- shadow/58539 2004-06-06 16:52:41.000000000 -0400
+++ shadow/58539.tmp.11802 2004-06-11 13:15:11.000000000 -0400
@@ -10,13 +10,12 @@
Component: packaging
AssignedTo: duncan@ximian.com
ReportedBy: robert@newcovsoft.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
-Cc:
Summary: No RPM for mod_mono for fedora core 1
Sorry if this is the wrong place to say it, but in the latest beta there
are no rpm's for mod_mono for fedora core 1. Since the purpose of a beta
is to get testing from a wider audience I think this would be a good idea
to provide. I have spent hours and hours trying to get it up and running
@@ -33,6 +32,30 @@
I'm keeping this bug open to remind me to test mod_mono before
releasing beta-2.
------- Additional Comments From duncan@ximian.com 2004-06-03 20:19 -------
mod_mono did not make it to beta-2. It'll be in RC 1.
+
+------- Additional Comments From duncan@ximian.com 2004-06-11 13:15 -------
+Gonzalo, as it is, the mod_mono tarball cannot be built as an RPM,
+because apsx is lacking a --root flag. PHP does the same thing, and
+here's a link to their configure file:
+
+http://cvs.php.net/co.php/php-src/sapi/apache2handler/config.m4
+
+The section to note is the INSTALL_IT section.
+
+For example:
+
+ APXS_SYSCONFDIR='$(INSTALL_ROOT)'`$APXS -q SYSCONFDIR`
+ INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
+ \$(mkinstalldirs) '$APXS_SYSCONFDIR' && \
+ $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
+ -S SYSCONFDIR='$APXS_SYSCONFDIR' \
+ -i -a -n php5"
+
+It uses the -S flag option to set whatever dir (in this case
+LIBEXECDIR) to include the RPM builddir, which is $(INSTALL_ROOT) in
+this case.
+
+In order to package mod_mono, we need to add a similar trick to mod_mono.