Difference between revisions of "GFOSS.it Live DVD Install"
Jump to navigation
Jump to search
m (add categories) |
|||
Line 77: | Line 77: | ||
=== QGIS === | === QGIS === | ||
+ | cd /usr/local/src | ||
svn co https://svn.osgeo.org/qgis/trunk/qgis qgis | svn co https://svn.osgeo.org/qgis/trunk/qgis qgis | ||
cd qgis | cd qgis | ||
Line 84: | Line 85: | ||
=== OpenSceneGraph === | === OpenSceneGraph === | ||
+ | cd /usr/local/src | ||
svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.8.1 OpenSceneGraph | svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.8.1 OpenSceneGraph | ||
cd OpenSceneGraph | cd OpenSceneGraph | ||
Line 92: | Line 94: | ||
=== The rest to come... === | === The rest to come... === | ||
+ | |||
+ | |||
+ | [[Category: Live-Disc]] | ||
+ | [[Category: Software Stack]] |
Revision as of 13:16, 9 June 2009
Steps for configuring and installing. Based on SIDUX Linux platform.
Update Distribution
If this is a new SIDUX install, you likely need to upgrade a bunch of stuff.
- exit desktop GUI, shutdown gdm using command:
- init 3
- sudo apt-get update
- sudo apt-get dist-upgrade
- restart desktop whenever you want:
- init 5 && exit
Add Main Dependencies
This is all one loooong line
su apt-get install subversion build-essential python-dev lesstif2 libfftw3-3 libgeos-3.1.0 libgeos-c1 libhdf4g libhdf5-serial-1.6.6-0 libicu40 libmysqlclient15off libnetcdf4 libogdi3.2 libpq5 libproj-dev libproj0 libwxbase2.8-0 libwxgtk2.8-0 libxerces-c28 libxp6 mysql-common odbcinst1debian1 proj-data tk8.5 unixodbc comerr-dev libaudio2 libcurl4-gnutls-dev libgcrypt11-dev libgeos-dev libgif-dev libgnutls-dev libgpg-error-dev libgssrpc4 libhdf4g-dev libhdf5-serial-dev libidn11-dev libjasper-dev libjpeg62-dev libkadm5srv6 libkdb5-4 libkrb5-dev libldap2-dev libltdl-dev libmysqlclient15-dev libnetcdf-dev libodbcinstq1c2 libpng12-dev libpq-dev libqt3-mt libsqlite3-dev libssl-dev libtasn1-3-dev libtiff4-dev libtiffxx0c2 libxerces-c2-dev pkg-config unixodbc-dev zlib1g-dev libqt4-core libqt4-dev libqt4-gui libqt4-qt3support libqt4-sql lsb-qt4 qt4-designer qt4-dev-tools qt4-doc qt4-qtconfig uim-qt gcc libapt-pkg-perl resolvconf libgsl0-dev g++ ccache make flex bison cmake txt2tags python-qt4 python-qt4-dev python-sip4 sip4 python-sip4-dev postgresql-8.3-postgis osm2pgsql phppgadmin libexpat1-dev libspatialite-dev spatialite-bin tk8.5-dev tcl8.5-dev libreadline5-dev libfreetype6-dev libcairo2-dev ffmpeg libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev libswscale-dev libglu1-mesa-dev libgl1-mesa-dev mesa-common-dev libcoin40c2 libgeotiff-dev geotiff-bin nano cmake-curses-gui libfftw3-dev python-wxgtk2.8 libwxbase2.8-dev libwxgtk2.8-dev python-opengl swig libxmu-dev libavdevice-dev libxmu-dev libavdevice-dev libgnutls-dev libqt4-opengl-dev python-pygame python-serial python-psycopg2 python-simplejson python-qwt5-qt4 python-qwt3d-qt4 python-pysqlite2 python-scipy python-matplotlib python-simpleparse python-qt4-sql r-base-dev python-rpy2 paraview gedit ipython pommed
Here it is split but only for display purposes:
su apt-get install subversion build-essential python-dev lesstif2 libfftw3-3 libgeos-3.1.0 \ libgeos-c1 libhdf4g libhdf5-serial-1.6.6-0 libicu40 libmysqlclient15off libnetcdf4 \ libogdi3.2 libpq5 libproj-dev libproj0 libwxbase2.8-0 libwxgtk2.8-0 libxerces-c28 \ libxp6 mysql-common odbcinst1debian1 proj-data tk8.5 unixodbc comerr-dev libaudio2 \ libcurl4-gnutls-dev libgcrypt11-dev libgeos-dev libgif-dev libgnutls-dev \ libgpg-error-dev libgssrpc4 libhdf4g-dev libhdf5-serial-dev libidn11-dev \ libjasper-dev libjpeg62-dev libkadm5srv6 libkdb5-4 libkrb5-dev libldap2-dev \ libltdl-dev libmysqlclient15-dev libnetcdf-dev libodbcinstq1c2 libpng12-dev \ libpq-dev libqt3-mt libsqlite3-dev libssl-dev libtasn1-3-dev libtiff4-dev \ libtiffxx0c2 libxerces-c2-dev pkg-config unixodbc-dev zlib1g-dev libqt4-core \ libqt4-dev libqt4-gui libqt4-qt3support libqt4-sql lsb-qt4 qt4-designer \ qt4-dev-tools qt4-doc qt4-qtconfig uim-qt gcc libapt-pkg-perl resolvconf libgsl0-dev \ g++ ccache make flex bison cmake txt2tags python-qt4 python-qt4-dev python-sip4 sip4 \ python-sip4-dev postgresql-8.3-postgis osm2pgsql phppgadmin libexpat1-dev libspatialite-dev \ spatialite-bin tk8.5-dev tcl8.5-dev libreadline5-dev libfreetype6-dev libcairo2-dev \ ffmpeg libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev libswscale-dev \ libglu1-mesa-dev libgl1-mesa-dev mesa-common-dev libcoin40c2 libgeotiff-dev geotiff-bin \ nano cmake-curses-gui libfftw3-dev python-wxgtk2.8 libwxbase2.8-dev libwxgtk2.8-dev python-opengl \ swig libxmu-dev libavdevice-dev libxmu-dev libavdevice-dev libgnutls-dev libqt4-opengl-dev \ python-pygame python-serial python-psycopg2 python-simplejson python-qwt5-qt4 python-qwt3d-qt4 \ python-pysqlite2 python-scipy python-matplotlib python-simpleparse python-qt4-sql r-base-dev \ python-rpy2 paraview gedit ipython pommed
ffmpeg install include files in a non standard place so a simbolink link for each include file is needed :
mkdir /usr/include/ffmpeg ln -s /usr/include/libavcodec/avcodec.h /usr/include/libavcodec/opt.h /usr/include/libavcodec/vdpau.h /usr/include/libavcodec/xvmc.h /usr/include/libavdevice/avdevice.h /usr/include/libavfilter/avfilter.h /usr/include/libavformat/avformat.h /usr/include/libavformat/avio.h /usr/include/libavutil/adler32.h /usr/include/libavutil/avstring.h /usr/include/libavutil/avutil.h /usr/include/libavutil/base64.h /usr/include/libavutil/common.h /usr/include/libavutil/crc.h /usr/include/libavutil/fifo.h /usr/include/libavutil/intfloat_readwrite.h /usr/include/libavutil/log.h /usr/include/libavutil/lzo.h /usr/include/libavutil/mathematics.h /usr/include/libavutil/md5.h /usr/include/libavutil/mem.h /usr/include/libavutil/pixfmt.h /usr/include/libavutil/random.h /usr/include/libavutil/rational.h /usr/include/libavutil/sha1.h /usr/include/libswscale/swscale.h /usr/include/ffmpeg/
to have linked the libraries in /usr/local/lib and the files we'll install from source, we need to add configuration files in /etc/ld.so.conf.d/ , so in aterminal :
su touch /etc/ld.so.conf.d/local.conf echo "/usr/local/lib" >> /etc/ld.so.conf.d/local.conf echo "/usr/local/lib64" >> /etc/ld.so.conf.d/local.conf touch /etc/ld.so.conf.d/grass.conf echo "/usr/local/grass-7.0.svn/lib" >> /etc/ld.so.conf.d/grass.conf ldconfig
Checkout GFOSS Apps
Downloading the code from SVN repositories for GRASS, GDAL/OGR, QGIS, OpenSceneGraph (to support OssimPlanet), OSSIM
GDAL/OGR
cd /usr/local/src svn checkout https://svn.osgeo.org/gdal/trunk/gdal gdal cd gdal ./configure --with-python --with-geos=/usr/bin/geos-config --with-libtiff=internal --with-mysql --with-ogdi make su make install
GRASS GIS
cd /usr/local/src svn checkout https://svn.osgeo.org/grass/grass/trunk grass_trunk ./configure --with-tcltk-includes=/usr/include/tcl8.5/ --with-freetype-includes=/usr/include/freetype2/ --with-cxx --enable-64bit --with-geos --with-ffmpeg --with-mysql --with-postgres --with-postgres-includes=/usr/include/postgresql/ --with-mysql-includes=/usr/include/mysql/ --with-ffmpeg-includes=/usr/include/ffmpeg/ --with-odbc --with-python --with-sqlite --with-wxwidgets=/usr/bin/wx-config --with-pthread --with-readline --enable-largefile make su make install
QGIS
cd /usr/local/src svn co https://svn.osgeo.org/qgis/trunk/qgis qgis cd qgis mkdir build cd build ccmake ..
OpenSceneGraph
cd /usr/local/src svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.8.1 OpenSceneGraph cd OpenSceneGraph mkdir build cd build ccmake ..