Hi All,
After a server change, we've attempted to install the latest greatest GRASS -
However, we keep getting multiple errors referring to "No such file or directory". I've searched around a little, but haven't found a recent thread on the subject.
We're running solaris 10
attempting with:
configure --with-postgres=no --with-opengl=no --with-fftw=no --with-tcltk=no -with-includes=/usr/local/include/ncurses

error.log list is long and looks like:
-/GRASS/grass-6.3.0/db/drivers/dbf
-/GRASS/grass-6.3.0/db/drivers/ogr
-/GRASS/grass-6.3.0/db/base
-/GRASS/grass-6.3.0/db/db.login
-/GRASS/grass-6.3.0/display/drivers/PNG
-/GRASS/grass-6.3.0/display/drivers/HTMLMAP
-/GRASS/grass-6.3.0/display/drivers/PS
-/GRASS/grass-6.3.0/display/drivers/XDRIVER
-/GRASS/grass-6.3.0/display/d.ask
-/GRASS/grass-6.3.0/display/d.barscale
-/GRASS/grass-6.3.0/display/d.colorlist
-/GRASS/grass-6.3.0/display/d.colors
-/GRASS/grass-6.3.0/display/d.colortable
-/GRASS/grass-6.3.0/display/d.erase
-/GRASS/grass-6.3.0/display/d.extend
-/GRASS/grass-6.3.0/display/d.extract
-/GRASS/grass-6.3.0/display/d.font
-/GRASS/grass-6.3.0/display/d.frame
and on... and on.... and on....

If i cd to first directory mentioned and try make, I get:
make OBJ.sparc-sun-solaris2.10
make[1]: Entering directory `-/GRASS/grass-6.3.0/db/drivers/dbf'
make[1]: `OBJ.sparc-sun-solaris2.10' is up to date.
make[1]: Leaving directory `-/GRASS/grass-6.3.0/db/drivers/dbf'
gcc -I-/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include -I/usr/local/include/ncurses -g -O2  -I/usr/local/include/ncurses     -DPACKAGE=\"\" -I../../../lib/db/dbmi_driver -I-/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include -o OBJ.sparc-sun-solaris2.10/column.o -c column.c
column.c:20:24: grass/dbmi.h: No such file or directory
column.c:21:23: grass/gis.h: No such file or directory
In file included from column.c:22:
globals.h:1:24: grass/sqlp.h: No such file or directory
In file included from column.c:22:
globals.h:63: error: parse error before "SQLPSTMT"
globals.h:63: warning: no semicolon at end of struct or union
globals.h:70: error: parse error before "token"
globals.h:70: warning: data definition has no type or storage class
globals.h:73: error: parse error before '}' token
globals.h:73: warning: data definition has no type or storage class
globals.h:80: error: parse error before '*' token
globals.h:80: warning: data definition has no type or storage class
In file included from column.c:23:
proto.h:8: error: parse error before '*' token
proto.h:8: warning: data definition has no type or storage class
proto.h:9: error: parse error before '*' token
proto.h:17: error: parse error before "cursor"
proto.h:23: error: parse error before "dbTable"
column.c: In function `add_column':
column.c:37: error: `DB_FAILED' undeclared (first use in this function)
column.c:37: error: (Each undeclared identifier is reported only once
column.c:37: error: for each function it appears in.)
column.c:58: error: `DB_OK' undeclared (first use in this function)
column.c: In function `drop_column':
column.c:86: error: `DB_FAILED' undeclared (first use in this function)
column.c:124: error: `DB_OK' undeclared (first use in this function)
make: *** [OBJ.sparc-sun-solaris2.10/column.o] Error 1

I did see in some past threads that header files were moved from grass/include to grass/include/grass/?
I had also tried to copy some header files to the required areas, but it seems that could continue for awhile, and thought there must be something simple we're missing.?

any suggestions are greatly appreciated.
Thanks,
brian
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to