[GRASS-user] problem in grass70 compilation

Glynn Clements glynn at gclements.plus.com
Sat Jan 31 19:42:37 EST 2009


orkun wrote:

> here are the errors in grass70 compilation
> 
> Errors in:
> /usr/local/grass-7.0.svn_src_snapshot_2009_01_24/general/g.cairocomp
> /usr/local/grass-7.0.svn_src_snapshot_2009_01_24/imagery/i.atcorr

> cd /usr/local/grass-7.0.svn_src_snapshot_2009_01_24/general/g.cairocomp
> 
> orkun at orkun-desktop:/usr/local/grass-7.0.svn_src_snapshot_2009_01_24/general/g.cairocomp$ make 

> /usr/local/grass-7.0.svn_src_snapshot_2009_01_24/general/g.cairocomp/main.c:118: undefined reference to `cairo_xlib_surface_get_xrender_format'

This is a known issue. It isn't particularly important, as nothing
uses g.cairocomp yet.

> orkun at orkun-desktop:cd /usr/local/grass-7.0.svn_src_snapshot_2009_01_24/imagery/i.atcorr$ make
> I/usr/local/grass-7.0.svn_src_snapshot_2009_01_24/dist.i686-pc-linux-gnu/include     -DPACKAGE=\""grassmods"\"   -I/usr/local/grass-7.0.svn_src_snapshot_2009_01_24/dist.i686-pc-linux-gnu/include -o OBJ.i686-pc-linux-gnu/6s.o -c 6s.cpp
> /bin/sh: I/usr/local/grass-7.0.svn_src_snapshot_2009_01_24/dist.i686-pc-linux-gnu/include: not found

Right. You need to use --with-cxx to get i.atcorr. 

I'll commit a fix to i.atcorr/Makefile to skip compilation if $(CXX)
isn't defined.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list