Changes between Version 35 and Version 36 of Ubuntu-7.10Build


Ignore:
Timestamp:
Dec 29, 2008, 4:43:30 PM (15 years ago)
Author:
epifanio
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ubuntu-7.10Build

    v35 v36  
    138138}}}
    139139
    140 
     140Build ossimPredator libs:
     141{{{
    141142cd /home/sasha/GIS/ossim/ossimPredator
    142143mkdir lib
     
    145146sudo -s
    146147sudo OSSIM_DEV_HOME=$OSSIM_DEV_HOME OSSIM_HOME=$OSSIM_HOME make install
     148}}}
    147149
    148150
    149 
    150 # to build libwms on ubuntu 8.10 download these patch :
     151Now build ossimplanet, fon ubuntu 8.10 download these patch:
    151152
    152153[http://www.geofemengineering.it/ossim_planet.patch ossim_planet_patch]
    153154
    154 # save the patch as ossimPlanet.patch
    155 # and run :
     155Save the patch as ossimPlanet.patch and run :
    156156
    157 
     157{{{
    158158patch -Np0 < /path/to/ossim_planet.patch
    159159OSSIMPREDATOR_LIB_DIR=/usr/local/lib make
     
    164164sudo make install
    165165sudo ldconfig
    166 
    167 # to buid ossoim_plugin, change the gdal setting in the file
    168 # /home/sasha/GIS/ossim/ossim_plugins/make.opt.in
    169 # /home/sasha/GIS/ossim/ossim_plugins/make.opt
    170 # to point where you have gdal's files
    171 # (here i used gdal from the repository)
    172  
    173 --------------------------------------------------
    174     GDAL_HOME =/usr/
    175 
    176     ifeq ($(origin GDAL_HOME), undefined)
    177 
    178       GDAL_INCLUDES =/usr/include/gdal/
    179 
    180       GDAL_LIBS =/usr/lib -lgdal
    181 
    182     else
    183 
    184       GDAL_INCLUDES = -I$(GDAL_HOME)/include/gdal/
    185 
    186       GDAL_LIBS = -L$(GDAL_HOME)/lib -lgdal
    187 
    188     endif
    189  
    190 --------------------------------------------------
    191 
    192 make
    193 sudo make install
    194 sudo ldconfig
     166}}}
    195167
    196168
    197 # create a "data" directory readed from ossim at its sturtup :
     169To buid ossom_plugin, change the gdal setting in the file
    198170
     171/home/sasha/GIS/ossim/ossim_plugins/make.opt.in
     172/home/sasha/GIS/ossim/ossim_plugins/make.opt
     173
     174To point where you have gdal's files (hhere i used gdal from the repository)
     175 
     176{{{
     177GDAL_HOME =/usr/
     178ifeq ($(origin GDAL_HOME), undefined)
     179    GDAL_INCLUDES =/usr/include/gdal/
     180    GDAL_LIBS =/usr/lib -lgdal
     181else
     182    GDAL_INCLUDES = -I$(GDAL_HOME)/include/gdal/
     183    GDAL_LIBS = -L$(GDAL_HOME)/lib -lgdal
     184endif
     185}}}
     186
     187{{{
     188cd /home/sasha/GIS/ossim/ossim_plugins/
     189make
     190}}}
     191
     192Create a "data" directory readed from ossim at its sturtup and copy iside it the "ossim support data":
     193{{{
    199194mkdir /home/sasha/.ossim
    200 
    201 # copy the "ossim support data" :
    202  
    203195cp -r /home/sasha/GIS/ossim/ossim_package_support/fonts /home/sasha/.ossim/fonts
    204  
    205196cp -r /home/sasha/GIS/ossim/ossim_package_support/geoids /home/sasha/.ossim/geoids
    206  
    207197cp -r /home/sasha/GIS/ossim/ossim_package_support/images /home/sasha/.ossim/images
    208 
     198}}}