Author: jfrederic.clere(a)jboss.com
Date: 2008-06-05 09:03:07 -0400 (Thu, 05 Jun 2008)
New Revision: 1661
Modified:
sandbox/httpd/httpd.test
Log:
Add logic to compile the mod_cluster modules.
Modified: sandbox/httpd/httpd.test
===================================================================
--- sandbox/httpd/httpd.test 2008-06-05 12:10:07 UTC (rev 1660)
+++ sandbox/httpd/httpd.test 2008-06-05 13:03:07 UTC (rev 1661)
@@ -35,6 +35,7 @@
svn checkout
http://svn.apache.org/repos/asf/httpd/httpd/trunk httpd-trunk
svn checkout
http://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x httpd-2.2.x
svn checkout
http://svn.apache.org/repos/asf/tomcat/connectors/trunk/jk jk-trunk
+svn checkout
http://anonsvn.jboss.org/repos/jbossweb/trunk/mod_cluster mod_cluster
# build APR/APR-UTIL
(cd apr-trunk
@@ -139,6 +140,36 @@
fi
# Build the mod_cluster modules with httpd-2.2.x
+(cd mod_cluster/native/mod_proxy_cluster
+./buildconf.sh
+./configure --with-apxs=$HOME/$TMPLOC/APACHE-2.2.x/bin/apxs
+make clean
+make
+)
+if [ $? -ne 0 ]; then
+ echo "Build mod_cluster/native/mod_proxy_cluster FAILED"
+ exit 1
+fi
+(cd mod_cluster/native/mod_manager
+./buildconf.sh
+./configure --with-apxs=$HOME/$TMPLOC/APACHE-2.2.x/bin/apxs
+make clean
+make
+)
+if [ $? -ne 0 ]; then
+ echo "Build mod_cluster/native/mod_manager FAILED"
+ exit 1
+fi
+(cd mod_cluster/native/mod_slotmem
+./buildconf.sh
+./configure --with-apxs=$HOME/$TMPLOC/APACHE-2.2.x/bin/apxs
+make clean
+make
+)
+if [ $? -ne 0 ]; then
+ echo "Build mod_cluster/native/mod_slotmem FAILED"
+ exit 1
+fi
# Test trunk
(cd $HOME/$TMPLOC/APACHE