View Ticket
Bounty program for improvements to Tcl and certain Tcl packages.
2021-01-27
08:17 New ticket [37bbdb9fb2] `make install` does not work when `configure` was called without --prefix. artifact: b0cf94ff67 user: anonymous

Ticket Hash: 37bbdb9fb2abbc383fb4657118642fd495cf723d
Title: `make install` does not work when `configure` was called without --prefix
Status: Open Type: Build Problem
Severity: Important Priority:
Subsystem: Resolution:
Last Modified: 2021-01-27 08:17:35
Version Found In: 1.7.22
User Comments:
anonymous added on 2021-01-27 08:17:35:

The TCL_PACKAGE_PATH variable is set to {/usr/lib} with braces.

  $ sudo make install
  ...
  /usr/bin/install -c -d '{/usr/lib}/tcltls1.7.22'
  /usr/bin/install -c tcltls.so '{/usr/lib}/tcltls1.7.22'
  /usr/bin/install -c -m 644    pkgIndex.tcl '{/usr/lib}/tcltls1.7.22'

As this is not valid brace expansion (comma is required), that results in creating a directory called { and installing the files under it, instead of /usr/lib.