Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2022-02-08
15:34 • Ticket [37cf21dd52] linux: Tcl library files are not installed status still ... artifact: 41956f74b0 user: sl1200mk2
14:32 • Closed ticket [37cf21dd52]. artifact: a4604191be user: jan.nijtmans
2022-02-07
16:57 • Ticket [37cf21dd52]: 3 changes artifact: 68974f65a0 user: sl1200mk2
15:49 • Ticket [37cf21dd52]: 4 changes artifact: 2d1b2ae2a8 user: jan.nijtmans
2022-02-04
11:32 • Ticket [37cf21dd52]: 3 changes artifact: fafd336b7e user: oehhar
11:04 • Ticket [37cf21dd52]: 3 changes artifact: 2f5abe9c73 user: sl1200mk2
10:56 • Ticket [37cf21dd52]: 4 changes artifact: 54b0ace4cb user: oehhar
04:36 • New ticket [37cf21dd52]. artifact: 4aa3988ea4 user: sl1200mk2

linux: Tcl library files are not installed

Closed / Works For Me37cf21dd520aedf4c65a429be3f253ee685d6779Created 5 years agoUpdated 5 years ago
Descriptionplain2022-02-04 04:36:08
Hi Jan,
when I build Tcl (and Tk) on Linux (raspberryPi exactly) I set a custom -prefix /myInstallFolder option.
for Tk's trunk, after a make install I have /myInstallFolder/lib/tk8.7 folder with all Tk's library files.

and nothing for Tcl...

++
Nicolas
oehharwiki2022-02-04 10:56:57

Did you run also the Tcl install with the same prfix ? The tcp install will install the tcl files, the tk install the tk files.

Harald

sl1200mk2plain2022-02-04 11:04:26
Hi Harald,

yes
oehharplain2022-02-04 11:32:13
Sorry, I have no further idea.
Harald
jan.nijtmanswiki2022-02-07 15:49:06

Did you try if it actually runs? The Tcl files (like init.tcl) are now zipped together with libtcl8.7.so, that's why they are no longer needed in <prefix>/lib/tcl8.7. Everything should still run fine. For Tk, they could be removed too, I think only the demo files are left there.

sl1200mk2plain2022-02-07 16:57:58
hmmm ok, thanks Jan,
so I've tried Tcl8.7 builds fine but for Tk8.7 compiler says 'no rules to make target 'minizip' needed for libtk8.7a6.zip' (more or less, it's translate from french...)

I used to compile Tk with --disable-zipfs, so I've never noticed that, neither the fact that lib files could be zipped with the .so

Tcl compiles fines.

should I open a ticket for Tk?

thanks
++
jan.nijtmanswiki2022-02-08 14:32:51

> should I open a ticket for Tk?

Yes, you can. Personally I don't mind very much, because installing the "zip" utility solves this problem. However, some people don't want to do that, "minizip" is meant as a pour-mans replacement to help in this case.

Anyway, closing this one as "Works For Me", since installing the Tcl library files separately is (on purpose) only done when specifying --disable-zipfs. The default (--enable-zipfs) installs those files as a zip-file within libtcl8.7.so

sl1200mk2plain2022-02-08 15:34:43
I should have explain me a little more...

Tcl/Tk are built on the same computer without --disable-zipfs for both.
Tcl can find a zip utility, Tk don't.
that's what I meant.

the computer is a raspberryPi 32bits with llvm toolchain (13) for compilation

++
Log in (anonymous is fine) to add a comment.