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

FDO trac_fdo at osgeo.org
Wed Mar 7 12:28:01 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 gregboone):

 I am somewhat concerned about introducing another environment variable
 into the build process. Each one adds a little more complexity to the
 situation. What if we changed the current build process to key off the
 value of FDOGDAL? If it points to /usr/local/fdo-3-3-0 then the build
 process will build Thirdparty/GDAL and install in /usr/local/fdo-3-3-0.
 Otherwise, the Thirdparty/GDAL will not be built and the FDO providers
 will pick-up gdal from the previous installed location such as
 /user/local?
 [[BR]]
 For example...[[BR]]
 [[BR]]
 '''setenvironment.sh'''[[BR]]
 [[BR]]
 export FDOGDAL=/usr/local/fdo-3.3.0[[BR]]
 [[BR]]
 echo ""[[BR]]
 echo "NOTE: The setenvironment.sh script sets the installation location
 for "[[BR]]
 echo "the GDAL SDK files to /usr/local/fdo-3.3.0. If this value remains
 unchanged,"[[BR]]
 echo "the FDO build process will build the version of GDAL located in
 Thirdpaty/gdal"[[BR]]
 echo "and will install the resulting files in /usr/local/fdo-3.3.0. The
 FDO build"[[BR]]
 echo "process will then use that location when building the GDAL
 and"[[BR]]
 echo "WMS providers. If you wish to build the FDO GDAL or WMS
 Providers"[[BR]]
 echo "using a previously installed version of GDAL, modify the
 setenvironment.sh "[[BR]]
 echo "script and set FDOGDAL to point to the existing GDAL
 installation."[[BR]]
 echo "For example: /user/local (The default GDAL installation
 path)."[[BR]]
 echo ""[[BR]]
 [[BR]]
 '''Thirdparty/Thirdparty.sh'''[[BR]]
 [[BR]]
 ## Build Thirdparty_WMS/GDAL[[BR]]
 if test "$FDOGDAL" == "/user/local/fdo-3.3.0"; then [[BR]]
     pushd . >& /dev/null[[BR]]
     cd gdal[[BR]]
     echo Building gdal[[BR]]
     cd src[[BR]]
     chmod a+x ./configure[[BR]]
     echo Build GDAL library with the following settings:[[BR]]
     echo     gif support         - internal[[BR]]
     echo     jpeg support        - internal[[BR]]
     echo     png support         - internal[[BR]]
     echo     tiff support        - internal[[BR]]
     echo     geotiff support     - internal[[BR]]
     echo     libz support        - internal[[BR]]
     echo     python support      - no[[BR]]
     echo     OGR support         - no[[BR]]
     echo     postgreSQL support  - no[[BR]]
     ./configure --with-gif=internal --with-jpeg=internal --with-
 png=internal --with-libtiff=internal --with-geotiff=internal --without-ogr
 --with-pg=no --with-python=no --with-libz=internal '''--
 prefix=/usr/local/fdo-3.3.0'''[[BR]]
     make[[BR]]
     make install[[BR]]
     popd >& /dev/null[[BR]]
 else[[BR]]
     '''echo "Building Thirdparty/GDAL libraries skipped. FDOGDAL points to
 a previously installed version of GDAL at $FDOGDAL"'''[[BR]]
 fi[[BR]]
 [[BR]]

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


More information about the fdo-trac mailing list