Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2dbd9c089b0b187ca204f613a536170fdec85eba
Ticket: 983509ffffffffffffffffffffffffffffffffff
Tcl_RegisterConfig ignores encoding failure
User & Date: andreas_kupries on 2006-03-28 04:04:58
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    Ok, panic seems to be a bad approach. I am not even getting
    to tclkits right now. We are building a cripped tclsh's,
    which are binary patched on install. currently, due to the
    order things are done this crippled shell is used to build
    the tclkits. To prevent problems we set the environment so
    that it will find its library etc. despite the crippling
    (TCL_LIBRARY, LD_LIBRARY_PATH). This is not working anymore.
    The pkg config stuff happens, I guess, before the
    TCL_LIBRARY is used to resolve the location of the
    encodings, and thus it has no encodings and fails. To
    actually get to the tclkits I will likely have to rework the
     buildsystem so that it uses an uncrippled tclsh to run
    tclkit build.
    
    However also, a tclkit is, I think, quite similar to a
    crippled tclsh when it comes to startup and encodings,
    TCL_LIBRARY, etc. So it will very likely panic as well.
    
    I might try the rewrite, but not today anymore. I will have
    to let my subconscious work on this a bit more.
    
    So, what else could be tried ? Just ignoring the call,
    leaving us with tclkit which simply does not have any of the
    data available ? This might actually be feasible, given that
    the information is intended for build environments, a
    portable tclconfig.sh in a way. A tclkit will likely have no
    interest in this at all.
    
    Extreme question: While a sufficient number of TCT members
    voted yes on this, should we nevertheless revisit the
    rationale of the TIP and maybe back the whole complex out of
    8.5 ?
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"