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

Blumentrath, Stefan Stefan.Blumentrath at nina.no
Thu Jan 29 02:13:23 PST 2015


Hi,
and thanks for looking at this.

The first error which occurs is here (line 3080):
Status: Parsing /tmp/tmp0RJahD.h
Status: Processing description list.
Warning: Could not load library "grass_vedit.7.1.svn". Okay, I'll try to load it at runtime instead.
Status: Writing to OBJ.x86_64-unknown-linux-gnu/vedit.py.
Status: Wrapping complete.
sed -f fix.sed OBJ.x86_64-unknown-linux-gnu/vedit.py > /data/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/vedit.py
python -t -3 -m py_compile /data/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/vedit.py
Status: Preprocessing /tmp/tmpmQgkHh.h
Status: gcc -E       -I/data/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -I/data/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -D__GLIBC_HAVE_LONG_LONG -U __GNUC__ -dD "-Dinline=" "-D__inline__=" "-D__extension__=" "-D_Bool=uint8_t" "-D__const=const" "-D__asm__(x)=" "-D__asm(x)=" "-DCTYPESGEN=1" /tmp/tmpmQgkHh.h
Status: Parsing /tmp/tmpmQgkHh.h
Error: /usr/include/GL/gl.h:90: Syntax error at '\n'
Error: /usr/include/GL/gl.h:93: Syntax error at '\n'
Status: Processing description list.
Warning: Could not load library "grass_ogsf.7.1.svn". Okay, I'll try to load it at runtime instead.

Does that help to identify the issue?

Cheers
Stefan

From: neteler.osgeo at gmail.com [mailto:neteler.osgeo at gmail.com] On Behalf Of Markus Neteler
Sent: 29. januar 2015 09:40
To: Blumentrath, Stefan
Cc: GRASS developers list
Subject: Re: [GRASS-dev] Build errors for GRASS 7.1 on Ubuntu?


On Jan 29, 2015 9:30 AM, "Blumentrath, Stefan" <Stefan.Blumentrath at nina.no<mailto: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/dc25d26b/attachment-0001.html>


More information about the grass-dev mailing list