Running a development version of Gramps

From Gramps
Revision as of 07:54, 18 September 2007 by Bmcage (talk | contribs)
Jump to: navigation, search

The following describes one possible scenario for getting the latest development version of Gramps running:

  • install a recent version of Ubuntu (eg. 7.04) or some other linux distribution. Here we will assume Ubuntu and give the install commnds (apt-get) for that distribution
(Beyond the scope of this article, but VirtualBox and VMWare provide a great and relatively easy solution to getting an independant and/or clean build environment.)
  • install some basic build tools
 sudo apt-get build-essential
  • install a text editor if you plan on modifying the Gramps source. You can use Gedit, kate (switch of tabs!), or dedicated software like sourcenav (sudo apt-get sourcenav), erik4, SPE or even Eclipse with python plugin.
  • create a directory for the Gramps source
cd ~
mkdir gramps

cd gramps

  • get the latest copy of GRAMPS
sudo apt-get subversion
svn co
  • get ready to build GRAMPS
cd trunk
  • if you get a failure about gnome-common, install it:
sudo apt-get install gnome-common
  • if you get a failure about glib-gettext.m4, install it:
sudo apt-get install libglib2.0-dev
  • build GRAMPS
  • run Gramps
python2.5 src/

At this point, any time you want to update to the latest version of Gramps, simply run:

cd ~/gramps/trunk
svn update
python2.5 src/

It might happen constants have been changed, and you obtain an error on the module. In that case, return and the make command.