[GRASS-user] Configuring GRASS source code for compilation under
Ubuntu 7.10 -- CFLAGS and LDFLAGS parameters no more necessary (?)
Nikos Alexandris
nikos.alexandris at felis.uni-freiburg.de
Wed Jan 2 04:06:23 EST 2008
I just downloaded GRASS with:
$ sudo svn checkout https://svn.osgeo.org/grass/grass/trunk grass_trunk
I try to compile (under Ubuntu 7.10) as I did in the past with:
$ sudo CFLAGS="-g -Wall" LDFLAGS="-s" ./configure --with-cxx
--with-freetype=yes --with-ffmpeg=yes --with-postgres=no
--with-sqlite=yes --enable-largefile=yes
--with-tcltk-includes=/usr/include/tcl8.4
--with-freetype-includes=/usr/include/freetype2
--with-ffmpeg-includes=/usr/include/ffmpeg
--with-opengl-libs=/usr/include/GL --with-readline
but I get:
"sudo: CFLAGS=-g -Wall: command not found"
and an error as well for "LDFLAGS="-s" (in case I remove CFLAGS)
These "configure-parameters" are in the script makegrass.sh
http://david.p.finlayson.googlepages.com/makegrass.sh
found in
http://grass.gdf-hannover.de/wiki/Compile_and_Install#Ubuntu_6.06.2C_7.10
After removing these parameters the configuration worked fine (with the
exception of errors about missing documentation).
---
If these parameters do not work anymore should I update the script file?
--
Nikos Alexandris
.
Department of Remote Sensing & Landscape Information Systems
Faculty of Forestry & Environmental Sciences, Albert-Ludwigs-University Freiburg
.
Tel. +49 (0) 761 203 3697 / Fax. +49 (0) 761 203 3701 / Skype: Nikos.Alexandris
.
Address: Tennenbacher str. 4, D-79106 Freiburg i. Br., Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20080102/78f4ff4c/attachment.bin
More information about the grass-user
mailing list