Thanks Glynn,
I've included the next round of configure below.... still errors..

-b


Glynn Clements wrote:
Brian Clark wrote:

  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    

Ugh; please don't post HTML-only mail to the list.
  
sorry - hopefully this will be plain text...
  
After a server change, we've attempted to install the latest greatest
GRASS -<br>
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.<br>
We're running solaris 10 <br>
attempting with:<br>
configure --with-postgres=no --with-opengl=no --with-fftw=no
--with-tcltk=no -with-includes=/usr/local/include/ncurses<br>
<br>
error.log list is long and looks like:<br>
-/GRASS/grass-6.3.0/db/drivers/dbf<br>
    

Why the "-/GRASS/..."?

What is the actual source directory?

Does it help if you specify the complete path to the configure script?

Essentially, when you run configure, it will print the source and
build directories, like:

: GRASS is now configured for:  i686-pc-linux-gnu
: 
:   Source directory:            /usr/local/src/grass/svn
:   Build directory:             /usr/local/src/grass/svn

Both directories should be the same (out-of-place builds don't work at
present), and should be absolute paths (i.e. begin with "/").

It may help to specify an absolute path to the configure script, and
it may help to specify the --srcdir= argument, e.g.:

	`pwd`/configure --srcdir=`pwd` ...
  
ok - here's a new configure - (with source directory)

GRASS is now configured for:  sparc-sun-solaris2.10

 Source directory:            /wattemp/GRASS/grass-6.3.0
 Build directory:             /wattemp/GRASS/grass-6.3.0
 Installation directory:      ${prefix}/grass-6.3.0
 Startup script in directory: ${exec_prefix}/bin
 C compiler:                  gcc -g -O2
 C++ compiler:                
 Building shared libraries:   yes
 64bit support:               no
 OpenGL platform:             none


  
If i cd to first directory mentioned and try make, I get:<br>
    
and cd to first directory with errors and try make:

make OBJ.sparc-sun-solaris2.10
make[1]: Entering directory `/wattemp/GRASS/grass-6.3.0/db/drivers/dbf'
make[1]: `OBJ.sparc-sun-solaris2.10' is up to date.
make[1]: Leaving directory `/wattemp/GRASS/grass-6.3.0/db/drivers/dbf'
gcc -I/wattemp/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/wattemp/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


also, when i goto /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include
there are two directories - Make (which has nothing in it), and grass, which has
PolimiFunct.h, waterglobs.h, and vect in it.


  
gcc -I-/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/include
    

This -I switch is likely to be the problem. gcc interprets -I- (i.e. a
minus immediately following a -I switch) to mean to remove that
directory from the header search path.

The end result is that gcc cannot find the GRASS header files,
resulting in:

  
column.c:20:24: grass/dbmi.h: No such file or directory<br>
    

and so on.

  

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to