Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: adb19fb8d9483f137ad99a2cd292f9cf084a502d
Ticket: ca61c66e02c7111e760fbd354655b42c048e014d
TCL+pkg forces thread-enabled package builds; bad for no pthreads systems
User & Date: dgp on 2013-09-02 16:26:11
Changes

  1. assignee changed to: "dgp"
  2. icomment:
    Never mind, it does not matter.
    
    The problem you face is that the Tcl+pkgs harness always
    configures the bundled packages for --enable-threads builds
    because on any normal system (yours is intentionally crippled)
    that is the correct choice.  A thread-enabled package can [load]
    into either thread-enabled or thread-disabled Tcl interps.  This
    is the maximally useful build for general installation.
    
    For your unusual needs, you will need to configure and build the
    bundled packages separately, not using the harness.
    
    The `make binaries` target will build both Tcl libraries and
    the tclsh program according to your --disable-threads preference.
    
    Then for each bundled package (except for Thread, naturally), you
    can perform your own `configure --disable-threads; make; make install`
    from their sources to get a set of binary packages suitable for your
    no-pthreads platform.
    
    Some additional configuration options in the Tcl+pkgs distribution
    to make this task easier for those who need it seems like a good idea,
    so I'm leaving this ticket open as a feature request for that.
    
  3. login: "dgp"
  4. mimetype: "text/plain"
  5. title changed to:
    TCL+pkg forces thread-enabled package builds; bad for no pthreads systems
    
  6. type changed to: "RFE"