Date: Sat, 22 Aug 2020 08:31:45 +0200 From: Polytropon <freebsd@edvax.de> To: Christoph Kukulies <kuku@kukulies.org> Cc: Ruben via freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: I wish I had wish Message-ID: <20200822083145.20820550.freebsd@edvax.de> In-Reply-To: <1C6742F9-1257-4DEF-BC41-19454C23E5FF@kukulies.org> References: <899F50B9-5152-4EA5-BF4A-A4D5F47931ED@kukulies.org> <20200821185724.9ec46e4a.freebsd@edvax.de> <2D80B694-4DE8-43D7-9C73-26A135585362@kukulies.org> <20200822080214.8a8b3f42.freebsd@edvax.de> <1C6742F9-1257-4DEF-BC41-19454C23E5FF@kukulies.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 22 Aug 2020 08:21:02 +0200, Christoph Kukulies wrote: > > Excerpt from pkg info: > > > tcl-wrapper-1.1_3 Shell wrapper for tclsh (Tcl) > tcl85-8.5.19_3 Tool Command Language > tcl86-8.6.10 Tool Command Language > tcl87-8.7.a3_1 Tool Command Language > tclX-8.4.1 Extended TCL > > tk86-8.6.10_1 Graphical toolkit for Tcl That looks correct. $ pkg list tk86-8.6.10_1 | grep "wish" /usr/local/bin/wish8.6 /usr/local/man/man1/wish.tk86.1.gz Interestingly, it's not "man wish", it's "man wish.tk86". But when you read "SCRIPT FILES", you'll see that it refers to /usr/local/bin/wish, which the package does not install as such... :-) > > Am 22.08.2020 um 08:02 schrieb Polytropon <freebsd@edvax.de>: > > > > On Fri, 21 Aug 2020 20:22:51 +0200, Christoph Kukulies wrote: > >> Thanks. I installed bsvc from github, compiled and installed it. > >> When I then ran > >> > >> bsvc > >> > >> I got exec: wish not found > >> > >> Now I found that bsvc is part of the ports collection. So I did a > >> pkg install bsvc which automatically install tcl/tk (8.6 I believe). > >> > >> So far so good. wish isn’t there. > >> > >> Now when I start bsvc (via ssh -Y myfreebsdbox) I’m getting > >> > >> $ bsvc > >> X Error of failed request: BadName (named color or font does not exist) > >> Major opcode of failed request: 45 (X_OpenFont) > >> Serial number of failed request: 42 > >> Current serial number in output stream: 59 > >> $ > >> > >> > >> But this message must be caused by my macOS server from which I’m > >> logged in into myfreebsdbox. > > > > Depending on which shell you're using, try command completition: > > > > % wish[TAB] > > > > $ > $ which wish > $ Same here: $ which wish $ _ Nothin there. $ wish<TAB> $ wish8.6_ The shell completed the command. $ which wish8.6 /usr/local/bin/wish8.6 $ _ The actual binary is versioned. > Thanks. wish8.6 is indeed there. > I could create a link to wish. I find it strange that such a symlink isn't there from the start, but it's probably _not_ there so you can use different versions of wish (here: different versions of Tk installed), or you're forced (by design) to specify the wish version your program needs in the #! line. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200822083145.20820550.freebsd>