Changes between Version 32 and Version 33 of Ubuntu-7.10Build


Ignore:
Timestamp:
Dec 29, 2008, 4:02:07 PM (16 years ago)
Author:
epifanio
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ubuntu-7.10Build

    v32 v33  
    3030    svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.6.1 OpenSceneGraph
    3131
    32     cd Op
     32    cd OpensceneGraph
    3333    mkdir build
    3434    cd build
     
    109109    echo "export OSSIM_INC_DIR=/home/sasha/GIS/ossim/ossim/include" >> /home/sasha/.bashrc
    110110
    111 
    112 # build :
    113 # ossim
    114 # libwms
    115 # ossim_qt4
    116 (to do)
    117 ## ossimplanet
    118 ## ossimplanet_qt
    119 ## ossim_plugins
    120  
     111# add /usr/local/lib
     112# and /usr/local/lib64 (if you're on 64 bit machine)
     113# to you're /etc/ld.so.conf.d/:
     114 
     115    sudo touch /etc/ld.so.conf.d/local.conf
     116
     117    sudo echo "/usr/local/lib" >> /etc/ld.so.conf.d/ossim.conf
     118
     119    sudo echo "/usr/local/lib64" >> /etc/ld.so.conf.d/ossim.conf
     120
     121
     122
    121123    cd /home/sasha/GIS/ossim/ossim
    122124 
     
    127129 
    128130    sudo make install
     131
     132 to build libwms on ubuntu 8.10 download these patch :
    129133
    130134    [http://www.geofemengineering.it/libwms.patch libwms_patch]
     
    144148 
    145149 
    146     cd ..
    147 
    148 # add the compiled libraries to your system :
    149  
    150     sudo touch /etc/ld.so.conf.d/ossim.conf
    151 
    152     sudo echo "/usr/lib" >> /etc/ld.so.conf.d/ossim.conf
    153 
    154     sudo echo "/usr/local/lib" >> /etc/ld.so.conf.d/ossim.conf
    155 
    156     sudo echo "/home/sasha/GIS/ossim/ossim/lib" >> /etc/ld.so.conf.d/ossim.conf
    157  
    158150 
    159151# open a new terminal and type :
     
    168160
    169161    sudo make install
    170 
    171 
    172 ################# needs a revision ##########
    173162 
    174163    cd /home/sasha/GIS/ossim/ossimPlanet
    175164
    176     make
    177 
    178     sudo make install
     165
     166
     167    cd /home/sasha/GIS/ossim/ossimPredator
     168
     169    mkdir lib
     170
     171    cd src
     172
     173    make
     174
     175    sudo -s
     176
     177    sudo OSSIM_DEV_HOME=$OSSIM_DEV_HOME OSSIM_HOME=$OSSIM_HOME make install
     178
     179
     180
     181# to build libwms on ubuntu 8.10 download these patch :
     182
     183
     184
     185    [http://www.geofemengineering.it/ossim_planet.patch ossim_planet_patch]
     186
     187
     188
     189# save the patch as ossimPlanet.patch
     190# and run :
     191
     192
     193    patch -Np0 < /path/to/ossim_planet.patch
     194
     195    OSSIMPREDATOR_LIB_DIR=/usr/local/lib make
     196
     197    sudo OSSIMPREDATOR_LIB_DIR=/usr/local/lib make install
    179198 
    180199    cd /home/sasha/GIS/ossim/ossimPlanetQt/
     
    192211
    193212# /home/sasha/GIS/ossim/ossim_plugins/make.opt.in
     213
     214# /home/sasha/GIS/ossim/ossim_plugins/make.opt
    194215
    195216# to point where you have gdal's files
     
    203224      GDAL_INCLUDES =/usr/include/gdal/
    204225
    205       GDAL_LIBS =/usr/lib
     226      GDAL_LIBS =/usr/lib -lgdal
    206227
    207228    else
     
    209230      GDAL_INCLUDES = -I$(GDAL_HOME)/include/gdal/
    210231
    211       GDAL_LIBS = -L$(GDAL_HOME)/lib
     232      GDAL_LIBS = -L$(GDAL_HOME)/lib -lgdal
    212233
    213234    endif