Question from a newbie.
I get a error when I attempt to open a text shell (using $ grass5 =
text) or attempt to do something like set a mask. The error reads....
sh: line 1: clear: command not found
Error opening terminal: xterm.
Any ideas as to what is going wrong?? I cant find anything on the
listserve.
I am running grass5.0.0. installed from a mandrake RPM under Mandrake 9.
Thanks
--
--------------------------------------------
Michael O'Donovan
3 Rocco de Villiers street,
Montgomery Park,
Johannesburg,
South Africa
2195
tel. (+27) 0117837384
cell. (+27) 0829251744
--------------------------------------------------
Michael O'Donovan wrote:
I get a error when I attempt to open a text shell (using $ grass5 =
text) or attempt to do something like set a mask. The error reads....
sh: line 1: clear: command not found
This should be harmless.
Error opening terminal: xterm.
This message is generated by the curses library. It normally means
that you don't have a complete terminfo/termcap database, but there
could be other reasons.
Any ideas as to what is going wrong?? I cant find anything on the
listserve.
I am running grass5.0.0. installed from a mandrake RPM under Mandrake 9.
It may be related to the GRASS binaries being incorrectly linked
against libtermlib or libtermcap. This is a known problem with 5.0.0
and 5.0.1, which will be fixed in 5.0.2.
It may be possible to fix the problem by making an appropriate symlink
in the GRASS library directory (e.g. /usr/local/grass5/lib) which
points to libncurses instead.
E.g. if the output of "ldd /usr/local/grass5/etc/set_data" contains:
libncurses.so.4 => /usr/lib/libncurses.so.4 (0x4001c000)
libtermcap.so.2 => /lib/libtermcap.so.2 (0x4005f000)
then making a symlink:
ln -s /usr/lib/libncurses.so.4 /usr/local/grass5/lib/libtermcap.so.2
will make the GRASS programs use libncurses instead of libtermcap.
--
Glynn Clements <glynn.clements@virgin.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Michael O'Donovan wrote:
Question from a newbie.
I get a error when I attempt to open a text shell (using $ grass5 =
text) or attempt to do something like set a mask. The error reads....
sh: line 1: clear: command not found
Error opening terminal: xterm.
Any ideas as to what is going wrong?? I cant find anything on the
listserve.
I am running grass5.0.0. installed from a mandrake RPM under Mandrake 9.
The grass rpm in Mandrake 9.0 contrib was missing a require on xterm
(fixed in the current contrib rpm which will be in 9.1 contrib). Do you
have xterm installed?
Regards,
Buchan
(maintainer of grass in Mandrake contrib)
- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne Mechanical Engineer, Network Manager
Cellphone * Work +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+b2G6rJK6UGDSBKcRAleQAJ4vQ90mS9bv9oHchqI2WpUsyvmoAACfX3Jd
aWtnrBhmrI6+bDZputPMtbw=
=b1fT
-----END PGP SIGNATURE-----