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

Markus Metz markus.metz.giswork at gmail.com
Thu Jan 29 02:33:03 PST 2015


On Thu, Jan 29, 2015 at 11:13 AM, Blumentrath, Stefan
<Stefan.Blumentrath at nina.no> wrote:
> Hi,
>
> and thanks for looking at this.
>
>
>
> The first error which occurs is here (line 3080):

You need to report the first error in the list of directories with
errors, i.e. the first entry after "Errors in:".

Then you need to deal with the errors in the order they appear in this
list: go to the first directory, run make and report.

I suspect you need to make distclean, check svn status, solve
conflicts, configure anew and make again.

Markus M

>
> 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>
> 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
>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev


More information about the grass-dev mailing list