compiling problems: grass5.0beta Linux-suse6 - A little
help maybe
Robert L. Sandefur
RLS at HartCrowser.com
Fri Mar 19 11:23:05 EST 1999
Hi- I got grass 4.21 to work on suse 5.2 so it might help
1) I said no and the tools I use work
2) my setup found x ok so i don't know
3) I got fhis too I think a float is going were a double is wanted but ll to utm works okay in grass
4) try -
5) try - lncurses
If these don't help email me back and I will run 4.21 setup again and email you results. If that doesn't help I will try to install 5.0 (I was going to do this in April anyway)
bob sandefur
..................................................
>>> Agustin Lobo <alobo at ija.csic.es> 03/18/99 07:23AM >>>
Hi there!
We are trying to compile grass5.0beta
on a Linux (Suse 6.0 box).
We alrready have problems at runing the setup:
1. Do we need the Motif include files? I'm not able to
find the directory.
2. X library: we have:
/usr/X11R6/include
/usr/X11R6/include/X11
/usr/X11/include
/usr/X11/include/X11
/usr/include/X11
With all of them we get:
"This is an invalid path. Try again. "
Do we need the X11 libraries for tclTk Grass? In
principle, we do not want Grass.X
3. We get warnings with the math lib:
Specify the math library.
Enter - if there is no math library, otherwise enter -lm.
MATHLIB [-lm] :
Checking -lm. Please watch for any errors
utils/math.c: In function `main':
utils/math.c:3: warning: type mismatch in implicit declaration for
built-in function `fabs'
utils/math.c:4: warning: type mismatch in implicit declaration for
built-in function `sin'
Check complete
Any problems?
I answered "n" as these were just Warnings, correct?
(The alternative is not giving any math library, would this be better?)
4. TERMLIB:
TERMLIB [-l] : -ltermlib
Checking -ltermlib. Please watch for any errors
/usr/i486-linux/bin/ld: cannot open -ltermlib: No such file or directory
collect2: ld returned 1 exit status
Check complete
Any problems?
Here we have problems. Should we just state - ? (i.e., no termlib
library?)
5. Same thing for curses:
Specify the curses library.
CURSES [-lcurses] :
Checking -lcurses. Please watch for any errors
/usr/i486-linux/bin/ld: cannot open -lcurses: No such file or directory
collect2: ld returned 1 exit status
Check complete
Any problems?
If we specify -lgcc:
URSES [-l] : -lgcc
Checking -lgcc. Please watch for any errors
/tmp/ccZ1IINq.o: In function `main':
/tmp/ccZ1IINq.o(.text+0x4): undefined reference to `initscr'
/tmp/ccZ1IINq.o(.text+0x9): undefined reference to `raw'
/tmp/ccZ1IINq.o(.text+0xe): undefined reference to `noecho'
/tmp/ccZ1IINq.o(.text+0x13): undefined reference to `nonl'
/tmp/ccZ1IINq.o(.text+0x18): undefined reference to `cbreak'
/tmp/ccZ1IINq.o(.text+0x1d): undefined reference to `stdscr'
/tmp/ccZ1IINq.o(.text+0x23): undefined reference to `wclear'
/tmp/ccZ1IINq.o(.text+0x2b): undefined reference to `stdscr'
/tmp/ccZ1IINq.o(.text+0x31): undefined reference to `wrefresh'
/tmp/ccZ1IINq.o(.text+0x39): undefined reference to `endwin'
collect2: ld returned 1 exit status
Finally:
6. Should we use gcc or cc?
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?).
Thanks!
****NOTE NEW PHONE NUMBER*****
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es
http://pangea.ija.csic.es/alobo
More information about the grass-user
mailing list