Hi,
I recently downgraded from ubuntu 11.10 (on a macbookpro 8.1) to 12.04 LTS (on a samsung 900X3E) - kernel version: 3.5.0-36-generic
On 11.10 I had grass7 running smoothly. On 12.04, after a frustrating night, I’m still not able to have it running.
I followed instructions on http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GRASS_GIS, with minor alternations…
(yes, I do need 7 rather than 6.4…)
sudo apt-get install
build-essential
flex make 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 libpnglite-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-decommand not foundv-tools qt4-doc qt4-qtconfig
libapt-pkg-perl resolvconf
libjasper-dev
ruby
subversion
ffmpeg ffmpeg2theora
libffmpegthumbnailer-dev
libavcodec-dev
libxmu-dev
libavformat-dev libswscale-dev
checkinstall
libglu1-mesa-dev libxmu-dev
sudo apt-get install libmysqlclient-dev
sudo apt-get install netcdf-bin libnetcdf-dev
sudo apt-get install libproj-dev
sudo apt-get install libgeos-dev
sudo apt-get install libgdal-dev
cd fftw-2.1.5/
CFLAGS=“-fPIC” ./configurcommand not founde
make
make install
svn checkout https://svn.osgeo.org/grass/grass/trunk grass7_trunk
------output —>> Checked out revision 57205.
sudo ./configure
–enable-64bit
–with-libs=/lib64
–enable-largefile=yes
–with-nls
–with-cxx
–with-proj-share=/usr/share/proj
–with-geos=/usr/bin/geos-config
–with-python=yes
–with-wxwidgets
–with-cairo
–with-opengl-libs=/usr/include/GL
–with-motif
–with-ffmpeg=yes --with-ffmpeg-includes=“/usr/include/libavcodec /usr/include/libavformat /usr/include/libswscale /usr/include/libavutil”
–with-freetype=yes --with-freetype-includes=“/usr/include/freetype2/”
–with-postgres=yes
–with-postgresql=yes --with-postgres-includes=“/usr/include/postgresql”
–with-sqlite=yes
–with-mysql=yes --with-mysql-includes=“/usr/include/mysql”
–with-odbc=yes
------------changed /usr/lib64 to /lib64 → directory /usr/lib64 doens’t exist
if run without sudo, returns:
./configure: 621: ./configure: cannot create ./config.log: Permission denied
make -j2 && sudo checkinstall && sudo ldconfig
----------------------------------Output:
GRASS GIS 7.0.svn 57205 compilation log
Started compilation: Thu Jul 18 13:48:21 WEST 2013
Errors in:
/usr/local/src/grass7_trunk/scripts/v.krige
In case of errors please change into the directory with error and run ‘make’.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
Finished compilation: Thu Jul 18 13:53:46 WEST 2013
make: *** [default] Error 1
When I type grass70, it returns: “command not found”.
Am I missing something really simple? IF so, sorry, but could someone help?
Thanks a lot.
António