~ubuntu-branches/ubuntu/trusty/postgis/trusty-updates

« back to all changes in this revision

Viewing changes to doc/installation.xml

  • Committer: Bazaar Package Importer
  • Author(s): Alan Boudreault
  • Date: 2010-09-29 09:16:10 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20100929091610-vj4efw8woq34hdn7
Tags: 1.5.2-1
* New upstream release, with a few bug fixes.
* Added shp2pgsql-gui binary.
* Removed patches, applied upstream: getopt.    

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
./configure
15
15
make
16
16
make install
 
17
#BEGIN OPTIONAL -- this is already part of the tar
 
18
# only really need this if installing from SVN
 
19
cd doc/
 
20
make comments-install
 
21
#END OPTIONAL
17
22
createdb yourdatabase
18
23
createlang plpgsql yourdatabase
19
24
psql -d yourdatabase -f postgis.sql
20
25
psql -d yourdatabase -f postgis_comments.sql
21
26
psql -d yourdatabase -f spatial_ref_sys.sql</programlisting>
22
 
 
 
27
        
 
28
        <note>
 
29
          <para>
 
30
                NOTE: The postgis.sql and spatial_ref_sys.sql will be installed in the
 
31
                        /share/contrib/postgis-&last_minor_release_version;
 
32
                        of your PostGIS install.  If you didn't install the OPTIONAL comments section, you will need to manually copy the
 
33
                        postgis_comments.sql file from the doc folder of your source install to your /share/contrib/postgis-&last_minor_release_version;
 
34
                        folder.
 
35
          </para>
 
36
        </note>
23
37
        <para>
24
38
          The rest of this chapter goes into detail each of the above installation
25
39
          steps.
95
109
                  .
96
110
                </para>
97
111
          </listitem>
 
112
          
 
113
          <listitem>
 
114
                <para>
 
115
                  LibXML2, version 2.5.x or higher. LibXML2 is currently used in some imports
 
116
                  functions (ST_GeomFromGML and ST_GeomFromKML). LibXML2 is available for download from 
 
117
                  <ulink url="http://xmlsoft.org/downloads.html">http://xmlsoft.org/downloads.html</ulink>.
 
118
                </para>
 
119
          </listitem>
98
120
        </itemizedlist>
99
121
 
100
122
        <para>
104
126
        <itemizedlist>
105
127
          <listitem>
106
128
                <para>
 
129
                  GTK (requires GTK+2.0) to compile the shp2pgsql-gui shape file loader.
 
130
                  <ulink url="http://www.gtk.org/">
 
131
                        http://www.gtk.org/
 
132
                  </ulink>
 
133
                  .
 
134
                </para>
 
135
          </listitem>
 
136
        
 
137
          <listitem>
 
138
                <para>
107
139
                  Apache Ant (<filename>ant</filename>) is required for building any of
108
140
                  the drivers under the <filename>java</filename> directory. Ant is
109
141
                  available from
154
186
 
155
187
        <para>
156
188
          Retrieve the PostGIS source archive from the downloads website
157
 
          <ulink url="http://postgis.refractions.net/download/postgis-&last_release_version;.tar.gz">
158
 
                http://postgis.refractions.net/download/postgis-&last_release_version;.tar.gz
 
189
          <ulink url="http://www.postgis.org/download/postgis-&last_release_version;.tar.gz">
 
190
                http://www.postgis.org/download/postgis-&last_release_version;.tar.gz
159
191
          </ulink>
160
192
        </para>
161
193
 
162
 
        <programlisting>wget http://postgis.refractions.net/download/postgis-&last_release_version;.tar.gz
 
194
        <programlisting>wget http://www.postgis.org/download/postgis-&last_release_version;.tar.gz
163
195
tar -xvzf postgis-&last_release_version;.tar.gz</programlisting>
164
196
 
165
197
        <para>