Changes between Version 35 and Version 36 of Ubuntu-7.10Build
- Timestamp:
- Dec 29, 2008, 4:43:30 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ubuntu-7.10Build
v35 v36 138 138 }}} 139 139 140 140 Build ossimPredator libs: 141 {{{ 141 142 cd /home/sasha/GIS/ossim/ossimPredator 142 143 mkdir lib … … 145 146 sudo -s 146 147 sudo OSSIM_DEV_HOME=$OSSIM_DEV_HOME OSSIM_HOME=$OSSIM_HOME make install 148 }}} 147 149 148 150 149 150 # to build libwms on ubuntu 8.10 download these patch : 151 Now build ossimplanet, fon ubuntu 8.10 download these patch: 151 152 152 153 [http://www.geofemengineering.it/ossim_planet.patch ossim_planet_patch] 153 154 154 # save the patch as ossimPlanet.patch 155 # and run : 155 Save the patch as ossimPlanet.patch and run : 156 156 157 157 {{{ 158 158 patch -Np0 < /path/to/ossim_planet.patch 159 159 OSSIMPREDATOR_LIB_DIR=/usr/local/lib make … … 164 164 sudo make install 165 165 sudo 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 }}} 195 167 196 168 197 # create a "data" directory readed from ossim at its sturtup : 169 To buid ossom_plugin, change the gdal setting in the file 198 170 171 /home/sasha/GIS/ossim/ossim_plugins/make.opt.in 172 /home/sasha/GIS/ossim/ossim_plugins/make.opt 173 174 To point where you have gdal's files (hhere i used gdal from the repository) 175 176 {{{ 177 GDAL_HOME =/usr/ 178 ifeq ($(origin GDAL_HOME), undefined) 179 GDAL_INCLUDES =/usr/include/gdal/ 180 GDAL_LIBS =/usr/lib -lgdal 181 else 182 GDAL_INCLUDES = -I$(GDAL_HOME)/include/gdal/ 183 GDAL_LIBS = -L$(GDAL_HOME)/lib -lgdal 184 endif 185 }}} 186 187 {{{ 188 cd /home/sasha/GIS/ossim/ossim_plugins/ 189 make 190 }}} 191 192 Create a "data" directory readed from ossim at its sturtup and copy iside it the "ossim support data": 193 {{{ 199 194 mkdir /home/sasha/.ossim 200 201 # copy the "ossim support data" :202 203 195 cp -r /home/sasha/GIS/ossim/ossim_package_support/fonts /home/sasha/.ossim/fonts 204 205 196 cp -r /home/sasha/GIS/ossim/ossim_package_support/geoids /home/sasha/.ossim/geoids 206 207 197 cp -r /home/sasha/GIS/ossim/ossim_package_support/images /home/sasha/.ossim/images 208 198 }}}