[Fwd: Re: [tkined] Make install problems with scotty2.1.7]

Rob M. Manning (rmanning@c3i.saic.com)
Thu, 26 Feb 1998 08:54:17 -0500

This is a multi-part message in MIME format.

--------------32E6B7B3BD8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Arso,
Thank you for the response. I was beginning to think my problem
was isolated to our site's configuration. I checked the 1997 and 1998
archives, and the closest thing I could find to a real fix for this
was Doug Hughes suggestion to replace the "./scotty" with
$(prefix)/bin/tclsh. This got me a little further into the install:

Making directory /opt/solaris/lib/tkined1.4.8/apps
Installing ./../tkined/apps/manager.tcl
Installing ./../tkined/apps/event.tcl
Installing ./../tkined/apps/movie.tcl
Installing ./../tkined/apps/bones.tcl
Installing ./../tkined/apps/ip_trouble.tcl
Installing ./../tkined/apps/ip_monitor.tcl
Installing ./../tkined/apps/ip_layout.tcl
Installing ./../tkined/apps/ip_discover.tcl
Installing ./../tkined/apps/ip_world.tcl
Installing ./../tkined/apps/snmp_trouble.tcl
Installing ./../tkined/apps/snmp_monitor.tcl
Installing ./../tkined/apps/snmp_browser.tcl
Installing ./../tkined/apps/snmp_host.tcl
Installing ./../tkined/apps/snmp_cisco.tcl
Installing ./../tkined/apps/snmp_hp.tcl
Installing ./../tkined/apps/cmip_trouble.tcl
Installing ./../tkined/apps/clock.tcl
Installing ./../tkined/apps/game.tcl
Installing ./../tnm/examples/mibtree
Installing ./../tkined/apps/library.tcl
Installing ./../tkined/apps/README
Installing ./../tkined/apps/world-map.xbm
Installing ./../tkined/apps/usa-map.xbm
Installing ./../tkined/apps/germany-map.xbm
Installing ./../tkined/apps/locations

To use the Tnm extension, you have to set the TCLLIBPATH
environment variable or you have to edit the init.tcl file
which is part of your Tcl installation. See the README file
for further instructions how to do this.

The Tnm extension includes two programs (ntping, straps)
which require root permissions. Please get root permissions
and type >> make sinstall << to install them setuid root.

However, I still cannot execute scotty as I get the same
message:

{raven:root:73} echo $TCLLIBPATH
/opt/solaris/lib/tnm2.1.8
{raven:root:76} ./scotty
initialization failed: can't find package Tnm 2.1.8
This usually means that you have to define the TCLLIBPATH environment
variable to point to the tnm library directory or you have to include
the path to the tnm library directory in Tcl's auto_path variable.
{raven:root:78} /opt/solaris/bin/scotty2.1.8
initialization failed: can't find package Tnm 2.1.8
This usually means that you have to define the TCLLIBPATH environment
variable to point to the tnm library directory or you have to include
the path to the tnm library directory in Tcl's auto_path variable.

So at this point I suspect I am no further in the installation
process then I was before. Surely someone has installed this
successfully on Solaris2.5 before...

Rob Manning

-- 

Robert M. Manning rmanning@c3i.saic.com Software Engineer OFFICE (410) 571-0403 Science Applications International Corp. FAX (301) 261-8427

--------------32E6B7B3BD8 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline

Received: from mclmx.mail.saic.com by c3i.saic.com (4.1/SMI-4.1) id AA22093; Thu, 26 Feb 98 05:49:45 EST Return-Path: <arso@vitranc.e5.ijs.si> Received: from MX.East.saic.com by mclmx.mail.saic.com; Thu, 26 Feb 98 05:55:09 -0500 Received: from vitranc.e5.ijs.si ([193.138.1.16]) by mx.east.saic.com (PMDF V5.1-10 #27479) with SMTP id <0EOZ00AIOFMTBN@mx.east.saic.com> for rmanning@c3i.saic.com; Thu, 26 Feb 1998 05:55:08 -0500 (EST) Received: (qmail 860 invoked from network); Thu, 26 Feb 1998 10:54:22 +0000 Received: from localhost (HELO vitranc.e5.ijs.si) (arso@127.0.0.1) by localhost with SMTP; Thu, 26 Feb 1998 10:54:22 +0000 Date: Thu, 26 Feb 1998 11:54:21 +0100 From: RHS Linux User <arso@vitranc.e5.ijs.SI> Subject: Re: [tkined] Make install problems with scotty2.1.7 In-Reply-To: "Your message of Wed, 25 Feb 1998 10:36:48 EST." <34F43A90.340A@c3i.saic.com> To: "Rob M. Manning" <rmanning@c3i.saic.com> Message-Id: <0EOZ00AIPFNVBN@mx.east.saic.com> Mime-Version: 1.0 X-Mailer: exmh version 1.6.9 05/05/96 Content-Type: text/plain; charset=us-ascii

Hi!

I've gone through a lot of frustration because of that particular problem. Various versions of scotty that I tried to install broke-up the installation at the same spot with the same error message that you and many more of us mentioned. I've looked at the source briefly and came to the conclusion that scotty (binary) couldn't care less for either of both, TCLLIBPATH variable and init.tcl (i.e. auto_path). That is, if it is looking for something under tnm2.1.x directory. If it's looking for the tnm2.1.x.so then either this package is installed into the wrong directory or the TCLLIBPATH should point elsewhere than suggested in the README file. Bad news is that I tried even these possibilities (and all the rest I could think of, such as ":" as a field separator in TCLLIBPATH, instead of a space), but nothing worked. The installation breaks when the Makefile calles scotty: this binary "can't find package Tnm 2.1.x" so it can't initialize. Going through scotty.c suggests that something breaks in the Tcl_PkgRequire function.

Juergen? Anybody?

Regards,

arso

--------------32E6B7B3BD8--

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.