[GRASS-dev] Build errors for GRASS 7.1 on Ubuntu?

Markus Neteler neteler at osgeo.org
Thu Jan 29 00:40:03 PST 2015


On Jan 29, 2015 9:30 AM, "Blumentrath, Stefan" <Stefan.Blumentrath at nina.no>
wrote:
>
> Dear all,
>
>
>
> I was just about to test Sörens new t.rast.what module but it seems that
I have to update my installation of GRASS 7 (trunk) first.
>
>
>
> Unfortunately, I get a lot of build errors with r64351 on Ubuntu 14.04…
>
>
>
> This is how I configure:
>
> CFLAGS="-O2 -msse -msse2 -mfpmath=sse -minline-all-stringops -g -Wall"
LDFLAGS="-s" ./configure --with-cxx --with-sqlite --with-postgres
--with-postgres-includes=/usr/include/postgresql --with-odbc --with-cairo
--with-proj-share=/usr/local/share/proj
--with-tcltk-includes=/usr/include/tcl8.4/ --with-freetype
--with-freetype-includes=/usr/include/freetype2 --with-fftw --with-nls
--with-python --with-tiff --with-geos --enable-largefile --with-readline
--with-blas --with-glw --with-motif --with-openmp --with-wxwidgets
--with-pthread --with-liblas --with-netcdf --with-lapack
>
>
>
> ./configure runs without issues, but on make I get errors in more than
40/50 modules (gui, raster, vector, temporal, db).

The first error in the list is relevant. The rest may depend on it.

> One of the error messages is a syntax error in a header file:
>
> /usr/include/GL/gl.h:90: Syntax error at '\n'

That's normal. Please check for the first listed lib or module in the error
file, cd into it and run make to see the error.

Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150129/1cb6e130/attachment.html>


More information about the grass-dev mailing list