| | 4 | A large part of PCL's dependencies can be satisfied with system |
| | 5 | packages which will dramatically reduce the time to execute the |
| | 6 | buildout. This document describes the process of using system packages |
| | 7 | on a Debian based Linux distribution. |
| | 8 | |
| | 9 | Supported distributions |
| | 10 | ----------------------- |
| | 11 | |
| | 12 | The buildout is known to work on the following distributions: |
| | 13 | |
| | 14 | - Debian unstable (sid) |
| | 15 | - Debian 4.0 (etch) |
| | 16 | - Ubuntu 7.04 |
| | 17 | |
| | 18 | It may also work on other distributions that provide the same set of |
| | 19 | packages. |
| | 20 | |
| | 21 | |
| | 22 | Required packages |
| | 23 | ----------------- |
| | 24 | |
| | 25 | Below is a list of packages that need to be installed before executing |
| | 26 | the buildout: |
| | 27 | |
| | 28 | libpng-dev |
| | 29 | libungif4-dev |
| | 30 | libjpeg-dev |
| | 31 | libtiff-dev |
| | 32 | libfreetype6-dev |
| | 33 | libgd2-noxpm-dev | libgd2-xpm-dev |
| | 34 | libcurl3-gnutls-dev |
| | 35 | libz-dev |
| | 36 | libreadline-dev |
| | 37 | libgdal-dev |
| | 38 | libgeos-dev |
| | 39 | swig |
| | 40 | bison |
| | 41 | flex |
| | 42 | sed |
| | 43 | build-essential |
| | 44 | python-gdal |
| | 45 | python-psycopg2 |
| | 46 | python-imaging |
| | 47 | python-elementtree | python-celementtree |
| | 48 | |
| | 49 | This list of packages will pull in the rest of the requirements |
| | 50 | through their dependencies. |
| | 51 | |
| | 52 | If you are familiar with your distribution's packaging system you may |
| | 53 | swap a package with another as long as it provides the same basic |
| | 54 | functionality, e.g. changing libgd's noxpm version with the xpm |
| | 55 | version. |
| | 56 | |
| | 57 | |
| | 58 | Running the buildout |
| | 59 | -------------------- |
| | 60 | |
| | 61 | The buildout is run by: |
| | 62 | |
| | 63 | $ ./bin/buildout -c buildout-deb.cfg |
| | 64 | |
| | 65 | It is important to use the debian specific buildout configuration |
| | 66 | using the -c switch. This will use the system libraries instead of |
| | 67 | building everything by hand. |
| | 68 | |
| | 69 | Please refer to README.txt for further instructions. They apply to the |
| | 70 | debian buildout with the exception of the buildout invocation given |
| | 71 | above. |
| | 72 | |