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!

  • No labels