Changes between Version 19 and Version 20 of DavesFedoraCmakeBuildNotes


Ignore:
Timestamp:
Nov 20, 2011, 7:09:53 AM (12 years ago)
Author:
dburken
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DavesFedoraCmakeBuildNotes

    v19 v20  
    8383$ ./geos-cmake-config.sh
    8484
    85 // Make - note the "-j 4" is to use 4 threads.  I have a quad core cpu.[[BR]]
     85// Make - note the "-j 4" is to use 4 threads.[[BR]]
    8686$ make -j 4
    8787
     
    115115$ ./mylibtiffconfig.sh
    116116
    117 // Make - note the "-j 4" is to use 4 threads.  I have a quad core cpu.[[BR]]
     117// Make - note the "-j 4" is to use 4 threads.[[BR]]
    118118$ make -j 4
    119119
     
    167167$ ./libgeotiff-cmake-config.sh
    168168
    169 // Make - note the "-j 4" is to use 4 threads.  I have a quad core cpu.[[BR]]
     169// Make - note the "-j 4" is to use 4 threads.[[BR]]
    170170$ make -j 4
    171171
     
    178178// Get gdal:[[BR]]
    179179$ cd /work/osgeo[[BR]]
    180 svn co http://svn.osgeo.org/gdal/trunk/gdal
    181 
    182 
    183 
    184 
     180svn co http://svn.osgeo.org/gdal/trunk/gdal gdal[[BR]]
     181$ cd gdal[[BR]]
     182// Make a configure script[[BR]]
     183$ xemacs mygdalconfig.sh [[BR]]
     184// Contents of script:[[BR]]
     185// Note the gdal configure can be quite lengthy.  Edit as required.
     186// This builds gdal with my libtiff and geotiff
     187{{{
     188#!/bin/sh
     189
     190# File: mygdalconfig.sh
     191# Note: Python needed for QGIS.
     192
     193prefix=/work/osgeo/local
     194
     195./configure --prefix=${prefix} --with-kakadu=/work/drb/kakadu/latest --with-geos=/work/osgeo/local/bin/geos-config --with-libtiff=/work/osgeo/local --with-geotiff=/work/osgeo/local --with-mrsid=/work/drb/mrsid/Geo_DSDK-7.0.0.2167 --with-python
     196
     197}}}
     198
     199// Make the script executable:[[BR]]
     200$ chmod 755 mygdalconfig.sh
     201
     202// Run the cmake command to set up the build system:[[BR]]
     203$ ./mygdalconfig.sh
     204
     205// Make - note the "-j 4" is to use 4 threads.[[BR]]
     206$ make -j 4
     207
     208// Install to sandbox:[[BR]]
     209$ make install // Note if your sandbox was on a system slice, i.e. /usr/local you would do: "sudo make install"
     210
     211// End of gdal
     212
     213// ossim build
     214
     215
     216
     217
     218