r49 - 23 Jul 2009 - 09:07:11 - EconomySizeGeekYou 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:


Ubuntu Jaunty Jackalope

Long Form: http://svn.osafoundation.org/sandbox/packaging/deb/HOWTO.txt

Quick and dirty

  mkdir Chandler
  cd Chandler
  svn co http://svn.osafoundation.org/sandbox/packaging/deb/chandler/trunk/jaunty
  sudo apt-get install subversion fakeroot svn-buildpackage
  sudo apt-get install python2.6-dev libsdl1.2-dev openjdk-6-jdk python-epydoc pylint inkscape quilt
  cd jaunty
  mkdir ../tarballs
  ./debian/rules get-orig-source
  sudo svn-buildpackage -rfakeroot
  sudo dpkg -i ../build-area/chandler_1.0.3.1~svn16692-1_i386.deb 

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: r49 < r48 < r47 < r46 < r45 | 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.