Skip to content

Commit

Permalink
INSTALL fix
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15118 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Feb 1, 2011
1 parent 91dfa24 commit 2aac717
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 45 deletions.
59 changes: 27 additions & 32 deletions INSTALL
@@ -1,8 +1,8 @@
Quantum GIS (QGIS)
Building QGIS from source - step by step

Last update: 20101120
Last change: 20101114
Last update: 20110201
Last change: 20110201

1. Introduction
2. Overview
Expand All @@ -15,8 +15,7 @@ Last change: 20101114
3.6. Check out the QGIS Source Code
3.7. Starting the compile
3.8. Building Debian packages
3.9. Running QGIS
3.10. A practical case: Building QGIS and GRASS from source on Ubuntu with ECW and MrSID formats support
3.9. A practical case: Building QGIS and GRASS from source on Ubuntu with ECW and MrSID formats support
4. Building on Windows
4.1. Building with Microsoft Visual Studio
4.2. Building using MinGW
Expand Down Expand Up @@ -259,7 +258,7 @@ if you do not have edit privaleges for the QGIS source repository, or use


cd ${HOME}/dev/cpp
svn co --username <yourusername> https://svn.osgeo.org/qgis/trunk/qgis qgis
svn co --username <yourusername> https://svn.osgeo.org/qgis/trunk/qgis qgis


The first time you check out the source you will be prompted to accept the
Expand Down Expand Up @@ -320,6 +319,15 @@ Now on with the build:

It may take a little while to build depending on your platform.

After that you can try to run QGIS:


$HOME/apps/bin/qgis


If all has worked properly the QGIS application should start up and appear
on your screen.


3.8. Building Debian packages
=============================
Expand Down Expand Up @@ -361,30 +369,17 @@ Install them using dpkg. E.g.:



3.9. Running QGIS
=================

Now you can try to run QGIS:


$HOME/apps/bin/qgis


If all has worked properly the QGIS application should start up and appear
on your screen.


3.10. A practical case: Building QGIS and GRASS from source on Ubuntu with ECW and MrSID formats support
========================================================================================================
3.9. A practical case: Building QGIS and GRASS from source on Ubuntu with ECW and MrSID formats support
=======================================================================================================

The following procedure has been tested on Ubuntu 8.04, 8.10 and 9.04 32bit. If you want
to use different versions of the software (gdal, grass, qgis), just make the
necessary adjustments to the following code. This guide assumes that you don't have
installed any previous version of gdal, grass and qgis.


3.10.1. Step 1: install base packages
=====================================
3.9.1. Step 1: install base packages
====================================

First you need to install the necessary packages required to download the source
code and compile it. Open the terminal and issue the following command:
Expand All @@ -394,8 +389,8 @@ code and compile it. Open the terminal and issue the following command:



3.10.2. Step 2: compile and install the ecw libraries
=====================================================
3.9.2. Step 2: compile and install the ecw libraries
====================================================

Go to the ERDAS web site http://www.erdas.com/ and follow the links
"'''products --> ECW JPEG2000 Codec SDK --> downloads'''"
Expand Down Expand Up @@ -435,8 +430,8 @@ leave the folder



3.10.3. Step 3: download the MrSID binaries
===========================================
3.9.3. Step 3: download the MrSID binaries
==========================================

Go to the LIZARDTECH web site http://www.lizardtech.com/ and follow the links
"'''download --> Developer SDKs'''",
Expand All @@ -446,8 +441,8 @@ then download the "'''GeoExpress SDK for Linux (x86) - gcc 4.1 32-bit'''"
Uncompress the downloaded file. The resulting directory name should be similar to "Geo_DSDK-7.0.0.2167"


3.10.4. Step 4: compile and install the gdal libraries
======================================================
3.9.4. Step 4: compile and install the gdal libraries
=====================================================

Download the latest gdal source code

Expand Down Expand Up @@ -523,8 +518,8 @@ leave the folder



3.10.5. Step 5: compile and install GRASS
=========================================
3.9.5. Step 5: compile and install GRASS
========================================

Before downloading and compile GRASS source code you need to install a few
other libraries and programs. We can do this trough apt
Expand Down Expand Up @@ -577,8 +572,8 @@ may want to give it a try



3.10.6. Step 6: compile and install QGIS
========================================
3.9.6. Step 6: compile and install QGIS
=======================================

As for GRASS you can obtain the QGIS source code from different sources,
for instance from svn or just by downloading one of the source code arquives available
Expand Down
2 changes: 1 addition & 1 deletion doc/INSTALL.t2t
Expand Up @@ -15,7 +15,7 @@ Building QGIS from source - step by step
% These are comments and will not be generated in any output
% -------------------

%This document is in text2tags format. You can generate html, plain text and
%This document is in txt2tags format. You can generate html, plain text and
%moinmoin formatted documentation by running txt2tags on this document. See the
%txt2tags home page for more details. Please insert manual line breaks in this
%document as it makes diffing for changes much easier. To do this in vim
Expand Down
23 changes: 11 additions & 12 deletions doc/linux.t2t
Expand Up @@ -139,7 +139,7 @@ svn co https://svn.osgeo.org/qgis/trunk/qgis qgis

```
cd ${HOME}/dev/cpp
svn co --username <yourusername> https://svn.osgeo.org/qgis/trunk/qgis qgis
svn co --username <yourusername> https://svn.osgeo.org/qgis/trunk/qgis qgis
```

The first time you check out the source you will be prompted to accept the
Expand Down Expand Up @@ -198,6 +198,16 @@ make install

It may take a little while to build depending on your platform.

After that you can try to run QGIS:

```
$HOME/apps/bin/qgis
```

If all has worked properly the QGIS application should start up and appear
on your screen.


== Building Debian packages ==

Instead of creating a personal installation as in the previous step you can
Expand Down Expand Up @@ -236,17 +246,6 @@ Install them using dpkg. E.g.:
sudo debi
```

== Running QGIS ==

Now you can try to run QGIS:

```
$HOME/apps/bin/qgis
```

If all has worked properly the QGIS application should start up and appear
on your screen.


== A practical case: Building QGIS and GRASS from source on Ubuntu with ECW and MrSID formats support ==

Expand Down

0 comments on commit 2aac717

Please sign in to comment.