Add updated re repository for ubuntu 8.10 intrepid : {{{ # add repository to sources.list (thanks to Jef) echo "deb http://ppa.launchpad.net/jef-norbit/ubuntu intrepid main" >> /etc/apt/sources.list echo "deb-src http://ppa.launchpad.net/jef-norbit/ubuntu intrepid main" >> /etc/apt/sources.list # Update : sudo apt-get update sudo apt-get upgrade }}} These repository give you an updated gdal version and a development version of qgis too (apt-get install qgis) Install some depenndecies: {{{ apt-get install libqt4-core libqt4-dev libqt4-gui libqt4-qt3support lsb-qt4 qt4-dev-tools qt4-doc qt4-qtconfig \ uim-qt gdal-bin libgdal1-dev libgeos-dev proj libgdal-doc libtiff4-dev subversion make g++ g++-4.1 gcc libgeotiff1.2 \ libgeotiff-dev libgeotiff-epsg cmake }}} Download and compile Openscenegraph from source : {{{ svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.6.1 OpenSceneGraph cd OpensceneGraph mkdir build cd build ccmake .. # delete the not-find libraries from the cmake setting-lines # press c to configure # press g to generate makefile make sudo make install }}} Download and install ffmpeg (maybe the repository version of ffmpeg can be used too ... i'll check it) : {{{ cd /home/sasha/GIS mkdir DEP cd DEP svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg cd ffmpeg ./configure --disable-vhook --disable-mmx --disable-static --enable-shared make cd libswscale make sudo make install cd .. sudo make install # Create simbolink link to put the include files all in a standard place (/usr/iclude/ffmpeg) mkdir '/usr/include/ffmpeg' sudo ln -s '/usr/local/include/libavcodec/avcodec.h' '/usr/local/include/libavcodec/opt.h' '/usr/include/ffmpeg' sudo ln -s '/usr/local/include/libavdevice/avdevice.h' '/usr/include/ffmpeg' sudo ln -s '/usr/local/include/libavformat/avformat.h' '/usr/local/include/libavformat/avio.h' '/usr/local/include/libavformat/rtsp.h' '/usr/local/include/libavformat/rtspcodes.h' '/usr/include/ffmpeg' sudo ln -s '/usr/local/include/libavutil/adler32.h' '/usr/local/include/libavutil/avstring.h' '/usr/local/include/libavutil/avutil.h' '/usr/local/include/libavutil/base64.h' '/usr/local/include/libavutil/common.h' '/usr/local/include/libavutil/crc.h' '/usr/local/include/libavutil/fifo.h' '/usr/local/include/libavutil/intfloat_readwrite.h' '/usr/local/include/libavutil/log.h' '/usr/local/include/libavutil/lzo.h' '/usr/local/include/libavutil/mathematics.h' '/usr/local/include/libavutil/md5.h' '/usr/local/include/libavutil/mem.h' '/usr/local/include/libavutil/random.h' '/usr/local/include/libavutil/rational.h' '/usr/local/include/libavutil/sha1.h' '/usr/include/ffmpeg' sudo ln -s '/usr/local/include/libswscale/swscale.h' '/usr/include/ffmpeg' }}} Download ossim from svn and compile it: {{{ cd mkdir -p GIS/ossim cd /GIS/ossim svn co https://svn.osgeo.org/ossim/trunk . # Set the ossim environment variables : echo "export OSSIM_DEV_HOME=/home/sasha/GIS/ossim" >> /home/sasha/.bashrc echo "export OSSIM_HOME=/home/sasha/GIS/ossim/ossim" >> /home/sasha/.bashrc echo "export OSSIM_QT_HOME=/home/sasha/GIS/ossim/ossim_qt" >> /home/sasha/.bashrc echo "export OSSIM_LIB_DIR=/home/sasha/GIS/ossim/ossim/lib/ossim" >> /home/sasha/.bashrc echo "export OSSIM_INC_DIR=/home/sasha/GIS/ossim/ossim/include" >> /home/sasha/.bashrc }}} Add /usr/local/lib and /usr/local/lib64 (if you're on 64 bit machine) to you're /etc/ld.so.conf.d/: {{{ sudo touch /etc/ld.so.conf.d/local.conf sudo echo "/usr/local/lib" >> /etc/ld.so.conf.d/ossim.conf sudo echo "/usr/local/lib64" >> /etc/ld.so.conf.d/ossim.conf }}} Compile Ossim core libs: {{{ cd /home/sasha/GIS/ossim/ossim ./configure --with-geotiff=/usr/include/geotiff --prefix=/usr --with-jpeg=/usr --with-libtif make sudo make install }}} To build libwms on ubuntu 8.10 download these patch : [http://www.geofemengineering.it/libwms.patch libwms_patch] save the patch as libwms.patch and run : {{{ cd /home/sasha/GIS/ossim/libwms patch -Np0 < /path/to/libwms.patch make sudo make install }}} To load the new libraries open a new terminal and type : {{{ sudo ldconfig cd /home/sasha/GIS/ossim/ossim_qt4 qmake ossim_qt4.pro make sudo make install }}} Build ossimPredator libs: {{{ cd /home/sasha/GIS/ossim/ossimPredator mkdir lib cd src make sudo -s sudo OSSIM_DEV_HOME=$OSSIM_DEV_HOME OSSIM_HOME=$OSSIM_HOME make install }}} Now build ossimplanet, fon ubuntu 8.10 download these patch: [http://www.geofemengineering.it/ossimPlanet.patch ossim_planet_patch] Save the patch as ossimPlanet.patch and run : {{{ patch -Np0 < /path/to/ossim_planet.patch OSSIMPREDATOR_LIB_DIR=/usr/local/lib make sudo OSSIMPREDATOR_LIB_DIR=/usr/local/lib make install cd /home/sasha/GIS/ossim/ossimPlanetQt/ qmake ossimPlanetQt.pro make sudo make install sudo ldconfig }}} To buid ossom_plugin, change the gdal setting in the file /home/sasha/GIS/ossim/ossim_plugins/make.opt.in /home/sasha/GIS/ossim/ossim_plugins/make.opt To point where you have gdal's files (hhere i used gdal from the repository) {{{ GDAL_HOME =/usr/ ifeq ($(origin GDAL_HOME), undefined) GDAL_INCLUDES =/usr/include/gdal/ GDAL_LIBS =/usr/lib -lgdal else GDAL_INCLUDES = -I$(GDAL_HOME)/include/gdal/ GDAL_LIBS = -L$(GDAL_HOME)/lib -lgdal endif }}} {{{ cd /home/sasha/GIS/ossim/ossim_plugins/ make }}} Create a "data" directory readed from ossim at its sturtup and copy iside it the "ossim support data": {{{ mkdir /home/sasha/.ossim cp -r /home/sasha/GIS/ossim/ossim_package_support/fonts /home/sasha/.ossim/fonts cp -r /home/sasha/GIS/ossim/ossim_package_support/geoids /home/sasha/.ossim/geoids cp -r /home/sasha/GIS/ossim/ossim_package_support/images /home/sasha/.ossim/images }}}