[GRASS-user] Compile GRASS GIS 7

Thomas Adams tea3rd at gmail.com
Sat Oct 11 15:52:08 PDT 2014


Stephen,

This is what I use on my Ubuntu Linux box:

First get the need libs:

sudo apt-get install \
 build-essential \
 make flex bison gcc libgcc1 g++ cmake ccache \
 python python-dev python-qt4 python-qt4-dev \
 python-opengl \
 python-wxversion python-wxtools python-wxgtk2.8 \
 python-dateutil libgsl0-dev python-numpy \
 wx2.8-headers wx-common libwxgtk2.8-dev libwxgtk2.8-dbg \
 libwxbase2.8-dev  libwxbase2.8-dbg \
 libncurses5-dev \
 zlib1g-dev gettext \
 libtiff4-dev \
 tcl8.5-dev tk8.5-dev \
 libcairo2 libcairo2-dev \
 sqlite3 libsqlite3-dev \
 libpq-dev \
 libreadline6 libreadline6-dev libfreetype6-dev \
 txt2tags \
 libfftw3-3 libfftw3-dev \
 libqt4-core libqt4-dbg libqt4-dev libqt4-gui libqt4-sql libqt4-qt3support \
 lsb-qt4 qt4-designer qt4-dev-tools qt4-doc qt4-qtconfig \
 libapt-pkg-perl resolvconf \
 libjasper-dev \
 ruby \
 subversion \
 libavcodec-dev \
 libxmu-dev \
 libavformat-dev libswscale-dev \
 checkinstall \
 libglu1-mesa-dev libxmu-dev

Configure, followed by make and make install:


./configure  --with-opengl-includes=/usr/include/GL --enable-64bit
--with-cxx --with-readline --with-freetype=yes
--with-freetype-includes=/usr/include/freetype2/ --enable-largefile=yes
--with-opengl-libs=/usr/lib --with-geos=/usr/local/bin/geos-config
--with-tcltk-includes=/usr/local/include --with-tcltk-libs=/usr/local/lib
--with-sqlite --with-sqlite-includes=/usr/local/include
--with-sqlite-libs=/usr/local/lib --with-postgres
--with-postgres-includes=/usr/local/pgsql/include
--with-postgres-libs=/usr/local/pgsql/lib --with-python
--with-wxwidgets=/usr/bin/wx-config --with-proj-includes=/usr/local/include
--with-proj-libs=/usr/local/lib --with-proj-share=/usr/local/share/proj
--with-gdal=/usr/local/bin/gdal-config
--with-proj-includes=/usr/local/include --with-proj-libs=/usr/local/lib
--with-netcdf=/usr/local/bin/nc-config --with-blas-libs=/usr/local/lib
--with-blas-includes=/usr/local/include/liblas
--with-liblas=/usr/local/bin/liblas-config



Tom


On Sat, Oct 11, 2014 at 9:42 AM, stephen sefick <ssefick at gmail.com> wrote:

> Hello All:
>
> I am using the instructions here:
> http://grasswiki.osgeo.org/wiki/Compile_and_Install
>
> To compile GRASS 7 latest source code with svn up for SL Linux 6.5.
>
> I have errors in what seem to be all directories. I will provide the
> transcript of make if necessary.
>
> Thanks for all of the help.
>
> --
> Stephen Sefick
> **************************************************
> Auburn University
> Biological Sciences
> 331 Funchess Hall
> Auburn, Alabama
> 36849
> **************************************************
> sas0025 at auburn.edu
> http://www.auburn.edu/~sas0025
> **************************************************
>
> Let's not spend our time and resources thinking about things that are so
> little or so large that all they really do for us is puff us up and make us
> feel like gods.  We are mammals, and have not exhausted the annoying little
> problems of being mammals.
>
>                                 -K. Mullis
>
> "A big computer, a complex algorithm and a long time does not equal
> science."
>
>                               -Robert Gentleman
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20141011/1a40a377/attachment.html>


More information about the grass-user mailing list