Changes between Version 32 and Version 33 of Ubuntu-7.10Build
- Timestamp:
- Dec 29, 2008, 4:02:07 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ubuntu-7.10Build
v32 v33 30 30 svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.6.1 OpenSceneGraph 31 31 32 cd Op 32 cd OpensceneGraph 33 33 mkdir build 34 34 cd build … … 109 109 echo "export OSSIM_INC_DIR=/home/sasha/GIS/ossim/ossim/include" >> /home/sasha/.bashrc 110 110 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 121 123 cd /home/sasha/GIS/ossim/ossim 122 124 … … 127 129 128 130 sudo make install 131 132 to build libwms on ubuntu 8.10 download these patch : 129 133 130 134 [http://www.geofemengineering.it/libwms.patch libwms_patch] … … 144 148 145 149 146 cd ..147 148 # add the compiled libraries to your system :149 150 sudo touch /etc/ld.so.conf.d/ossim.conf151 152 sudo echo "/usr/lib" >> /etc/ld.so.conf.d/ossim.conf153 154 sudo echo "/usr/local/lib" >> /etc/ld.so.conf.d/ossim.conf155 156 sudo echo "/home/sasha/GIS/ossim/ossim/lib" >> /etc/ld.so.conf.d/ossim.conf157 158 150 159 151 # open a new terminal and type : … … 168 160 169 161 sudo make install 170 171 172 ################# needs a revision ##########173 162 174 163 cd /home/sasha/GIS/ossim/ossimPlanet 175 164 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 179 198 180 199 cd /home/sasha/GIS/ossim/ossimPlanetQt/ … … 192 211 193 212 # /home/sasha/GIS/ossim/ossim_plugins/make.opt.in 213 214 # /home/sasha/GIS/ossim/ossim_plugins/make.opt 194 215 195 216 # to point where you have gdal's files … … 203 224 GDAL_INCLUDES =/usr/include/gdal/ 204 225 205 GDAL_LIBS =/usr/lib 226 GDAL_LIBS =/usr/lib -lgdal 206 227 207 228 else … … 209 230 GDAL_INCLUDES = -I$(GDAL_HOME)/include/gdal/ 210 231 211 GDAL_LIBS = -L$(GDAL_HOME)/lib 232 GDAL_LIBS = -L$(GDAL_HOME)/lib -lgdal 212 233 213 234 endif