[Qgis-user] Error at building from svn code

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Thu Jun 19 05:32:43 PDT 2008


On Thu, 2008-06-19 at 13:19 +0200, Agustin Lobo wrote:
> I was building accoding to
> http://wiki.qgis.org/qgiswiki/BuildingFromSource#head-8e1e1ff25b5e9f587393e0592c0ff34891ec07cc
[...]
> 
> (btw, is there any place with a brief and clear explanation of
> what I'm doing when I run these commands? I just have an
> approximate idea of what svn... means)
> 
> Thanks
> Agus

Hi!

If I am not wrong you use Ubuntu Hardy.

So here's what I do to get osgeo running (all information taken from the
respective websites -gdal/grass/qgis- and Dylan's notes here
http://casoilresource.lawr.ucdavis.edu/drupal/node/123 --- Thank you
Dylan;-)

OSGEO under Ubuntu 8.04 - 64bit


PROJ4

• Download proj-4.6.0.tar.gz  &  proj-datumgrid-1.3.tar.gz
• Move to "source-code" folder
• tar xzvf proj-4.6.0.tar.gz
• move proj-datumgrid-1.3.tar.gz to proj/nad
• tar xzvf proj-datumgrid-1.3.tar.gz
• ./configure
• make
• sudo make install

GEOS

• Download geos-3.0.0.tar.bz2
• Move to "source-code" folder
• bunzip geos-3.0.0.tar.bz2
• tar xvf  geos-3.0.0.tar

GDAL

• Download with svn
• Configure:
CFLAGS="-g -Wall" LDFLAGS="-s" ./configure --with-png=internal
--with-libtiff=internal --with-geotiff=internal --with-jpeg=internal
--with-gif=internal --with-ecw=yes --with-expat=yes
--with-expat-inc=/usr/include/ --with-expat-lib=/usr/lib
--with-sqlite3=yes --with-geos=yes --with-python --with-libz=internal
--with-netcdf --with-sqlite --with-threads=yes --without-grass
--without-ogdi

• make
• sudo make install
• sudo ldconfig


GRASS

• Download with svn
• CFLAGS="-g -Wall" LDFLAGS="-s" ./configure \
    --enable-64bit \
    --with-libs=/usr/lib64 \
    --with-cxx \
    --with-freetype=yes \
    --with-postgres=no \
    --with-sqlite=yes \
    --enable-largefile=yes \
    --with-tcltk-includes=/usr/include/tcl8.4 \
    --with-freetype-includes=/usr/include/freetype2 \
    --with-opengl-libs=/usr/include/GL \
    --with-readline \
    --with-python=yes \
    --with-ffmpeg-includes=/usr/include/ffmpeg


GDAL-GRASS-plugin

create grass6.conf or add in ld.so.conf the "GRASS library path"

./configure --with-gdal=/usr/local/bin/gdal-config
--with-grass=/usr/local/grass-6.3.1svn/
make
sudo make install






More information about the Qgis-user mailing list