[Qgis-user] (no subject)

cfarmer cfarmer at uvic.ca
Thu Jun 19 15:24:33 PDT 2008


Hi Nikos (and Agus),

Here are those two emails you sent me last week:

> Hi!
>
> As much as I can retrieve from my history log I didn't really do extreme
> things this times  ;-)
>
> After installing (from source) proj, geos, gdal/ogr (without grass
> support), grass, gdal-grass-plugin... I followed the steps described on
> the wiki. Don't know what went wrong last time. So here they are:
>
> # Compile qgis source code following steps described in the wiki
>
>
> # Get qgis from svn under the desired folder (I use /usr/local/src)
> sudo apt-get install svn
> svn co https://svn.osgeo.org/qgis/trunk/qgis qgis
>
>
> # Install some dependencies
> sudo apt-get install libqt4-core libqt4-debug libqt4-debug-dev
> libqt4-dev libqt4-gui libqt4-qt3support libqt4-sql lsb-qt4 qt4-designer
> qt4-dev-tools qt4-doc qt4-qtconfig uim-qt gcc libapt-pkg-perl reso
> lvconf
>
>
> #/usr/bin/qmake -> /etc/alternatives/qmake
> sudo update-alternatives --config qmake
> sudo update-alternatives --config uic
> sudo update-alternatives --config designer
> sudo update-alternatives --config assistant
> sudo update-alternatives --config qtconfig
> sudo update-alternatives --config moc
> sudo update-alternatives --config lupdate
> sudo update-alternatives --config lrelease
> sudo update-alternatives --config linguist
>
>
> # more dependencies or making sure that compile tools are there!
> sudo apt-get install libhdf4g-dev libhdf4g-run python-dev libgsl0-dev g
> ++ libjasper-dev libtiff4-dev subversion libsqlite3-dev sqlite3 ccache
> make libpq-dev flex bison cmake txt2tags python-qt4 python-
> qt4-dev python-sip4 sip4 python-sip4-dev
>
>
> # some tip to speed-up compilation as suggested in qgis wiki
> cd /usr/local/bin
> sudo ln -s /usr/bin/ccache gcc
> sudo ln -s /usr/bin/ccache g++
>
>
> # configure - compile - install
> cd /usr/local/src/qgis/
> mkdir build
> cd build
> ccmake ..
> make
> sudo make install
> qgis
>
>
> # install r, rpy, numpy
> sudo apt-get install r-base
> sudo apt-get install python-rpy
> sudo apt-get install python-nump
>

and this was followed by an email containing:

> #/usr/bin/qmake -> /etc/alternatives/qmake
> > sudo update-alternatives --config qmake
> > sudo update-alternatives --config uic
> > sudo update-alternatives --config designer
> > sudo update-alternatives --config assistant
> > sudo update-alternatives --config qtconfig
> > sudo update-alternatives --config moc
> > sudo update-alternatives --config lupdate
> > sudo update-alternatives --config lrelease
> > sudo update-alternatives --config linguist
>
>
> Although this step is required if two versions of qt are there!
>
>

Hope this helps!

Carson




More information about the Qgis-user mailing list