[GRASS5] d.path and building 5.1
blazek at itc.it
Mon Mar 24 04:42:21 EST 2003
On Wednesday 19 March 2003 02:06 pm, Buchan Milne wrote:
> Firstly, is there any documentation available on d.path? I would like to
> make use of it ...
Short description is in grass51/display/d.path/description.html
but I think that you don't need it. Just click on start/end node.
> Secondly, to use d.path, I am trying to build grass51 from source (have
> the binary builds but some relocation errors on certain tools), and seem
> to be running into some problems that no-one else is having.
> I got
> I untarred them side-by-side, and ran:
> $ ./configure --with-dbm-includes=/usr/include/gdbm/
> - --with-postgres-includes='/usr/include/pgsql
> /usr/include/pgsql/internal' --with-nls --with-blas --with-lapack
> - --with-freetype --with-freetype-includes=/usr/include/freetype2/
> - --with-motif --with-motif-includes=/usr/X11R6/include --with-dbm
> --with-glw --with-gdal
> - --with-grass50=/home/bgmilne/rpm/BUILD/grass50_exp_2003_03_15/
> $ make mix
> $ make
> And then after about 2 minutes of compiling, I get this error:
> make: Entering directory
> gcc -g -O2 -Wall
> - -I/home/bgmilne/rpm/BUILD/grass51_exp_2003_03_15/include
> -o OBJ.i686-pc-linux-gnu/adj_cellhd.o -c adj_cellhd.c
> adj_cellhd.c: In function `G_adjust_Cell_head':
> adj_cellhd.c:44: `PACKAGE' undeclared (first use in this function)
> adj_cellhd.c:44: (Each undeclared identifier is reported only once
> adj_cellhd.c:44: for each function it appears in.)
> If I touch the target file, I get similar errors on many more sources.
> Am I doing something wrong, or should I update to cvs?
> (I also ran configure - with similar arguments - and make in the grass50
> directory after the first failure, and tried again, but that did not help).
Try to configure without --with-nls
More information about the grass-dev