Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4b5818e9f3a428d1b9e472e53a30e734c081f67d
Ticket: 489370ffffffffffffffffffffffffffffffffff
Make --libdir & --exec_prefix consistent
User & Date: dgp on 2002-01-26 08:01:58
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    Thanks for looking into this.
    
    You mean TCL_LIB_SPEC, etc.  Now I see the problem.
    
    Let me tell you what I want to do.  Maybe you have 
    an alternative for me.  I want to really install Tcl
    under /usr/local/install/tcl8.4a4/ but I want it to
    act like it's installed in the default location
    /usr/local/.
    
    So
    $ cd unix
    $ ./configure
    $ make
    
    At this point the binaries have been built with the
    search path for shared libraries and the script
    library compiled into them as /usr/local/lib.
    
    Then, edit the Makefile and change the values of
    prefix and exec_prefix to the real install location,
    /usr/local/install/tcl8.4a4.  Then
    
    $ make install
    
    Now, when I decide I really want to use Tcl 8.4a4, I run a
    script that makes all the symlinks to make it appear to be
    in the default location.  For example,
    
    /usr/local/bin/tclsh8.4 ->
    /usr/local/install/tcl8.4a4/bin/tclsh8.4
    
    This technique lets me quickly change from one to
    another to another Tcl version for testing, but
    they all appear to be installed in the same place
    (and can share a single set of installed packages).
    
    With current CVS, I have the additional step of 
    editing the value of libdir in addition to prefix and
    exec_prefix.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"