TKlib missing in the repos

Hi,

Since many years I’m using the excellent Tcl/Tk file manager Filerunner. Currently I run version 13.7.25.13 which is quite old. Today I tried to upgrade and my first attemp was version 18.07.19.16 which I downloaded about a year ago but when I try to run it I get this:


Error in startup script: can't find package cursor
    while executing
"package require cursor"
    (file "./fr" line 5641)

The maintainer has informed me that cursor lives in tklib but there is no tklib in the repos, see this page. Has perhaps OpenSuse packaged cursor somewhere else? Does anybody know? Or do I have to build tklib from sources? Is there a particular reason that OpenSuse has excludet tklib?

Cheers,
gostal

Hi
Is the tk package installed? There is no tklib, just tk…

Yes! No version of Filerunner would run without it.

Cheers,
gostal

I would suggest…

Download and install the Fedora 30 package.
It might work.

Otherwise…

The TKlib project is at
https://github.com/tcltk/tklib

You can try installing from source.
Don’t know if it’ll work, according to the documentation is supposed to be automatically installed in various known standard locations, but may not know what an openSUSE location is… but the instructions are pretty standard… make|configure|make install.

https://github.com/tcltk/tklib/blob/master/INSTALL.txt

Otherwise you can try extracting the Fedora 30 (or any other) package and manually moving files to expected locations…

Otherwise,
It looks like the last time there was a significant contribution to the coe was years ago, so if you have any old packages of tklib successfully installed on an older machine, you can try that package on current openSUSE…

HTH,
TSU

Thanks for responding! I think I’ll try building from sources first. Since tklib is not part of Leap 15 there is little risk, if any, of breaking something particularly if I install under /usr/local. If it works it will be quite clean with no need to move things around. Unfortunately I do not have any old rpm lying about but perhaps there is an older srpm out there somewhere. Perhaps I’ll look into that first.

Cheers,
gostal

Not sure why none of you didn’t check software.opensuse.org. Took me a second and found it.

https://software.opensuse.org/package/tklib

Super! Thanks!

Cheers,
gostal

Hi
Only tk and tcl installed, extracted the tarball and ran fr, all works fine… tested on Tumbleweed and Leap 15.0 as indicated tklib is not required.

I don’t quite get this. I can run version 13.7.25.13 just fine without tklib but version 18.07.19.16 won’t run. Which version of fr did you run?

Cheers,
gostal

Now, I get it. You ran version 19.07.08.17 and it starts just fine without tklib for me too so I will skip version 18.07.19.16. Perhaps some funktion in 19.07.08.17 will require tklib and if so I know where to find it. Thanks again, kerijan2003! :slight_smile:

Some clarification.

When starting a new version of fr for the first time a pop-up window showing development history is displayed. The entry dated 18.08.26 tells of the cursor package and autoscroll which both live in tklib. A later entry 18.10.11 states that cursor and autoscroll are now optional and fr will only “whimper” if they are not available. The exact meaning of “whimper” I don’t know yet. So I guess that if tklib is installed then fr will take advantage of that and if not then some features will be missing. The near future will show if I can live without those features.

And please forgive my lousy spelling. It’s generally caused by interference from the Swedish part of my brain.

Cheers,
gostal