root/primagis.buildout/branches/zc.buildout/README-deb.txt

Revision 1152, 2.5 KB (checked in by dokai, 2 years ago)

Updated the list of required packages.

Line 
1PrimaGIS buildout for Debian based systems
2=====================================
3
4A large part of PrimaGIS'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  libxerces27-dev
40  swig
41  bison
42  flex
43  sed
44  build-essential
45  python-gdal
46  python-psycopg2
47  python-imaging
48  python-elementtree | python-celementtree
49  python2.4-dev
50  autoconf
51  automake
52
53----------
54You can run(Tested on Ubuntu 7.04):
55
56sudo apt-get install libpng-dev libungif4-dev libjpeg-dev libtiff-dev libfreetype6-dev libgd2-noxpm-dev libcurl3-gnutls-dev libz-dev libreadline-dev libgdal-dev libgeos-dev swig bison flex sed build-essential python-gdal python-psycopg2 python-imaging python-elementtree python2.4-dev autoconf automake libxerces27-dev
57
58If you have non-standard repositories you may need to adjust the package names to specific versions.
59
60Example Error and Fix:
61Package libpng-dev is a virtual package provided by:
62  libpng12-dev 1.2.15~beta5-1ubuntu1
63You should explicitly select one to install.
64
65Change libpng-dev to libpng12-dev in the apt-get command above
66
67----------
68
69This list of packages will pull in the rest of the requirements
70through their dependencies.
71
72If you are familiar with your distribution's packaging system you may
73swap a package with another as long as it provides the same basic
74functionality, e.g. changing libgd's noxpm version with the xpm
75version.
76
77
78Running the buildout
79--------------------
80
81The buildout is run by:
82
83  $ ./bin/buildout -c buildout-deb.cfg
84
85It is important to use the debian specific buildout configuration
86using the -c switch. This will use the system libraries instead of
87building everything by hand.
88
89Please refer to README.txt for further instructions. They apply to the
90debian buildout with the exception of the buildout invocation given
91above.
92
93
Note: See TracBrowser for help on using the browser.