[GRASS5] d.path and building 5.1

Buchan Milne bgmilne at cae.co.za
Wed Mar 19 08:06:39 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Firstly, is there any documentation available on d.path? I would like to
make use of it ...


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
http://grass.itc.it/grass51/source/snapshot/grass51src_cvs_snapshot_exp_2003_03_15.tar.gz
and
http://grass.itc.it/grass5/source/snapshot_experimental/grass50src_cvs_snapshot_exp_2003_03_15.tar.gz

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[2]: Entering directory
`/home/bgmilne/rpm/BUILD/grass51_exp_2003_03_15/lib/gis'
gcc -g -O2  -Wall
- -I/home/bgmilne/rpm/BUILD/grass51_exp_2003_03_15/include
-
-I/home/bgmilne/rpm/BUILD/grass51_exp_2003_03_15/dist.i686-pc-linux-gnu/include
     -I/home/bgmilne/rpm/BUILD/grass51_exp_2003_03_15/include
-
-I/home/bgmilne/rpm/BUILD/grass51_exp_2003_03_15/dist.i686-pc-linux-gnu/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).

Regards,
Buchan

- --
|--------------------------------------------------------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+eGtfrJK6UGDSBKcRAo8YAJ9zHYGlDzF4KVOaeYQDaLFxkwHdvwCbBkUT
JCN79j9SNkmFcHckTLCy/yo=
=Rfpl
-----END PGP SIGNATURE-----




More information about the grass-dev mailing list