Differences between revisions 2 and 3
Revision 2 as of 2006-08-18 09:02:53
Size: 2214
Comment: Pmock Library was missing - otherwiese gump will not run on windows
Revision 3 as of 2009-09-20 23:49:37
Size: 2228
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 * [http://www.cygwin.com/ Cygwin]. Make sure to get at least the "base" and "development" packages sort-of completely; without the "which" and "hostname" commands you'll be in trouble for sure. Probably a good idea to add C:\cygwin\bin and C:\cygwin\sbin to your PATH, which you can do via right clicking "My Computer" > Properties > Advanced > Environment Variables > ...".  * [[http://www.cygwin.com/|Cygwin]]. Make sure to get at least the "base" and "development" packages sort-of completely; without the "which" and "hostname" commands you'll be in trouble for sure. Probably a good idea to add C:\cygwin\bin and C:\cygwin\sbin to your PATH, which you can do via right clicking "My Computer" > Properties > Advanced > Environment Variables > ...".
Line 7: Line 7:
 * [http://www.python.org/ Python]. You need version 2.4 or later. Make sure to add the location you installed it (usually C:\Python24) to your PATH *before* the cygwin paths, or otherwise make sure you don't install the cygwin versions of python.
 * [http://subversion.tigris.org/ Subversion client]. I recommend the latest stable version. The installer modifies your PATH for you.
 * [http://www.mysql.com/ MySQL]. 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
 * [[http://www.python.org/|Python]]. You need version 2.4 or later. Make sure to add the location you installed it (usually C:\Python24) to your PATH *before* the cygwin paths, or otherwise make sure you don't install the cygwin versions of python.
 * [[http://subversion.tigris.org/|Subversion client]]. I recommend the latest stable version. The installer modifies your PATH for you.
 * [[http://www.mysql.com/|MySQL]]. 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

Gump3 on windows

You need at least:

  • Cygwin. Make sure to get at least the "base" and "development" packages sort-of completely; without the "which" and "hostname" commands you'll be in trouble for sure. Probably a good idea to add C:\cygwin\bin and C:\cygwin\sbin to your PATH, which you can do via right clicking "My Computer" > Properties > Advanced > Environment Variables > ...".

  • Cygwin ssh (can be installed with setup)
  • Python. You need version 2.4 or later. Make sure to add the location you installed it (usually C:\Python24) to your PATH *before* the cygwin paths, or otherwise make sure you don't install the cygwin versions of python.

  • Subversion client. I recommend the latest stable version. The installer modifies your PATH for you.

  • MySQL. I recommend the latest stable version.

  • MySQLdb Python library

  • Pmock Python library

  • Java. I recommend the latest version in the 1.4.x series. Set JAVA_HOME to point to wherever you install it

Fire up a command window. Do something like:

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

There is some more stuff you need in addition to bash, python and svn. The script will attempt to inform you about that. Try and do what it says. Once you get stuck (no doubt there'll be unixisms), let us know!

Gump3OnWindows (last edited 2009-09-20 23:49:37 by localhost)