create_fifos.sh, monitors, NVIZ woes...

Eric G . Miller egm2 at jps.net
Sat Nov 6 19:11:26 EST 1999


Downloaded grass5.0beta4 compiled for linux...

There seems to be some discrepencies between what the instructions say
for the directory tree name (/usr/local/grass5  - README at Baylor ftp
site) and what some programs expect (/usr/local/grass5.0b). 

For instance, create_fifos.sh has these lines:
# create_fifos.sh.in

DEV=/usr/local/grass-5.0b/dev

For portability I suggest:
DEV=`pwd`

When I changed this line, and remade the fifos because I couldn't start
monitors and thought that might be the problem, I discovered that
somewhere the monitors also expected to live under
/usr/local/grass-5.0b. I haven't tracked down where this expectation is
coming from, but I suspect it's hard coded into the files. So, I renamed
the directories and the monitors now work.

Now, if I could get NVIZ to work...It dies at some point when talking to
tk.tcl.  Here's the relevant part of strace, if it'll help.

open("/usr/lib/tk8.0/tk.tcl", O_RDONLY) = 5
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
ioctl(5, TCGETS, 0xbfffda84)            = -1 ENOTTY (Inappropriate ioctl
for dev
ice)
read(5, "# tk.tcl --\n#\n# Initialization s"..., 4096) = 4096
read(5, "vent add <<Clear>> <Clear>\n    }"..., 4096) = 1601
close(5)                                = 0
brk(0x8110000)                          = 0x8110000
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

The problem seems to be that ioctl(5,TCGETS,...). Perhaps a system bug?
-- 
+----------------------------------------------------+
| Eric G. Miller                        egm2 at jps.net |
| GnuPG public key: http://www.jps.net/egm2/gpg.asc  |
+----------------------------------------------------+



More information about the grass-user mailing list