Changes between Version 2 and Version 3 of Ubuntu-8.10Build


Ignore:
Timestamp:
12/30/08 05:45:15 (16 years ago)
Author:
epifanio
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ubuntu-8.10Build

    v2 v3  
    2626apt-get install libqt4-core libqt4-dev libqt4-gui libqt4-qt3support lsb-qt4 qt4-dev-tools qt4-doc qt4-qtconfig \
    2727uim-qt gdal-bin libgdal1-dev libgeos-dev proj libgdal-doc libtiff4-dev subversion make g++ g++-4.1 gcc libgeotiff1.2 \
    28 libgeotiff-dev libgeotiff-epsg cmake
    29  
     28libgeotiff-dev libgeotiff-epsg cmake ffmpeg libavcodec51 libavcodec-dev libavdevice52 libavdevice-dev libavformat52 libavformat-dev \
     29libavutil49 libavutil-dev libswscale0 libswscale-dev
     30 
    3031}}}
    3132
     
    4445}}}
    4546
    46 Download and install ffmpeg (maybe the repository version of ffmpeg can be used too ... i'll check it) :
    4747
    48 {{{
    49 cd /home/sasha/GIS
    50 mkdir DEP
    51 cd DEP
    52 svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
    53 cd ffmpeg
    54 ./configure --disable-vhook --disable-mmx --disable-static --enable-shared
    55 make
    56 cd libswscale
    57 make
    58 sudo make install
    59 cd ..
    60 sudo make install
    61 
    62 # Create simbolink link to put the include files all in a standard place (/usr/iclude/ffmpeg)
    63 
    64 mkdir '/usr/include/ffmpeg'
    65 sudo ln -s '/usr/local/include/libavcodec/avcodec.h' '/usr/local/include/libavcodec/opt.h' '/usr/include/ffmpeg'
    66 
    67 sudo ln -s '/usr/local/include/libavdevice/avdevice.h' '/usr/include/ffmpeg'
    68 
    69 sudo ln -s '/usr/local/include/libavformat/avformat.h' '/usr/local/include/libavformat/avio.h'
    70 '/usr/local/include/libavformat/rtsp.h' '/usr/local/include/libavformat/rtspcodes.h' '/usr/include/ffmpeg'
    71 
    72 sudo ln -s '/usr/local/include/libavutil/adler32.h' '/usr/local/include/libavutil/avstring.h'
    73 '/usr/local/include/libavutil/avutil.h' '/usr/local/include/libavutil/base64.h' '/usr/local/include/libavutil/common.h'
    74 '/usr/local/include/libavutil/crc.h' '/usr/local/include/libavutil/fifo.h' '/usr/local/include/libavutil/intfloat_readwrite.h'
    75 '/usr/local/include/libavutil/log.h' '/usr/local/include/libavutil/lzo.h' '/usr/local/include/libavutil/mathematics.h'
    76 '/usr/local/include/libavutil/md5.h' '/usr/local/include/libavutil/mem.h' '/usr/local/include/libavutil/random.h'
    77 '/usr/local/include/libavutil/rational.h' '/usr/local/include/libavutil/sha1.h' '/usr/include/ffmpeg'
    78 
    79 sudo ln -s '/usr/local/include/libswscale/swscale.h' '/usr/include/ffmpeg'
    80 }}}
    81  
    8248Download ossim from svn and compile it:
    8349
     
    156122
    157123{{{
    158 patch -Np0 < /path/to/ossim_planet.patch
     124cd /home/sasha/GIS/ossim/ossimPlanet
     125patch -Np0 < /path/to/ossimPlanet.patch
    159126OSSIMPREDATOR_LIB_DIR=/usr/local/lib make
    160127sudo OSSIMPREDATOR_LIB_DIR=/usr/local/lib make install
     
    178145ifeq ($(origin GDAL_HOME), undefined)
    179146    GDAL_INCLUDES =/usr/include/gdal/
    180     GDAL_LIBS =/usr/lib -lgdal
     147    GDAL_LIBS =/usr/lib
    181148else
    182149    GDAL_INCLUDES = -I$(GDAL_HOME)/include/gdal/
    183     GDAL_LIBS = -L$(GDAL_HOME)/lib -lgdal
     150    GDAL_LIBS = -L$(GDAL_HOME)/lib
    184151endif
    185152}}}