Skip to content

Commit 1ed192a

Browse files
author
jef
committedNov 10, 2008
update INSTALL from doc/INSTALL.t2t
git-svn-id: http://svn.osgeo.org/qgis/trunk@9616 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 22fb9bb commit 1ed192a

File tree

1 file changed

+61
-13
lines changed

1 file changed

+61
-13
lines changed
 

‎INSTALL

Lines changed: 61 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ Building QGIS from source - step by step
4949
5.7. Prepare your development environment
5050
5.8. Check out the QGIS Source Code
5151
5.9. Starting the compile
52-
5.10. Running QGIS
52+
5.10. Building Debian packages
53+
5.11. Running QGIS
5354
6. Creation of MSYS environment for compilation of Quantum GIS
5455
6.1. Initial setup
5556
6.1.1. MSYS
@@ -150,9 +151,9 @@ simply copy the commands listed in codeblocks that look like this:
150151
======================
151152

152153
At version 0.8.1 QGIS no longer uses the autotools for building. QGIS, like a
153-
number of major projects (eg. KDE 4.0), now uses cmake for building from
154-
source. The configure script in this directory simply checks for the existence
155-
of cmake and provides some clues to build QGIS.
154+
number of major projects (eg. KDE 4.0), now uses cmake (http://www.cmake.org)
155+
for building from source. The configure script in this directory simply checks
156+
for the existence of cmake and provides some clues to build QGIS.
156157

157158
For complete information, see the wiki at:
158159
http://wiki.qgis.org/qgiswiki/Building_with_CMake
@@ -170,16 +171,15 @@ For complete information, see the wiki at:
170171
* Proj >= ? (known to work with 4.4.x)
171172
* GEOS >= 2.2 (3.0 is supported, maybe 2.1.x works too)
172173
* Sqlite3 >= ? (probably 3.0.0)
173-
* GDAL/OGR >= ? (1.2.x should work)
174+
* GDAL/OGR >= 1.4.x (1.2.x should work)
174175

175176
'''Optional dependencies:'''
176177
* for GRASS plugin - GRASS >= 6.0.0
177178
* for georeferencer - GSL >= ? (works with 1.8)
178-
* for postgis support and SPIT plugin - PostgreSQL >= ?
179+
* for postgis support and SPIT plugin - PostgreSQL >= 8.0.x
179180
* for gps plugin - expat >= ? (1.95 is OK)
180-
* for mapserver export and PyQGIS - Python >= ? (probably 2.3)
181-
* for PyQGIS - SIP >= 4.5, PyQt >= 4.1
182-
181+
* for mapserver export and PyQGIS - Python >= 2.3 (2.5+ preferred)
182+
* for PyQGIS - SIP >= 4.5, PyQt >= must match Qt version
183183
'''Recommended runtime deps:'''
184184
* for gps plugin - gpsbabel
185185

@@ -203,7 +203,7 @@ zip archive that contains just about all dependencies.
203203

204204
Get this:
205205

206-
http://qgis.org/uploadfiles/msys/msys.zip
206+
http://download.osgeo.org/qgis/win32/msys.zip
207207

208208
and unpack to c:\msys
209209

@@ -854,7 +854,7 @@ If all built without errors you can then install it:
854854
5.1. Building QGIS with Qt4.x
855855
=============================
856856

857-
Requires: Ubuntu Gutsy / Debian derived distro
857+
Requires: Ubuntu Hardy / Debian derived distro
858858

859859
These notes are current for Ubuntu 7.10 - other versions and Debian derived
860860
distros may require slight variations in package names.
@@ -953,6 +953,12 @@ above commands to select the Qt4 version of the relevant applications.
953953
distributions (e.g. Debian or SuSE) only provide SIP < 4.5 and PyQt4 < 4.1. To include support for python
954954
language bindings you may need to build and install those packages from source.
955955

956+
If you do not have cmake installed already:
957+
958+
959+
sudo apt-get install cmake
960+
961+
956962

957963
5.5. GRASS Specific Steps
958964
=========================
@@ -1038,6 +1044,8 @@ qgis.org certificate. Press 'p' to accept it permanently:
10381044
5.9. Starting the compile
10391045
=========================
10401046

1047+
/!\ *Note:* The next section describes howto build debian packages
1048+
10411049
I compile my development version of QGIS into my ~/apps directory to avoid
10421050
conflicts with Ubuntu packages that may be under /usr. This way for example
10431051
you can use the binary packages of QGIS on your system along side with your
@@ -1077,7 +1085,46 @@ Now on with the build:
10771085
It may take a little while to build depending on your platform.
10781086

10791087

1080-
5.10. Running QGIS
1088+
5.10. Building Debian packages
1089+
==============================
1090+
1091+
Instead of creating a personal installation as in the previous step you can
1092+
also create debian package. This is done from the qgis root directory, where
1093+
you'll find a debian directory.
1094+
1095+
First you need to install the debian packaging tools once:
1096+
1097+
1098+
apt-get install build-essential
1099+
1100+
1101+
The QGIS packages will be created with:
1102+
1103+
1104+
dpkg-buildpackage -us -us -b
1105+
1106+
1107+
/!\ *Note:* If dpkg-buildpackage complains about unmet build dependencies
1108+
you can install them using apt-get and re-run the command.
1109+
1110+
/!\ *Note:* If you have libqgis1-dev installed, you need to remove it first
1111+
using dpkg -r libqgis1-dev. Otherwise dpkg-buildpackage will complain about at
1112+
build conflict.
1113+
1114+
The the packages are created in the parent directory (ie. one level up).
1115+
Install them using dpkg. E.g.:
1116+
1117+
1118+
sudo dpkg -i \
1119+
../qgis_1.0preview16_amd64.deb \
1120+
../libqgis-gui1_1.0preview16_amd64.deb \
1121+
../libqgis-core1_1.0preview16_amd64.deb \
1122+
../qgis-plugin-grass_1.0preview16_amd64.deb \
1123+
../python-qgis_1.0preview16_amd64.deb
1124+
1125+
1126+
1127+
5.11. Running QGIS
10811128
==================
10821129

10831130
Now you can try to run QGIS:
@@ -2228,11 +2275,12 @@ The following people have contributed to this document:
22282275
- Juergen Fischer 2007
22292276

22302277
- OSX Section
2231-
- Tim Sutton, 2007
2278+
- Tim Sutton 2007
22322279
- With special thanks to Tom Elwertowski and William Kyngesburye
22332280

22342281
- GNU/Linux Section
22352282
- Tim Sutton 2006
2283+
- Debian package section: Juergen Fischer 2008
22362284

22372285

22382286

0 commit comments

Comments
 (0)
Please sign in to comment.