![]() |
“The beast is actively interested only in now, and, as it is always now and always shall be, there is an eternity of time for the accomplishment of objects.” - the wisdom of Tarzan |
Kyng Chaos |
|
GDAL/OGR BuildLast change: 2005/8/27 GDAL version: 1.3.0 gdal.org There are two options to install GDAL, one being a bit tricky. Without GRASS raster support, MapServer can't read GRASS rasters, and GRASS can't use GDAL to export rasters (this is because it uses GDAL utilities to convert the rasters) tho it can use GDAL to read raster data and can still export rasters with other r.out.* commands. With GRASS support, MapServer can read GRASS rasters, and GRASS can use GDAL for both import and export. The simplest is without GRASS raster support. Just go ahead and install it without the grass configure option. The more difficult, but useful, option is with GRASS raster support. This requires GRASS 6 to be installed. But GRASS also requires GDAL - a circular problem. So, this is what we do:
Once you have completed that cycle, you shouldn't need to go back to 'GDAL no GRASS' when updating either GDAL or GRASS. So, here's the gorey details. In a Terminal type (supply admin password when asked): $ cd path_to_folder_containing_gdal_source_tar_gz $ tar -zxf gdal-1.3.0.tar.gz $ cd gdal-1.3.0 $ ./configure --mandir=/usr/local/share/man --without-python --with-threads --with-static-proj4=/usr/local --with-libtiff=/usr/local --with-geotiff=/usr/local --with-jpeg=/usr/local --with-gif=/usr/local --with-png=/usr/local --with-jasper=/usr/local If you installed any of these optional packages, add to the configure line:
Then finish: $ make $ sudo make install |
| Copyright © 2004-2008 Kyng Chaos All trademarks and copyrights on this page are owned by their respective owners. |
Powered By Geeklog |