Using open source in ecology and biodiversity research

Menu

Building QGIS on Ubuntu 13.04

Always one of those dreaded moments after updating Ubuntu, to 13.04 this time. Will QGIS compile properly. Not as it turned out, but the solutions were easy and quick, thanks to posts on nyalldawson.net and boringnerdystuff.

Ubuntu 13.04 defaults to Qt 5. You could solve this by changing back to Qt4, but as one pointed out in the comments on Nyall Dawson’s post, making system-wide changes to compile a single piece of software might be a bit of an overkill. Instead, what worked for me was to change in the configure options:

you can change the configuration when running ccmake or cmake from the command line (you need to be in the folder with the source code). Or install cmake (http://www.cmake.org/), which gives you a nice GUI interface.

thanks for your article! Unfortunately, I do not manage to get the installation to work on my Ubuntu 13.04 with the latest QGIS nightly build.
I first tried the Synaptic based install described here: http://qgismalaysia.blogspot.de/2013/04/ubuntu-1304-and-qgis.html
That didn’t work (as expected) because there were some problems with the python-qgis or pyspatialite stuff. While QGIS basically started up O.K. it came completely without Python support (no plugins etc.)

Now I wanted to try to *really* build the sources myself but don’t know how to do it properly. Could you give a bit more information on the neccessary steps? I tried this (http://www.qgis.org/api/INSTALL.html) step-by-step manual but it doesn’t say anything (yet?) about the dependencies for raring so I tried precise – which failed right from the start. Also I am not familiar with cmake.

Any information on this complicated installation process is highly appreciated! I urgently need QGIS 1.9 for its hstore support.