[Therion] Fwd: Fedora 42 xtherion will not start

Stacho Mudrak lists at group-s.sk
Tue Apr 22 20:36:28 CEST 2025


Thanks for the update. Also copying bwidget1.9.7 from tcl8.6 folder to
tcl9.0 should help too.

S.

On Tue, 22 Apr 2025 at 19:38, Bill Gee <bgee at campercaver.net> wrote:

> And another update!  I found a way to work around the problem.  I
> changed the first line in /usr/local/bin/xtherion to read:
>
> #!/usr/bin/env wish8
>
> That works.  xTherion now launches without error.
>
> ===============
> Bill Gee
>
> On 4/22/25 12:24, Bill Gee wrote:
> > Yet another update:  There is a note at Fedora Project regarding the
> > upgrade to Tcl version 9.  It mentions bwidget.  I do not see anything
> > here about how to make something run in Tcl 8.
> >
> > https://fedoraproject.org/wiki/Changes/TclTk9.0
> >
> > I tried modifying the xtherion program so the first line is
> >
> > #!/usr/bin/env tclsh8
> >
> > Did not work, though it gives a different error message.
> >
> > ===============
> > Bill Gee
> >
> > On 4/22/25 06:55, Bill Gee wrote:
> >> Resending to the group, since this might be of general interest.
> >>
> >>
> >>
> >> -------- Forwarded Message --------
> >> Subject: Re: [Therion] Fedora 42 xtherion will not start
> >> Date: Mon, 21 Apr 2025 14:36:16 -0500
> >> From: Bill Gee <bgee at campercaver.net>
> >> To: Stacho Mudrak <lists at group-s.sk>
> >>
> >> Hi Stacho -
> >>
> >> No luck.  I included below a directory listing of the bwidget package
> >> directory, if that helps.  There are multiple tcl directories on the
> >> system.  tcl8.6 is the directory used by the Fedora 42 package.  It is
> >> the only one of the tcl directories that has anything regarding bwidget.
> >>
> >> Unfortunately, I no longer have a Fedora 41 system to compare.  I do
> >> have a system running X instead of Wayland.  That system also has
> >> Therion 6.3.3.  It shows the same results, which is what I expected.
> >>
> >> =====================
> >> bgee at main2:~$ wish
> >> % package require BWidget
> >> can't find package BWidget
> >> % package require bwidget
> >> can't find package bwidget
> >> %
> >>
> >> bgee at main2:~$ ll -d /usr/share/tcl*
> >> drwxr-xr-x. 5 root root 4096 Feb  1 18:00 /usr/share/tcl8
> >> drwxr-xr-x. 7 root root 4096 Apr 19 14:57 /usr/share/tcl8.6
> >> drwxr-xr-x  3 root root 4096 Apr 19 14:58 /usr/share/tcl9
> >> drwxr-xr-x  6 root root 4096 Apr 19 14:58 /usr/share/tcl9.0
> >>
> >> bgee at main2:~$ dir /usr/share/tcl8.6/bwidget1.9.7/
> >> arrow.tcl      dialog.tcl    images          listbox.tcl
> >> panelframe.tcl   scrollview.tcl  tree.tcl
> >> bitmap.tcl     dragsite.tcl  init.tcl        mainframe.tcl
> >> passwddlg.tcl     scrollw.tcl     utils.tcl
> >> buttonbox.tcl  dropsite.tcl  labelentry.tcl  messagedlg.tcl
> >> pkgIndex.tcl      separator.tcl   widget.tcl
> >> button.tcl     dynhelp.tcl   labelframe.tcl  notebook.tcl
> >> progressbar.tcl  spinbox.tcl     wizard.tcl
> >> color.tcl      entry.tcl     label.tcl       pagesmgr.tcl
> >> progressdlg.tcl  statusbar.tcl   xpm2image.tcl
> >> combobox.tcl   font.tcl      lang            panedw.tcl
> >> scrollframe.tcl titleframe.tcl
> >>
> >> =====================
> >>
> >> Update!  I did a bit more poking around and discovered I have two
> >> different versions of tcl installed.  They are 8.6 and 9.0.
> >>
> >> bgee at main2:~$ ll /usr/bin/tclsh*
> >> lrwxrwxrwx 1 root root     8 Feb  1 18:00 /usr/bin/tclsh -> tclsh9.0
> >> lrwxrwxrwx 1 root root     8 Feb  1 18:00 /usr/bin/tclsh8 -> tclsh8.6
> >> -rwxr-xr-x 1 root root 11728 Feb  1 18:00 /usr/bin/tclsh8.6
> >> -rwxr-xr-x 1 root root 11720 Feb  1 18:00 /usr/bin/tclsh9.0
> >>
> >> If I start tclsh8 and then do "package require BWidget" it responds
> >> with a proper version number.  Running tclsh9 fails.
> >>
> >> ===============
> >> Bill Gee
> >>
> >> On 4/21/25 13:50, Stacho Mudrak wrote:
> >>> If you just run wish and try to import the bwidget package, does it
> >>> work?
> >>>
> >>> On my system:
> >>>
> >>> user at localhost:~$ wish
> >>> % package require BWidget
> >>> 1.9.14
> >>>
> >>> S.
> >>>
> >>> On Mon, 21 Apr 2025 at 19:25, Bill Gee <bgee at campercaver.net
> >>> <mailto:bgee at campercaver.net>> wrote:
> >>>
> >>>     I upgraded to Fedora 42 over the weekend.  Trying to start xtherion
> >>>     gives a message about BWidget missing.  However, it is installed.
> >>>
> >>>     =====================
> >>>     bgee at main2:/public/document/CaveSurveys/CaveSpringCave$ therion --
> >>>     version
> >>>     therion 6.3.4+dev (compiled on 2025-04-09)
> >>>         - using Proj 9.6.0, compiled against 9.4.1
> >>>
> >>>     bgee at main2:/public/document/CaveSurveys/CaveSpringCave$ xtherion
> >>>     Error in startup script: can't find package BWidget
> >>>           while executing
> >>>     "package require BWidget"
> >>>           (file "/usr/local/bin/xtherion" line 12925)
> >>>
> >>>     bgee at main2:/public/document/CaveSurveys/CaveSpringCave$ su -
> >>>     Password:
> >>>
> >>>     root at main2:~# dnf search bwidget
> >>>     Updating and loading repositories:
> >>>     Repositories loaded.
> >>>     Matched fields: name (exact)
> >>>        bwidget.noarch: Extended widget set for Tk
> >>>     Matched fields: name, summary
> >>>        kf5-kjobwidgets-devel.i686: Development files for
> kf5-kjobwidgets
> >>>        kf5-kjobwidgets-devel.x86_64: Development files for kf5-
> >>> kjobwidgets
> >>>        kf6-kjobwidgets-devel.i686: Development files for
> kf6-kjobwidgets
> >>>        kf6-kjobwidgets-devel.x86_64: Development files for kf6-
> >>> kjobwidgets
> >>>        kf6-kjobwidgets-doc.noarch: Developer Documentation files for
> >>>     kf6-kjobwidgets
> >>>     Matched fields: name
> >>>        kf5-kjobwidgets.i686: KDE Frameworks 5 Tier 2 addon for KJobs
> >>>        kf5-kjobwidgets.x86_64: KDE Frameworks 5 Tier 2 addon for KJobs
> >>>        kf6-kjobwidgets.i686: KDE Frameworks 6 Tier 2 addon for KJobs
> >>>        kf6-kjobwidgets.x86_64: KDE Frameworks 6 Tier 2 addon for KJobs
> >>>
> >>>     root at main2:~# dnf install bwidget
> >>>     Updating and loading repositories:
> >>>     Repositories loaded.
> >>>     Package "bwidget-1.9.7-24.fc42.noarch" is already installed.
> >>>
> >>>     Nothing to do.
> >>>     root at main2:~#
> >>>     ========================
> >>>
> >>>     I compiled Therion while still on Fedora 41.  Should I recompile?
> >>>
> >>>     --     ===============
> >>>     Bill Gee
> >>>
> >>>     _______________________________________________
> >>>     Therion mailing list
> >>>     Therion at speleo.sk <mailto:Therion at speleo.sk>
> >>>     https://mailman.speleo.sk/listinfo/therion <https://
> >>>     mailman.speleo.sk/listinfo/therion>
> >>>
> >>>
> >>> _______________________________________________
> >>> Therion mailing list
> >>> Therion at speleo.sk
> >>> https://mailman.speleo.sk/listinfo/therion
> >>
> >> _______________________________________________
> >> Therion mailing list
> >> Therion at speleo.sk
> >> https://mailman.speleo.sk/listinfo/therion
> >
> > _______________________________________________
> > Therion mailing list
> > Therion at speleo.sk
> > https://mailman.speleo.sk/listinfo/therion
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20250422/7484f752/attachment.htm>


More information about the Therion mailing list