Changes between Version 3 and Version 4 of LinuxBuild


Ignore:
Timestamp:
Nov 23, 2008, 7:25:56 AM (15 years ago)
Author:
mlucas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LinuxBuild

    v3 v4  
    11= Linux Build =
    2 
    3 The first package to build and install should be the OpenSceneGraph set. This consists of 3 projects:
    4 
    5 * OpenThreads
    6 * Producer
    7 * OpenSceneGraph
    8 
    9 They should be compiled and installed in that order.
    10 
    11 OsgEphemeris is optional.1 line can be commented out of the ossimPlanet build to disable it.
    12 
    13 Follow the [[cvs instructions]] to download the source files into your development directory.
    14 
    15 Ossim is the main Geoprocessing package powering ossimPlanet. This is pretty simple to build using the standard - configure, make and install steps. The ossim libraries are installed in /usr/local/lib/ossim by default.
    16 
    17 Though Ossim internally supports geotiff for support of other common raster formats gdal is necessary. This can be built from the cvs or using one of the released tarballs. In various distributions e.g. Gentoo it is part of the Package management system.
    18 
    19 In order to enable gdal support ossim_plugin needs to be built.
    20 
    21 ossim_qt requires Trolltech Qt Toolkit 3. If both Qt 3 and 4 are installed, as is the case in most up to date systems, environment variables need to be set to use the qt3 install for building.<br>
    22 Set the following environment variables using export or appropriate equivalent for your shell:
    23 {{{
    24 * OSSIM_DEV_HOME = path to common checkout location for all dependencies
    25 * OSSIM_HOME = path to ossim source tree
    26 * OSSIM_INC_DIR=${OSSIM_HOME}/include
    27 * OSSIM_LIB_DIR=${OSSIM_HOME}/lib/ossim
    28 * OSSIM_QT_HOME = path to ossim_qt source tree
    29 * QTDIR = path to qt3
    30 * PATH = $QTDIR/bin:$PATH (Override Path to force qt3 install)<br>
    31 run "qmake ossim_qt.pro" then make and make install to install ossim_qt. The applications imagelinker and iview are built and can be copied appropriate location in the PATH, usually /usr/local/bin/.
    32 }}}
    33 
    34 Build notes, to be cleaned up later...
    35 {{{
    36 
    37   cd ossim ; ./configure ; make depends ; make ; sudo make install; cd ..
    38   cd ossim_qt; qmake ossim_qt.pro ; make; sudo make install; cd ..
    39   cd libwms ; make; sudo make install; cd ..
    40   cd ossimPlanet; make;
    41   missing header file for ossimyahoo geocoder, fixed
    42   errors on osgEphemeris includes
    43   edit ossimPlanet/include/ossimPlanet/ossimPlanetSetup.h  comment out the
    44    // #define OSSIMPLANET_ENABLE_EPHEMERIS  if you don't have osgEphemeris installed
    45   sudo make install ; cd ..
    46   cd ossimplanet_qt ; qmake ossimplanet.pro ; make
    47 }}}
    482
    493    * [wiki:Ubuntu-7.10Build Ubuntu build]