Compiling Errors

Bill Hughes bhughes at grasshoppernet.com
Thu Mar 18 19:35:52 EST 1999


On Thu, 18 Mar 1999 at 15:23:18 +0100 (MET) Agustin Lobo wrote:
> 1. Do we need the Motif include files? I'm not able to
> find the directory.

No.

> 2. X library: we have:

/usr/X11R6/lib

> 3. We get warnings with the math lib:
> I answered "n" as these were just Warnings, correct?

"n" is fine.  The math library checker needs to #include <math.h>
but it doesn't.  It also doesn't use pow() correctly, so maybe
it's best that it doesn't know any better.

> 4. TERMLIB:
> 5. Same thing for curses:
> CURSES [-lcurses] :

You probably have libncurses, instead.  Try '-lncurses'

> 6. Should we use gcc or cc?

There is probably no difference between them.

> 7. How was the command to run GISGEN and get the output bith to the
> terminal and to a file? (We are using bash,  by the way, is it
> better than csh?).

./GISGEN.alpha | tee 2>&1  > errorfile

(./GISGEN.alpha > errorfile 2>&1 &); tail -f errorfile

No opinions on bash/csh.

Bill Hughes



More information about the grass-user mailing list