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:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=A3/KuZRM+hsGdMgBvVRq63YBpJphg0Qx7taHtxFBRym rQGUErMjHI5+phTKRbyFxupmkW3B2OES5K3bocZpuHubERrX6xx0/W8psXGSb72a PVuGZMAOOcn5LPsjP3TfWTSjPB2aoZWTjjGwANS24YeFir1qlrZh5JeDPLNbaQUw = 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:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding; s=default; bh=b60MOYsO2vSYvZbGB72uoUha0iU=; b=yMzojadAdUTVHmyjo Or+J7nEkqtxZ7NoR0n2X+3p3aKeeCdbG6d0AWQHyyC84sOcy/pNXBLU29na2tjxu Ubl1kPj+czVNkpOcJHZ3hFJBaC719Wj/LOyGKvBHeE7um62yefyHnIUVgMGEm355 4MpW/bExnmzsFNCdQOVAjfmi+w= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=1.8 required=5.0 tests=BAYES_50,FOREIGN_BODY,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=avast, Avast, sk:Antivir, geprft X-HELO: mail-wr1-f41.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-transfer-encoding:thread-index:content-language; bh=J0KJO+AtzoU9aK7kxJFp3Y6B+OeKE+7iVq1MevHPQkQ=; b=hZGkBeS89RurN6yReh8RNNv5xF6rLrIBgKd/99LCcXLtAg1h8kZ6vGcNQYx9sZ7S4c wI74+ZtnnRx3lH/9E1lazDmWzpxZivzrhLu7sehVx5nXB/ajbVURK6fSwBGS2OhHZAJL IY6lNLLgL0WMFpK/pAAmB+tNX1RBNPoDrcmJ77onBykpwWtVJPlV44tV6ahLDy/3cVM1 gNZKd2KhZLRXItDSBZQ0DdHMzl7FXpdsia5qKaSRFpoDtlIXL1wc2tlSxS+37kUOcnVS VwN5Ibg6VTwSkB2geNIgat/a5llxM7zN4Xo2o7PvLgLqlPtymbaz5shjR8Psmw7WScsB LS7w== From: "Simon Conway-Smith" To: References: In-Reply-To: Subject: RE: Problem referencing libraries in tcl 8.6, e.g. fileutil Date: Thu, 9 Aug 2018 19:26:38 +0100 Message-ID: <009501d4300e$838a2090$8a9e61b0$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w79IQrl9005698 Marco, This worked. Thank you. I have to remember to add the line... % package require fileutil ...at the start of a tcl script though. I'll get used to it 😊 -----Original Message----- From: Marco Atzeri Sent: Tuesday, August 7, 2018 5:58 PM To: cygwin AT cygwin DOT com Subject: Re: Problem referencing libraries in tcl 8.6, e.g. fileutil Am 07.08.2018 um 17:56 schrieb SImon Conway-Smith: > 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? > fileutil is part of tcllib that is not provided as cygwin package The last upstream version is located at https://sourceforge.net/projects/tcllib/files/tcllib/1.19/ It includes an installer written in TCL $ ./installer.tcl Installing Tcllib 1.19 You have chosen the following configuration ... Packages: /usr/lib/tcllib1.19 Applications: /usr/bin Examples: /usr/bin/tcllib_examples1.19 Documentation: NROFF: /usr/man/mann HTML: Not installed. Is the chosen configuration ok ? y/N: Disclaimer: I have not tested the installer as I know nothing of TCL Regards Marco --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- 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