[fdo-trac] #5: GDAL: Update FDO Thirdparty to latest GDAL Source

FDO trac_fdo at osgeo.org
Wed Mar 7 16:10:39 EST 2007


#5: GDAL: Update FDO Thirdparty to latest GDAL Source
-----------------------------------+----------------------------------------
 Reporter:  gregboone              |         Owner:  gregboone
     Type:  enhancement            |        Status:  assigned 
 Priority:  minor                  |     Milestone:  3.3.0    
Component:  Thirdparty Components  |       Version:  3.3.0    
 Severity:  2                      |    Resolution:           
 Keywords:  GDAL WMS               |   External_id:           
-----------------------------------+----------------------------------------
Comment (by warmerdam):

 Greg,

 This approach seems reasonable.

 gdal-config is a script which reports information about how the pre-
 installed GDAL
 is setup.

 warmerda at amd64[61]% ~/bld/bin/gdal-config --help
 Usage: gdal-config [OPTIONS]
 Options:
         [--prefix[=DIR]]
         [--libs]
         [--dep-libs]
         [--cflags]
         [--version]
         [--ogr-enabled]
         [--formats]
 warmerda at amd64[62]% ~/bld/bin/gdal-config --prefix
 /home/warmerda/bld
 warmerda at amd64[63]% ~/bld/bin/gdal-config --libs
 -L/home/warmerda/bld/lib -lgdal
 warmerda at amd64[64]% ~/bld/bin/gdal-config --cflags
 -I/home/warmerda/bld/include

 So an alternative approach might be to have setenvironment.sh
 default to trying to run gdal-config.  If successful it could
 use the found GDAL, otherwise it could default to the thirdparty
 logic.

 But your approach is ok too.  It is just up to people to modify
 setenvironment.sh to point to /usr/local or something similar
 if they have their own install.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/5#comment:15>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list