You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by le...@apache.org on 2005/06/27 22:30:59 UTC
svn commit: r202048 - /gump/branches/Gump3/webgump/bin/recompile-apache
Author: leosimons
Date: Mon Jun 27 13:30:58 2005
New Revision: 202048
URL: http://svn.apache.org/viewcvs?rev=202048&view=rev
Log:
Spent some time working on mod_python/apache code. This command recompiles and re-installs in one go. Probably needs to be run as sudo.
Added:
gump/branches/Gump3/webgump/bin/recompile-apache (with props)
Added: gump/branches/Gump3/webgump/bin/recompile-apache
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/webgump/bin/recompile-apache?rev=202048&view=auto
==============================================================================
--- gump/branches/Gump3/webgump/bin/recompile-apache (added)
+++ gump/branches/Gump3/webgump/bin/recompile-apache Mon Jun 27 13:30:58 2005
@@ -0,0 +1,39 @@
+#!/usr/bin/env bash
+
+# Simple script to recompile and install httpd+mod_python (when already in the right place n stuff)
+
+# look for this file
+current=`pwd`
+thisscript="`pwd`/start"
+if [[ -f "$thisscript" ]]; then
+ # guess...
+ scriptdir="$current"
+else
+ # look for the path to this file
+ homedir=`dirname $0`
+ thisscript="$homedir/start"
+ if [[ -f "$thisscript" ]]; then
+ # guess...
+ scriptdir="$homedir"
+ fi
+fi
+
+# source settings
+. $scriptdir/settings
+
+# do it!
+echo Recompiling apache...
+echo
+cd /home/lsimons/svn/gump/branches/Gump3/webgump/lib/apache2-install/httpd-2.0.53
+make >/dev/null
+make install >/dev/null
+
+echo Recompiling mod_python...
+echo
+cd ../mod_python-3.1.4
+make >/dev/null
+make install_dso >/dev/null
+make install_py_lib >/dev/null
+
+echo done.
+echo
Propchange: gump/branches/Gump3/webgump/bin/recompile-apache
------------------------------------------------------------------------------
svn:executable = *