Building QGIS on Feisty Fawn

Apr 27, 2007

Here is the process I used to quickly build (OK, but it was faster than usual) QGIS HEAD on Feisty Fawn. What's QGIS HEAD? It's the current development version that includes the tasty Python bindings that allow you to write both QGIS plugins and stand-alone mapping applications.

./configure --without-python --with-sqlite=/usr --with-grass=/usr/local/grass-6.2.1
make clean
make
make install

Get the current QGIS unstable from the Subversion repository. You'll need subversion to fetch the code. If you don't have it, install it using:

sudo apt-get install subversion

then,

svn co https://svn.qgis.org/repos/qgis/trunk/qgis qgis_unstable

Build QGIS using the instructions in: http://wiki.qgis.org/qgiswiki/BuildingwithCMake
I suggest using a out of source build outlined on the wiki.
If you have problems with cmake finding your GRASS or other components, use ccmake to edit the paths, as well as the install prefix if you like:

cd qgis_unstable
mkdir build
cd build
ccmake ..

Hit 'c' a couple of times and then 'g' to generate. You are then ready to:

make
make install

Using the Feisty packages makes it a pretty quick process. You only need to compile GDAL, GRASS and QGIS. If you don't want to use GRASS, you could get by with GDAL 1.3.2 from apt.

You can also use this process to build the 0.8.0 release or the 0.8.1 release candidate in subversion.