[GRASS-user] can't compile swig python on grass 7: shared no found

Glynn Clements glynn at gclements.plus.com
Sun Jun 21 18:56:31 EDT 2009

G. Allegri wrote:

> > Python modules are linked using $(CXX); I'm guessing this is empty,
> > probably due to --with-cxx not being used.
> Ok, I've added --with-cxx.
> Now I get the following:
> In file included from proj_wrap.c:2694:
> /home/giova/grass/grass_trunk/dist.i686-pc-linux-gnu/include/grass/gprojects.h:23:29:
> error: ogr_srs_api.h: Nessun file o directory

Are you using the most recent version of the GRASS source code? I
believe this has been fixed within the last couple of days.

Also, you should use e.g.

	LC_ALL=C make

if you intend to post error messages to the list.

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-user mailing list