delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/24/03:24:11

X-Spam-Check-By: sourceware.org
Message-ID: <46CE877A.3030308@bonhard.uklinux.net>
Date: Fri, 24 Aug 2007 08:23:38 +0100
From: Fergus <fergus AT bonhard DOT uklinux DOT net>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Cygwin ML <cygwin AT cygwin DOT com>
CC: Fergus <fergus AT bonhard DOT uklinux DOT net>
Subject: Location problem with init.tcl
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I'm getting an error message using Tcl/Tk:

Application initialization failed
Can't find a usable init.tcl in the following directories:
/share/tcl8.4  /usr/local/share/tcl8.4  /library /usr/local/library

NB there is no directory /share/ and no directory /library/ in Cygwin, 
though there are directories /usr/share/ and /usr/lib/ (ie /lib/)

In fact init.tcl is in /usr/share/tcl8.4.

This problem was last referred to this year at

http://www.cygwin.com/ml/insight/2007-q1/msg00027.html

and the poster hypothesised that "Probably the correct values for 
--sharedir, --prefix, or whatever are not being sent to the tcl builds".

I thought I might cope by copying init.tcl to one of the searched 
directories, but simply found myself moving further along the error 
trajectory, this time to a "invalid command name tcl_findLibrary" failure.

Is the conjecture that there's something adrift with --sharedir or 
--prefix in the tcl builds a correct one (or a likely one) and is this 
something that could be addressed?

Thank you.

Fergus



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019