r48 - 17 Jun 2009 - 16:27:36 - GrantBaillieYou are here: OSAF >  Developers Web  >  ChandlerDesktopSource > BuildingChandlerDesktop > DebianBuildNotes

Ubuntu and Debian Build Notes

The following packages are required to be present for all Ubuntu/Debian builds:

For quick build:

  • curl
  • gettext
  • subversion

For full build, the nominal list of required packages is:

  • patch
  • libgtk2.0-dev
  • libsdl1.2-dev
  • libreadline5-dev
  • libssl-dev
  • libicu-dev
  • fakeroot (used during .deb creation).
  • dpkg-dev (also used during .deb creation).

However, in recent OS releases, many of Chandler’s dependencies are available through the standard package mechanism. As a result, many of these dependencies aren’t built during Chandler’s “full build” any more: they are disabled by variables in the file external/Makefile.inc

One example is libssl-dev above: it is required to build the M2Crypto python wrapper for libssl. However, M2Crypto is available via the python-m2crypto package, and so we don’t need to build M2Crypto at all.

Another example is that in the past we had some difficulty with the version of libicu Chandler required (i.e. libicu36 vs libicu38): See this message for example. This has been resolved by requiring the OS's python-pyicu package.

The current list of packages required to build Chandler can be found in the Build-Depends entry in the Debian control file we use to build release versions of Chandler:

http://svn.osafoundation.org/sandbox/packaging/deb/chandler/trunk/debian/control

Ubuntu Jaunty Jackalope

Jaunty ships with Python 2.6. This requires a change to the PyLucene Makefile to get it to compile

chandler/external/PyLucene
Index: Makefile
===================================================================
  --- Makefile	(revision 16675)
  +++ Makefile	(working copy)
  @@ -110,7 +110,7 @@
   	$(ENV) $(MAKE) -C $(SRC) \
               PYTHON="$(PYTHON)" \
               ANT=$(ANT) \
  -            JCC="$(PYTHON) -m jcc" \
  +            JCC="$(PYTHON) `pwd`/PyLucene-2.3.1-3-418/jcc/jcc/__init__.py --shared "\
               NUM_FILES=$(NUM_FILES) \
               DEBUG=$(DEBUG) \
             compile install

You also need to update the python version in the make files for external and chandler

Additional packages you will need:

  • python-setuptools
  • python-configobj
  • python-zopeinterface
  • openjdk-6-jre
  • openjdk-6-jdk
  • libgtk2.0-dev
  • python-m2crypto
  • python-pyicu
  • python-dateutil
  • python-vobject
  • python-parsedatetime

Also - it requires vobject 0.8.1b or better. Jaunty ships with 0.6 frown

I eventually got Chandler to run - though it gives me deprecation errors.

Ubuntu Intrepid Ibex, Ubuntu Hardy Heron

As above for quick builds. For full builds, see the control file above.

Ubuntu Gutsy Gibbon

Additional packages you will need:

  • python-setuptools
  • python-configobj
  • python-zopeinterface
  • openjdk-6-jre
  • openjdk-6-jdk

Ubuntu Feisty Fawn

Additional packages you will need:

  • python-configobj
  • python-zopeinterface

Ubuntu Dapper Drake

This is the release used to build the full .tar.gz i386 binary of Chandler for Linux. For that, the nominal list of packages above should work.

Ubuntu Breezy Badger

Debian Sarge

This step may no longer be needed, try without first:

If you don't have /usr/lib/libgcc_s.so.1, do:

ln -s /lib/libgcc_s.so.1 /usr/lib/libgcc_s.so.1
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r48 < r47 < r46 < r45 < r44 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.