Development/Build Help

From Glom
Jump to: navigation, search

Jhbuild

jhbuild (http://www.freedesktop.org/Software/jhbuild), can make things easier for you.

Ubuntu Dapper

To install Glom on Ubuntu Dapper from source (CVS) you must install the following packages (with apt-get or synaptic). Note that you don't need to install from source unless you intend to work on the source code, because Ubuntu provides Glom packages.

  • libbakery-2.4-dev
  • libgnome-dev
  • libgnomecanvasmm-2.6-dev
  • libxslt1-dev
  • libgdamm-1.3-dev
  • gda2-postgres
  • python-gtk2-dev
  • python-gnome2-extras-dev

And you need postgresql:

  • postgresql-8.1
  • postgresql-8.1-client

To set up postgresql follow the instructions at Initial Postgres Configuration

And of course things like gcc, g++ and autotools which are needed for all source packages.

Installation

Checkout glom:

svn co http://svn.gnome.org/svn/glom/trunk glom

Run autogen.sh:

./autogen.sh --prefix=/usr/local
(or whatever prefix you want, if you have configured an extra prefix.)

Run make:

make

and make install

sudo make install
Now you are ready to start glom with
glom
or from the menu.

Discussion

er... sorry... easier than what? I tried jhbuild, but it seemed to be building the whole gnome world; I just want to build glom on a debian sid box, which has stuff like libxml2-dev in packages. I'm not very familiar with automake and such. Point me at a tutorial or something? Connolly 20:52, 14 May 2005 (PDT)

Yes. jhbuild does build many things that you might have already, but it also ensures that you have the latest versions of all dependencies. It's the best way to work with the Glom source code (and other GNOME source code) if you have the bandwidth and disk space. The alternative is to run autogen.sh and install what it says you don't have, one by one. But if you just want to build Glom to test it, you should encourage your distro to provide binary packages. --Murrayc 04:03, 15 May 2005 (PDT)