Web lists-archives.com

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


--
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