[GRASS5] 5.1 build problems on Solaris 8 Sparc

cheg01 at attbi.com cheg01 at attbi.com
Tue Mar 4 03:51:49 EST 2003


I built 5.1 on Solaris 8 Sparc (without nviz due to the missing "pg.h")
with the following changes:

Changed "@test -e" to "@test -x" everywhere it appeared in the source code:
/lib/init/init.sh
/include/Make/Module.make
/general/manage/cmd/Makefile
/db/base/Makefile

Removed $(PQLIB) from "VECTLIB = " in /include/Make/Grass.make


Added direct path to postgres library (/usr/local/pgsql/lib/libpq.a) in
LIBES section of Makefiles:
in /db:
/drivers/postgres
 in /display:
d.erase,d.path,d.path,d.vect,d.what.rast,d.what.vect,d.what.vect,d.zoom
in /general:
g.region/cmd,manage/cmd
in /vector:
v.ascii,v.build,v.build.polylines,v.category,v.clean,v.clean/test,v.convert
,v.db.connect,v.digit,v.extract,v.info,v.in.sites,v.net.alloc,v.net.iso,v.n
et.salesman,v.net.steiner, v.patch, v.transform, v.to.rast, v.surf.rst


Added -lresolv to Makefiles:
in /db:
/drivers/postgres
in /display:
d.erase,d.mon/pgms,d.path,d.vect,d.what.rast,d.what.vect,d.zoom
in /general:
g.region/cmd,manage/cmd
in /vector:
v.ascii,v.build,v.build.polylines,v.category,v.clean,v.clean/test,v.convert
,v.db.connect,v.digit,v.extract,v.info,v.in.sites,v.net.alloc,v.net.iso,v.n
et.salesman,v.net.steiner, v.patch, v.transform, v.to.rast, v.surf.rst


Added $(XEXTRALIBS) (== "-lsocket -lnsl") to LIBES in Makefile:
in /display:
d.path,d.rast,d.vect,d.what.rast,d.zoom
in /general:
g.region,manage/cmd
in /vector:
v.ascii,v.build,v.build.polylines,v.category,v.clean,v.clean/test,v.convert
,v.db.connect,v.digit,v.extract,v.info,v.in.sites,v.net.alloc,v.net.iso,v.n
et.salesman,v.net.steiner, v.patch, v.transform, v.to.rast, v.surf.rst







More information about the grass-dev mailing list