[GRASS-dev] problem com; piling GRASS from source - r.in.gdal, r.out.gdal

Glynn Clements glynn at gclements.plus.com
Mon Oct 6 21:13:48 EDT 2008


Rainer M Krug wrote:

> I am trying to compile GRASS 6.3 from source, and am struggling with
> the compilation of the modules r.in.gdal and r.out.gdal.

> but the make results in:

> Errors in:

[snip]

> /export/home/rkrug/source/grass-6.3.0/lib/gmath
> /export/home/rkrug/source/grass-6.3.0/lib/vask
> /export/home/rkrug/source/grass-6.3.0/lib/edit
> /export/home/rkrug/source/grass-6.3.0/lib/imagery

[snip]

> I am only worried about r.in.gdal and r.out.gdal.
> 
> Going into the directory and do a 'make' results in:
> 
> rkrug at head001:~/source/grass-6.3.0/raster/r.out.gdal> make
> make: *** No rule to make target
> `/export/home/rkrug/source/grass-6.3.0/dist.x86_64-unknown-linux-gnu/lib/libgrass_I.so',
> needed by `/export/home/rkrug/source/grass-6.3.0/dist.x86_64-unknown-linux-gnu/bin/r.out.gdal'.
>  Stop.
> 
> Any help appreciated,

There's a reason why the text in error.log says:

> If you get multiple errors, you need to deal with them in the order they
> appear in the error log. 

r.{in,out}.gdal are failing because lib/imagery failed. lib/imagery
probably failed because lib/gmath failed. So, as the error.log text
says, you need to run "make" in the lib/gmath directory. If you tell
us why that failed, we may be able to help. It's quite likely that
once lib/gmath compiles, all of the other errors will go away.

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


More information about the grass-dev mailing list