[GRASSLIST:3565] Re: build grass57
Paul Kelly
paul-grass at stjohnspoint.co.uk
Tue Jun 1 13:55:14 EDT 2004
On Tue, 1 Jun 2004, Daniel Isenegger wrote:
> Hi all,
>
> i had installed grass 5.0.3 and now try to install 5.7 on a suse linux 8.2.
> Now i have problems when running the make command:
>
> nad2bin.c:8:22: projects.h: No such file or directory
> ...
nad2bin.c should not be compiled. Can you include more of the make output
up to that line that indicates how nad2bin.c came to be compiled.
lib/proj/Makefile has
LIB_OBJS = get_proj.o do_proj.o convert.o datum.o ellipse.o
and include/Make/Lib.make has
ifndef LIB_OBJS
LIB_OBJS = $(subst .c,.o,$(wildcard *.c))
endif
so if the LIB_OBJS definition somehow got lost it is possible that it
would try to compile nad2bin.c (which is sitting unused in that directory
but may possibly be used again in the future).
But I can't see how that would happen.
You may be able to work around it by deleting nad2bin.c from lib/proj, but
it would be good to try to find out the real cause of the error.
Paul
More information about the grass-user
mailing list