Changeset 923

Show
Ignore:
Timestamp:
10/15/07 04:01:53 (2 years ago)
Author:
dokai
Message:

Added documentation for using the alternative buildout for Debian based
distributions.

Location:
buildout/pcl.buildout/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • buildout/pcl.buildout/trunk/README-deb.txt

    r918 r923  
    1 libpng12-0 libpng12-dev libungif4g libungif4-dev libjpeg62 libjpeg62-dev libtiff4 libtiff4-dev libfreetype6 libfreetype6-dev libgd2-noxpm libgd2-noxpm-dev proj libcurl3-gnutls-dev swig bison flex libz-dev libreadline-dev python-gdal python-mapscript python-psycopg2 libgdal1-dev 
     1PCL buildout for Debian based systems 
     2===================================== 
    23 
     4A large part of PCL's dependencies can be satisfied with system 
     5packages which will dramatically reduce the time to execute the 
     6buildout. This document describes the process of using system packages 
     7on a Debian based Linux distribution. 
     8 
     9Supported distributions 
     10----------------------- 
     11 
     12The buildout is known to work on the following distributions: 
     13 
     14 - Debian unstable (sid) 
     15 - Debian 4.0 (etch) 
     16 - Ubuntu 7.04 
     17 
     18It may also work on other distributions that provide the same set of 
     19packages. 
     20 
     21 
     22Required packages 
     23----------------- 
     24 
     25Below is a list of packages that need to be installed before executing 
     26the 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 
     49This list of packages will pull in the rest of the requirements 
     50through their dependencies. 
     51 
     52If you are familiar with your distribution's packaging system you may 
     53swap a package with another as long as it provides the same basic 
     54functionality, e.g. changing libgd's noxpm version with the xpm 
     55version. 
     56 
     57 
     58Running the buildout 
     59-------------------- 
     60 
     61The buildout is run by: 
     62 
     63  $ ./bin/buildout -c buildout-deb.cfg 
     64 
     65It is important to use the debian specific buildout configuration 
     66using the -c switch. This will use the system libraries instead of 
     67building everything by hand. 
     68 
     69Please refer to README.txt for further instructions. They apply to the 
     70debian buildout with the exception of the buildout invocation given 
     71above. 
     72 
  • buildout/pcl.buildout/trunk/README.txt

    r831 r923  
    131131default port is 5432. 
    132132 
     133Note that if you are using an alternative buildout configuration, such 
     134as buildout-deb.cfg, you need to tell the init script about it because 
     135it may need to rerun the buildout in order to update the 
     136configuration. Use the --buildout-cfg switch for this 
     137 
    133138You can run the script as many times as you want, but be aware that it 
    134139will reset the whole database. You shouldn't use the test database to