Thanks Jim. That answers a lot of questions. Apparently Fedora 42 is
too close to the cutting edge.
I downloaded the tarball for Img version 2.1 and took a stab at
compiling it. Fail - I do not have a file named tclConfig.SH on my system.
bgee@main2:~/Installs/Img-2.1.0$ ./configure
checking TEA configuration... ok (TEA 3.13)
configure: configuring Img 2.1.0
checking system version... Linux-6.15.9-201.fc42.x86_64
checking for Tcl configuration... configure: error: Can't find Tcl
configuration definitions. Use --with-tcl to specify a directory
containing tclConfig.sh
bgee@main2:~/Installs/Img-2.1.0$ locate tclConfig.sh
bgee@main2:~/Installs/Img-2.1.0$
In the meantime - The workaround I found is working. Eventually someone
will probably do a new tkImg package for Fedora 42.
===============
Bill Gee
On 8/26/25 02:48, James Begley wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=2337800 <https://
bugzilla.redhat.com/show_bug.cgi?id=2337800>
According to https://wiki.tcl-lang.org/page/Img <https://wiki.tcl-
lang.org/page/Img>, version 1.4.16 is not compatible with tcl9, and
version 2.1.0 (or later) is required.
Cheers,
James
On Tue, 26 Aug 2025 at 06:57, Matěj Plch <[email protected]
<mailto:[email protected]>> wrote:
Hi Bill,
Can you please try to run XTherion on a new installation of Fedora 42,
for example in a virtual machine? I see that Fedora 41 has tcl 8.6,
and Fedora 42 has tcl 9, so maybe this is a leftover from a system
upgrade. Also please note that after OS upgrade you need to do a clean
rebuild of Therion, because libraries in different OS versions are
usually not binary compatible.
Matěj
út 26. 8. 2025 v 1:40 odesílatel Bill Gee <[email protected]
<mailto:[email protected]>> napsal:
>
> Update - It seems I do NOT have Img installed on tcl9.0.
>
> To check this, use the tcl interactive shell.
>
> bgee@main2:~$ tclsh8.6
> % package require Img
> 1.4.16
> % exit
>
> bgee@main2:~$ tclsh9.0
> % package require Img
> can't find package Img
> % exit
>
> I searched around but found nothing on how to install Img for tcl
9.0.
>
>
> ===============
> Bill Gee
>
> On 8/25/25 17:54, Bill Gee wrote:
> > Hi Olly -
> >
> > Thanks for the information. I think it raises some new questions.
> >
> > If tkimg is required for both PNG and JPG, then why do PNG
files work
> > and JPG do not? If I have tkimg, then both should work, and if
I do not
> > have it then neither should work. Is that correct?
> >
> > How can I tell which versions of tcl have tkimg installed? If
tkimg is
> > not present, will xTherion then show an error like it does when
bwidget
> > is missing?
> >
> > Looking at the code for xTherion, I see line 27254 which has
"package
> > require Img". Is that the line where tkimg is loaded?
> >
> > I have never taken steps to install either bwidget or tkimg
specifically
> > for Tk/TCL. I have only used the RPM packages from the Fedora
> > repository. Here are the packages I have installed:
> >
> > bgee@main2:~$ rpm -qa | grep tkimg
> > tkimg-1.4.16-4.fc42.x86_64
> >
> > bgee@main2:~$ rpm -qa | grep bwidget
> > kf5-kjobwidgets-5.116.0-3.fc42.x86_64
> > bwidget-1.10.1-1.fc42.noarch
> > kf6-kjobwidgets-6.17.0-1.fc42.x86_64
> >
> > bgee@main2:~$ rpm -qa | grep tcl
> > tcl8-8.6.15-10.fc42.x86_64
> > tcl-9.0.0-7.fc42.x86_64
> >
> >
> > ===============
> > Bill Gee
> >
> > On 8/25/25 16:49, Olly Betts wrote:
> >> On Mon, Aug 25, 2025 at 10:10:32AM -0500, Bill Gee wrote:
> >>> According to this, specifying "-file $ffname" will load the
image using
> >>> whatever format handler is registered for that type. Tk
includes by
> >>> default
> >>> handlers for GIF and PPM/PGM formats. That is why PNG images
still
> >>> work.
> >>
> >> Note PNG is a completely different format to PPM/PGM (and also
to GIF).
> >>
> >> AIUI it you need tkimg to get support for both PNG and JPG.
> >>
> >>> So what is the deal? What does wish really do? Did the set
of default
> >>> image handlers change between wish 8.6 and 9.0?
> >>
> >> "wish" is a windowing Tcl shell.
> >>
> >> My guess is you have tkimg installed for Tcl 8.6 but not for
9.0 (like
> >> how you had bwidget installed for 9.0 but not 8.6 until you hacked
> >> around that by adding a symlink),
> >>
> >> Cheers,
> >> Olly
> >
> > _______________________________________________
> > Therion mailing list
> > [email protected] <mailto:[email protected]>
> > https://mailman.speleo.sk/listinfo/therion <https://
mailman.speleo.sk/listinfo/therion>
>
> _______________________________________________
> Therion mailing list
> [email protected] <mailto:[email protected]>
> https://mailman.speleo.sk/listinfo/therion <https://
mailman.speleo.sk/listinfo/therion>
_______________________________________________
Therion mailing list
[email protected] <mailto:[email protected]>
https://mailman.speleo.sk/listinfo/therion <https://
mailman.speleo.sk/listinfo/therion>
_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion
_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion