From owner-freebsd-questions Wed May 23 20:44:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bbaer.muenster.de (bbaer.muenster.de [195.202.32.20]) by hub.freebsd.org (Postfix) with ESMTP id 0148637B424 for ; Wed, 23 May 2001 20:44:20 -0700 (PDT) (envelope-from bofh@muenster.de) Received: (from bofh@localhost) by bbaer.muenster.de (8.9.3/8.9.3) id FAA11044; Thu, 24 May 2001 05:41:49 +0200 From: Eckart Hofmann Message-Id: <200105240341.FAA11044@bbaer.muenster.de> Subject: Re: Tcl/Tk: Run in csh, but not in bash In-Reply-To: <20010523185542.79730.qmail@web9401.mail.yahoo.com> from Eric Boucher at "May 23, 2001 11:55:42 am" To: Eric Boucher Date: Thu, 24 May 2001 05:41:49 +0200 (MEST) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL66 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sie, Eric Boucher, haben geschrieben: > > I have a big problem with Tcl/Tk. It run perfectly > when I'm using the C shell (csh), but it don't want to > start when I'm using the bash shell. For example, if I > try to see the widget in the demo directory, it only > run in csh, while in bash I have the error: > > can't read "tcl_platform(platform)": no such variable > while executing "if {$tcl_platform(platform) == > "macintosh"} ............... (file "widget" line 32) > > Can somebody help me? > I'm not very familiar with Tcl/Tk, but it seems you got a problem because your environment in csh and bash differs. Try "set" and "env" to find out, what's different. Hth, Eckart To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message