Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2024-08-23
11:13 • Closed ticket [8057385ef7]: Building Tcl 9.0b3 on WSL brings some surprises ... artifact: ee3d5666e5 user: apnadkarni
2024-08-16
11:54 • Ticket [8057385ef7]: 3 changes artifact: 42630b504d user: arjenmarkus
11:14 • Ticket [8057385ef7]: 3 changes artifact: 902d070176 user: arjenmarkus
07:20 • Ticket [8057385ef7]: 3 changes artifact: ab3c5bd5ad user: apnadkarni
06:41 • New ticket [8057385ef7]. artifact: 0942e25221 user: arjenmarkus

Building Tcl 9.0b3 on WSL brings some surprises

Closed / Duplicate8057385ef7bde229d32c2fc73f6cbc12dda28733Created 2 years agoUpdated 2 years ago
Descriptionplain2024-08-16 06:41:09
I would like to report my experiences with building Tcl 9.0b3 on WSL - the Windows subsystem for Linux (or what is the official title?). It is a Linux-based system, so I used the prepared ./configure script. That went smoothly, but the make step reported that it was uable to find the minizip utility, which it expected to find in the pkgs/thread3.0b4 subdirectory.

The build then failed, but I do have the 9.0 tclsh executable. Starting it failed in first instance, because it could not find the shared objects (even though present in the working directory). Setting LD_LIBRARY_PATH quickly solved that.

However, no packages were found. I tried to load SQLite3, but that failed. Is this due to the interrupted build?

Anyway, the shared object I got was useable for a simple experiment with Tcl as a library in a small Fortran program. (That is far from a real test, merely a demonstration that it works in principle)
apnadkarniplain2024-08-16 07:20:48
Most likely duplicate of [e4d394cd24].

Installing zip should fix the problem.
arjenmarkusplain2024-08-16 11:14:04
I can try again. Note that the build process complained about minizip and I found this name in the./configure and make files.
arjenmarkusplain2024-08-16 11:54:43
Yes, that solved the problem.

I think the problem witht he packages is due to the fact that I have not installed anything yet, so that the libraries are not under ..../lib but still under pkgs.
apnadkarniplain2024-08-23 11:13:50
Closing as a duplicate of  [e4d394cd24].

And yes, the problem with not finding packages is that if you want to run from the build directory, you need to set TCLLIBPATH first.
Log in (anonymous is fine) to add a comment.