Questions tagged [tcl]

Tcl (originally from "Tool Command Language", but conventionally rendered as "Tcl" rather than "TCL"; is a scripting language.

Filter by
Sorted by
Tagged with
1 vote
1 answer
104 views

How to implement a TCL Package

I am trying to write an argument parser for a tcl/wish program. I am working through the examples on https://stackoverflow.com/questions/24341141/package-for-parsing-argument-in-tcl which suggests ...
0 votes
1 answer
698 views

Tk_Init error: Can't find a usable tk.tcl in the following directories

On my Ubuntu 20.04 I try to open "qdec" of "freesurfer" and get the following error: Tk_Init error: Can't find a usable tk.tcl in the following directories: /home/username/...
  • 133
0 votes
0 answers
101 views

How to spawn an already run process in expect script

I've already run a process, for example "fdisk /dev/sda" with the PID of "2000" Now I execute expect script and I want expect to take control of stdin and stdout of my desired PID (...
0 votes
1 answer
357 views

tcl headers not found while installing openSTA

This is what i get after executing cmake .. - TCL library: /usr/lib/x86_64-linux-gnu/libtcl8.6.so -- TCL header: TCL_HEADER-NOTFOUND and after executing "make" fatal error: tcl.h: No such ...
  • 9
0 votes
0 answers
71 views

TCL version conflict with bltwish

I am installing blt2.4z onto my desktop to use with an older plotting tool and am having trouble getting bltwish to run without throwing an "application-specific initialization failed: version ...
0 votes
1 answer
184 views

Which package provides Tcl's fileutil::magic::mimetype?

I'm attempting to run a Tcl program, Sguil server, on Ubuntu 18.04.4 LTS. After modifying the configuration files as per the instructions I ran the program: sudo ./sguild I received the following ...
  • 167
1 vote
0 answers
363 views

tk improper instalation

I have installed tk and tcl through sudo apt-get install tk tcl and have the latest version of both. However, when I go to run wish, I get the following error: application-specific initialization ...
0 votes
2 answers
2k views

Can't find a usable init.tcl and conflict version tcl

I just downloaded the linux version of this software (http://inano.au.dk/about/research-centers/nmr/software/simpson/) after unpacking the file I run sudo bash install.sh and all the dependencies were ...
user avatar
5 votes
2 answers
2k views

Globus Personal Connect: Tcllib installed, but keeps showing "tcllib not found" error

Trying to use Globus Personal Connect on my Ubuntu 16.04, and it requires Tcllib. I have tcllib installed (the newest version), but it still says "Tcllib not found" when I try to access the Globus ...
  • 137
3 votes
0 answers
4k views

Tkinter font not changing on python 3.6.8 on Ubuntu 18.04

I am not able to change the font family of the label in tkinter. I have written the code to explain the issue. I have also attached a link to show the output. (for images please go to this link I ...
0 votes
2 answers
248 views

grepping array elements from a tcl file

I have something like below in a tcl file. array set myports { a b c d e } array set myports { g h i j K l } How to do a simple grep on the file and print the elements in the array ?
1 vote
0 answers
281 views

How to install rl_json on Ubuntu 16.04

I'm trying to install rl_json on ubuntu 16.04. make install finishes without an error but rl_json gives me command not found https://github.com/RubyLane/rl_json
  • 67
3 votes
1 answer
3k views

Tcl/Tk programs fails after upgrade to 18.04

I have a problem with a Tcl/Tk application, redet, and Ubuntu 18.04. I installed it in 17.04, using synaptic so that all its dependencies were pulled in. It continued to work in 17.10. After ...
-2 votes
1 answer
3k views

How to install TCL packages: uuid,Itcl, html, tdom, tdom, tepam, math::bignum

I need help to install the following TCL packages: uuid Itcl html tdom tdom tepam math::bignum
1 vote
1 answer
2k views

Location of Tcl 8.6 library and Location of Tk 8.6 library: not found [duplicate]

Command was sudo auto-apt run ./configure Error message: DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS" Location of "tcl.h": /usr/include/tcl8.6 Location of "tk.h": /usr/include/tcl8.6 ...
  • 1,831
0 votes
1 answer
269 views

Error while rebuilding tcl 8.5 to disabling threadings

Im on installation of Squert Dashboard for suricata on Ubuntu Xenial 16.04 LTS Before install Squert I need to install Sguil (sgweel), sguil need tcl 8.3 (or better) and I found in source the current ...
  • 1
2 votes
2 answers
5k views

How do I let Ubuntu find the install path for tcl?

I am running Ubuntu 16.04. I am trying to install the R package tcltk. When I run install.packages('tcltk'), I get the following error: Installing package into ‘/home/esander/R/x86_64-pc-linux-gnu-...
2 votes
1 answer
1k views

bash: ./ns: No such file or directory

I am trying to execute a TCL script in NS2 simulator but I see this error: bash: ./ns: No such file or directory The path is `ns-2.35/tcl/ex/wpan.' When I execute this file in ns-2.35, it runs well. ...
  • 21
1 vote
1 answer
612 views

tcl checking fails

I am using ubuntu 14.04 and after adding some files for the integration of evalvid 2.7 and ns-2.35, i enter ./configure again from this directory: /home/user_name/Documents/ns-allinone-2.35/ns-2....
  • 31
2 votes
1 answer
1k views

setting a tcl/tk library path inside a snap package

After making and installing a snap package of tcl/tk, tcl complains it cant find init.tcl in a series of libraries. This has been documented many times with windows, python and tkinter, and a virt ...
-1 votes
1 answer
1k views

Integration of ns-2.35 and EvalVid 2.7 : Problem with tcl

I use ubuntu 14.04 and i am trying to integrate evalvid 2.7 and ns2.35. I added necessary files like: myevalvid.cc, myudp.cc, myudp.h, myevalvid_sink.cc, myevalvid_sink.h . And inside the Makefile.in ...
  • 31
2 votes
0 answers
712 views

Problem Installing XOOPIC

I am trying to compile and install XOOPIC on Kubuntu 16.04 LTS: http://ptsg.egr.msu.edu/ I installed xgrafix already in /home/downloads/xgrafix, and now I am going on to installing xoopic. For some ...
  • 31
0 votes
1 answer
498 views

How to run EasyModeller (GUI for Modeller) on Ubuntu 14 x64?

I have successfully installed Modeller. I want to try to use the front end GUI software EasyModeller. However, when I try to run it I receive the error message as follows: user@pc:~/Downloads/...
  • 101
1 vote
0 answers
97 views

Problem with using Tclx

The installed version of Tcl is Tcl 8.5. The installed version of Tclx is 8.4. The incompatibility between the two versions creates problems. Any remedy?
  • 11
1 vote
1 answer
2k views

How to use the left and right arrow keys in the tclsh interactive shell?

Why can't I use the left and right arrow keys (actually, the same goes for the up and down keys as well) to move about the line I'm currently on in the tclsh interactive shell? If I try to press ...
  • 932
0 votes
1 answer
87 views

Ubuntu execute file without ./

Using a shebang line, I added the functionality to launch a TCL script using the wish shell. However, I can only quickly launch the file by typing ./filename.tcl in the terminal. I would like to know, ...
  • 3
0 votes
2 answers
6k views

Save terminal output to variable in expect/tcl

Hej all, I have to use an interactive program and I want to automatize it with expect. My experiences in Linux and scripting is not the best. So this is the program output: enter minimum cross-...
1 vote
1 answer
2k views

How to make .tcl file directly executable from Launcher [duplicate]

I'm running Ubuntu 14.04 LTS. I use a program called ApE (A plasmid Editor) which I have to run directly from the Terminal using the following command; tclsh8.5 /home/justin/ApE/AppMain.tcl For ...
0 votes
1 answer
2k views

tcl no such file or directory

I am running this script nmrCube.tcl for generating 3D box from NMR data. I initially had problem with Library before which is now sorted While running the script I get this, (even though it is ...
1 vote
0 answers
352 views

Megahal eggdrop undefined symbol: PL_thr_key

I recently installed megahal on my eggdrop v1.6.21 and I get this error when I run it Can't load modules Megahal: /home/ubuntu/eggdrop/modules/Megahal.so: undefined symbol: PL_thr_key I compiled the ...
1 vote
3 answers
6k views

Tcl/Tk not being installed correctly on my computer

I am currently trying to install xgrafix from PTSG's website. Running configure within xgrafix folders I am running into a problem. It is stating that I must make sure Tcl/Tk is installed correctly ...
  • 11
2 votes
1 answer
2k views

sqlite make test fails because of "tcl.h not found" or "undefined reference to Tcl_Free"

I have obtained the sqlite source code with: sudo apt-get install fossil mkdir sqlite cd sqlite fossil clone http://www.sqlite.org/cgi/src/doc/trunk a fossil open a rm a and compiled it with the ...
-1 votes
1 answer
1k views

.tcl file not running

I have installed ns2 on ubuntu 12.04. when I am trying to run .tcl file following error is showing up: ajay@ajay-Inspiron-535s:~$ cd ajay ajay@ajay-Inspiron-535s:~/ajay$ ns old.tcl couldn't read file ...
3 votes
1 answer
10k views

wish missing but tk is installed

I was wanting to tinker around with TCL/TK programming. I tried to invoke the wish shell, but got this error: $ wish The program 'wish' is currently not installed. You can install it by typing: sudo ...
  • 143
2 votes
2 answers
442 views

Unable to use 'vi' on Ubuntu 12.04

Whenever I try to open any text file using vi or vim, I get the following error, vim: error while loading shared libraries: libtcl8.5.so.0: cannot open shared object file: No such file or directory ...
7 votes
2 answers
7k views

Tcl error while installing Wordnet

While installing Wordnet, I'm getting the following error; stubs.c:132:14: error: ‘Tcl_Interp’ has no member named ‘result’ I tried giving following; #define USE_INTERP_RESULT 1 at the end of "...
  • 161
11 votes
2 answers
31k views

Error: tcl.h not found (no such file or directory)

I'm trying to install something using the 'make' command, however it gives me the fatal error:tcl.h no such file or directory. I'm new to linux, can anyone help me?
  • 111
3 votes
1 answer
3k views

Tcl: installing package starkit?

(just wanted to document this; self-answer to follow) I just found Visual REGEXP : a graphical explorer for your regexps, which is a Tck/Tk application, so I wanted to try it on Ubuntu 11.04 natty. ...
  • 2,978
1 vote
1 answer
2k views

tk installation doesn't work for ruby1.9.1

Ok, this is what I did before I landed onto a terminal with a bunch of error messages... First, I installed ruby1.9.1 using apt-get. (All of those ruby1.9.1 packages including ruby1.9.1-examples and ...
7 votes
2 answers
15k views

Where can I find tclConfig?

I'm trying to install something that uses Tcl and it requires the config file tclConfig. I've installed tcl via sudo apt-get install tcl8.5 but after doing a search there isn't such a file. Did I ...
  • 71