[GRASS5] Compiling grass51: missing 'pos.h'

Radim Blazek blazek at itc.it
Wed Jul 17 08:01:18 EDT 2002


On Tuesday 16 July 2002 07:19 pm, Aleksey Naumov wrote:
> Dear all,
>
> While compiling grass 5.1 I get an error due to dependence on 'pos.h'. I
> use grass 5.0 HEAD branch from CVS and do in "grass51":
>
> $ CFLAGS="-g -Wall" ./configure --with-grass50=/home/Geo/GRASS/grass
> $ make mix
> $ make
>
> I get this error:
>
> make[2]: Leaving directory `/home/Geo/GRASS/grass51/lib/proj'
> raster
> make[2]: Entering directory `/home/Geo/GRASS/grass51/lib/raster'
> make[2]: *** No rule to make target `pos.h', needed by
> `OBJ.i686-pc-linux-gnu/Box.o'.  Stop.
> make[2]: Leaving directory `/home/Geo/GRASS/grass51/lib/raster'
>
>
> Indeed 'pos.h' does not exist in home/Geo/GRASS/grass/src/libes/raster
> (where the link points to). Moreover, from the Makefile I can't see why
> Box.o needs pos.h ...
>
> Any ideas?
>
> Thanks,
> Aleksey

pos.h was removed from grass50. You had most probably run 'make mix'
before pos.h was removed. Try:
make mixclean
make mix

Radim



More information about the grass-dev mailing list