need help making/installing scotty-2.1.1 on sun4

Brenda J. Butler (bjb@mocha.bunyip.com)
Thu, 8 Aug 1996 14:17:16 -0400 (EDT)

I'm having a problem getting scotty-2.1.1 to work. Perhaps some kind
soul can help me.

I'm a newbie to SNMP, as well as scotty and tkined. I am trying to
build and install (in a non-standard place) scotty-2.1.1 on a Sun.
uname -a returns:

SunOS buzz.Bunyip.Com 4.1.4 2 sun4m

scotty built without incident - I specified

--prefix=/work/ops/bjb/local/install/sun4
and --with-tcl-config=/usr/local/pkgs/tcl7.5/lib
and --with-tk-config=/usr/local/pkgs/tk4.1/lib

(I am building in directory /work/ops/bjb/snmp/scotty/scotty-2.1.1/unix)

When I try to install, I get the following:

36 [bjb@buzz.Bunyip.Com] $ make install
Installing scotty2.1.1 and tnm2.1.1.so
Installing ./../tnm/library/README
Installing ./../tnm/library/dialog.tcl
Installing ./../tnm/library/output.tcl
Installing ./../tnm/library/snmp.tcl
Installing ./../tnm/library/ifload.tcl
Installing ./../tnm/library/obsolete.tcl
Installing ./../tnm/library/init.tcl
sh: 18974 Memory fault - core dumped
*** Error code 139
make: Fatal error: Command failed for target `tnm-install-library'
37 [bjb@buzz.Bunyip.Com] $

The Makefile line that seems to fail is ( from target tnm-install-library):

echo 'cd $(TNM_INSTALL_DIR)/library; auto_mkindex . *.tcl' | \
./scotty

Examining the core file (which seems to be from running scotty) gives:

38 [bjb@buzz.Bunyip.Com] $ file core
core: core file from 'scotty'
39 [bjb@buzz.Bunyip.Com] $ gdb scotty core
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.10 (sparc-sun-sunos4.1.3),
Copyright 1993 Free Software Foundation, Inc...
Core was generated by `scotty'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libdl.so.1.0...done.
Reading symbols from /usr/lib/libc.so.1.9.2...done.
#0 0x2440 in main (argc=1, argv=0xeffff6ac) at ./../unix/scotty..c:140
140 interp = Tcl_CreateInterp();
(gdb) where
#0 0x2440 in main (argc=1, argv=0xeffff6ac) at ./../unix/scotty.c:140
(gdb) list 138,142
138
139 Tcl_FindExecutable(argv[0]);
140 interp = Tcl_CreateInterp();
141 #ifdef TCL_MEM_DEBUG
142 Tcl_InitMemory(interp);
(gdb) print interp
$1 = (Tcl_Interp *) 0x0
(gdb) print argv[0]
$2 = 0xeffff764 "./scotty"
(gdb)

Please point me towards fixing this problem, so I can use scotty.
Thanks.

cheerio,
bjb Brenda Butler bjb@bunyip.com 875-8611 X240