You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Apache Wiki <wi...@apache.org> on 2005/07/07 12:14:17 UTC

[Gump Wiki] Update of "Gump3Installation" by LeoSimons

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Gump Wiki" for change notification.

The following page has been changed by LeoSimons:
http://wiki.apache.org/gump/Gump3Installation

New page:
'''See Gump3OnWindows for installing on windows'''

= Installing Gump3 =

You need at least:

 * a basic "POSIX" environment, eg Linux, Solaris, BSD, some other Unix, or Cygwin
 * the "which" and "hostname" commands
 * [http://www.gnu.org/software/bash/bash.html Bash]. You need a recent one, preferably 3.0 or higher.
 * an ssh client
 * [http://www.python.org/ Python]. You need version 2.4 or later. Make sure the location you installed it (usually /usr/bin) is on your PATH.
 * [http://subversion.tigris.org/ Subversion client]. I recommend the latest stable version. Put it on the PATH.
 * [http://www.mysql.com/ MySQL]. You need 4.0 or later. I recommend the latest stable version. 
 * [http://sourceforge.net/projects/mysql-python MySQLdb Python library]
 * [http://pmock.sourceforge.net/ Pmock Python library]
 * [http://java.sun.com/ Java]. I recommend the latest version in the 1.4.x series. Set JAVA_HOME to point to wherever you install it

We have a tendency to change these dependencies every now and then. The main gump script will let you know :-)

Fire up a command window. Do something like:

{{{
# or wherever you do your development...
cd ~/
mkdir svn
cd svn
# this will take long, Gump is a big download!
svn co https://svn.apache.org/repos/asf/gump/branches/Gump3 gump3
cd gump3
# ...this should show some useful help output...
bash gump help
# ...this will show you prerequisite failures...
bash gump test
# ...this will show database errors...
bash gump run
# so lets install a database
# you can create a database using:
mysqldbadmin [-u root -p] create gump
# create a "gump" user with permissions to the "gump" database first
# (e.g. using MySql Administrator), and then
mysql -u gump -p gump < gumpdb/src/sql/gump3-database-definition.sql
# cross your fingers! It might work...
bash gump run
}}}

There is some more stuff you need in addition to bash, python and svn. The command line script will attempt to inform you about that. Try and do what it says. Once you get stuck, let us know!

= Running Gump3 from cron and other advanced stuff =

We don't keep user-friendly documentation on configuring a machine to do automated builds on a nightly basis. However, we do maintain documentation on the configuration of our machines, which you can hopefully mirror with great success. See GumpInfrasctructure.

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org