delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/07/12:52:50

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=eF34WDdFYdp9VqkK
ntsOF/y+uRjSEozkr9+h0ET7ybdhuR8PTBmsq0O1oltfTwPcoAh1u3VABk6FRVNG
a7SgedQfWKcxep4o76UyiI2biAxcxASlxRmx+oa4YkQmgFklloEgifk9ek8TMBVS
eq2Ylp2Xo9QYkdvix/3xqZjRPcI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=7hoIjHbjPLr+WUxEgpZ3is
M2Ch8=; b=NsvZ4P6lM9Hvr/IHWf5zbjQdEwCGPEqkLORT8Vts2Gmfc53dJwVlgh
TlDrAvX2lcOkTHOlf7nhkoJvCEm6kxlS8I8c1267fysiDPVq8yJC/RbQinhMBn8x
Vswoc5VzQXpXYyAGdbMGTt7ljzDjagDP/0AhzyYxR0FjfWMil5pCs=
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_SHORT,KAM_TK,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=UD:tk, Problem, HContent-Transfer-Encoding:8bit
X-HELO: mail-io0-f195.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/etqEpBeDFvNoGd8/XnMQpoAieDxPovcLBxH7HLCz+Y=; b=VFoYpk5+u+UwKwttSgDPWTJy2RhQOIoT2saVGbidN1OI0oEXSQV7nNp1SqO05ZoC8i Xcs1dMixyRE2TLUFKApx9TDfh6TSDbV5YE2OBKDFwuox/xmGM5JTcziTAA4T96wzXnAV /y2vgOQy1GFuTJbzzD6G68l8VnjBCRgBCGCh6ymlsYDCigp1Q93to0WGIXwDXLMaqT2q fGsUtg7oTaIrtX+1m6Megu/utWSb2Yf2++iSIId5YawrIaq6v4WTxunPlyb3xwa2z4Ye H2dDx+tKYaAAv5LSTwi5UfyQ+h4RqeMRXO1AvA7cPmgNUwH+IZtbTGlKG39H0YBvtQI9 MVIQ==
Subject: Re: Problem referencing libraries in tcl 8.6, e.g. fileutil
To: cygwin AT cygwin DOT com
References: <005401d42e50$c94dd690$5be983b0$@gmail.com> <00de01d42e67$389bc9b0$a9d35d10$@gmail.com>
From: cyg Simple <cygsimple AT gmail DOT com>
Openpgp: preference=signencrypt
Message-ID: <c9453f9c-bf60-f6c1-4dc3-830ea4ec19c1@gmail.com>
Date: Tue, 7 Aug 2018 12:52:34 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <00de01d42e67$389bc9b0$a9d35d10$@gmail.com>
X-IsSubscribed: yes

On 8/7/2018 11:56 AM, SImon Conway-Smith wrote:
> I have added the tcl intepreter into my Cygwin (64-bit) installation, but
> when trying to run some code samples using the fileutil library, e.g. the
> foreachLine command, I'm getting 'invalid command name
> "fileutil::foreachLine"'. I've even tried prefixing the command with "tcl::"
> as I had to do for the mathfunc:: library functions, but still get the error
> message. Is there an additional tcl package I need to install, or what?
> 

It seems that tcllib isn't installed with Cygwin's tcl.

$ tclsh
% package require fileutil
can't find package fileutil
%

Since tcllib is pure tcl with no compilation required you can download
it directly from https://www.tcl.tk/software/tcllib/ and install it into
the /usr/lib/tcl8.6/ directory.

-- 
cyg Simple

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

- Raw text -


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