Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 330b955d8464838d59e9ed0be039d98493ab36c7
Ticket: 219394ffffffffffffffffffffffffffffffffff
tcl_findLibrary doesn't look in arch specific directory
User & Date: dgp on 2001-08-28 07:09:20
Changes

  1. closedate changed to: "2001-08-28T00:09:20"
  2. closer changed to: "dgp"
  3. icomment:
    Logged In: YES 
    user_id=80530
    
    [tcl_findLibrary] exists to serve the extensions that
    are written partly in C and partly in Tcl, such as Tk,
    [incr Tcl], and vu.  The Tcl-coded portion of an
    extension is called the "script library" of that extension.
    [tcl_findLibrary] is intended to find and [source] one
    master file of that script library to load the Tcl-coded
    portion of the extension in the interp.
    
    Notice that the code sought and evaluated by
    [tcl_findLibrary] is architecture-independent Tcl code.
    It makes no sense for [tcl_findLibrary] to go looking
    for Tcl scripts in an architecture-dependent directory.
    They should be installed under the arch-independent
    $prefix, not under $exec_prefix.  For that reason, the
    feature request is rejected.
    
    The problem reported with the "vu" package above
    is a bug in the installation procedures of that package
    installing its script library under exec_prefix
    instead of prefix:
    
    http://sf.net/tracker/index.php?func=detail&aid=455943&group_id=11464&atid=111464
    
    As observed in this request, the workaround for the end
    user of a buggy package like vu in this example is the
    setting of the VU_LIBRARY environment variable.
    
    
    
    
  4. login: "dgp"
  5. mimetype: "text/plain"
  6. resolution changed to: "Rejected"
  7. status changed to: "Closed"
  8. username: "dgp"