[GRASS5] Re: [GRASSLIST:3564] build grass57
Paul Kelly
paul-grass at stjohnspoint.co.uk
Wed Jun 2 09:27:47 EDT 2004
Hello Daniel
On Wed, 2 Jun 2004, Daniel Isenegger wrote:
> Hi paul
> in the attachment the complete output of the make command.
>
> I renamed the/ /lib/proj/nad2bin.c (instead of removing it), but a new error
> occurs:
>
> make[2]: Entering directory
> `/data/gis/nfp48/nfp48/ipodlas0.1/grass/grass57_exp_2004_05_24/lib/proj'
> for i in FL.lla MD.lla TN.lla WI.lla WO.lla alaska.lla conus.lla hawaii.lla
> prvi.lla stgeorge.lla stlrnc.lla stpaul.lla ; do nad2bin < $i
> /home/gis/disen/links/ipodlas0.1/grass/grass57_exp_2004_05_24/dist.i686-pc-linux-gnu/etc/nad/`echo
> $i | sed 's/.lla//'`; done
> /bin/sh: line 1: nad2bin: command not found
> /bin/sh: line 1: nad2bin: command not found
> /bin/sh: line 1: nad2bin: command not found
> /bin/sh: line 1: nad2bin: command not found
> /bin/sh: line 1: nad2bin: command not found
> /bin/sh: line 1: nad2bin: command not found
> /bin/sh: line 1: nad2bin: command not found
> /bin/sh: line 1: nad2bin: command not found
> /bin/sh: line 1: nad2bin: command not found
> /bin/sh: line 1: nad2bin: command not found
> /bin/sh: line 1: nad2bin: command not found
> /bin/sh: line 1: nad2bin: command not found
nad2bin is installed with PROJ.4. You should make sure it is in your PATH
and then this should work OK.
> make[2]: ***
> [/home/gis/disen/links/ipodlas0.1/grass/grass57_exp_2004_05_24/dist.i686-pc-linux-gnu/etc/nad]
> Error 127make[2]: Leaving directory
> `/data/gis/nfp48/nfp48/ipodlas0.1/grass/grass57_exp_2004_05_24/lib/proj'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory
> `/data/gis/nfp48/nfp48/ipodlas0.1/grass/grass57_exp_2004_05_24/lib'
> make: *** [default] Error 1
>
> Thanks Dani
>
As to the first error, I still don't know why it is trying to compile
nad2bin.c. Are you sure your Makefile is indentical to the one in CVS at
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass51/lib/proj/Makefile
Perhaps try removing $(NAD2BIN) from the end of the line:
$(NAD_DIR): $(NAD_TABLES) $(NT_TABLES) $(NAD2BIN)
Maybe that is causing something to make up a rule to compile nad2bin.c to
generate nad2bin but I really have no idea.
Paul
More information about the grass-dev
mailing list