Skip to content
Tcl Source Code History Of Ticket 1777301
Login

History Of Ticket 1777301

Artifacts Associated With Ticket 1777301

  1. Ticket change [61f1d24e51] (rid 92330) by pointsman on 2007-08-19 20:26:18:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      
      A typical TEA 3.6 configure --help claims, that the default of --exec-prefix is set from prefix. Or at least, that is, how I understand it (reformated
      
      Installation directories:
        --prefix=PREFIX
          install architecture-independent files in PREFIX [/usr/local]
        --exec-prefix=EPREFIX
          install architecture-dependent files in EPREFIX                   [PREFIX]
      
      But, if --prefix=/some/path is given to configure, the generated Makefile has:
      
      ...
      prefix          = /some/path
      exec_prefix     = /usr/local
      ...
      
      It seems, that exec_prefix is always set to the prefix default; there's code in TEA_INIT, which seems to do this.
      
      Note, that there is no real problem. Using both --prefix and --exec-prefix works.
      
      Just make the software do, what the doc (--help) say, or make the doc say, what the software really does.
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "pointsman"
    10. subsystem initialized to: "85. tclconfig"
    11. title initialized to: "TEA: --exec-prefix not set from --prefix"
    12. type initialized to: "Bug"
  2. Ticket change [22b8d79f56] (rid 130803) by jenglish on 2007-09-07 10:51:17:

    1. icomment:
      Logged In: YES 
      user_id=68433
      Originator: NO
      
      Probably can't change the help text; you get that for free from autoconf whether you want it or not.
      
      However, for Tcl extensions, --prefix, --exec_prefix, and all of the subsidiary install directories are superfluous: the only installation directory TEA uses is $(pkglibdir).
      
      $(pkglibdir) is normally specified as a subdirectory of $(libdir) in Makefile.in; $(libdir) in turn defaults to ${exec_prefix}/lib; and ${exec_prefix} is set to ${TCL_EXEC_PREFIX} by the TEA_PREFIX autoconf macro.  (The value of TCL_EXEC_PREFIX is found in tclConfig.sh; it's set to the value of @exec_prefix@ used when configuring Tcl.)
      
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  3. Ticket change [868379658d] (rid 131525) by pointsman on 2007-09-09 07:29:12:

    1. icomment:
      Logged In: YES 
      user_id=13222
      Originator: YES
      
      No, --prefix and --exec_prefix are not superfluous at all for a Tcl extension. I love it, that I have the freedom, to compile my extenstion against a certain tcl installation (given by --with-tcl) and to install the result in a place of my choice, other than $(pkglibdir). Yes, I handle the auto_path manipulation, to get the extension version, I want, don't care about that.
      
      That is currently possible, and that's fine. In case of an extension with binary code, the user just has to provide both, --prefix and --exec-prefix. Although the help suggests, that the --exec-prefix default is set from the --prefix value. With isn't true. Nitpik.
      
      
    2. login: "pointsman"
    3. mimetype: "text/plain"
    4. username: "pointsman"
  4. Ticket change [bbad6de3db] (rid 129528) by hobbs on 2008-11-05 05:06:38:

    1. icomment:
      Actually Tcl's TEA_PREFIX does set exec_prefix to prefix, but it may be that autoconf (which handles this at a meta level) does it's own magic.  A patch for what you intend against TEA_PREFIX would be good.  Otherwise it is working as expected.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  5. Ticket change [a2608cf17b] (rid 109879) by hobbs on 2008-11-05 05:06:42:

    1. closedate changed to: "2008-11-04T22:06:42"
    2. closer changed to: "hobbs"
    3. resolution changed to: "Works For Me"
    4. status changed to: "Pending"
  6. Ticket change [eef7d5e017] (rid 108914) by sf-robot on 2008-11-23 09:20:23:

    1. closedate changed to: "2008-11-23T02:20:23"
    2. closer changed to: "sf-robot"
    3. icomment:
      This Tracker item was closed automatically by the system. It was
      previously set to a Pending status, and the original submitter
      did not respond within 14 days (the time period specified by
      the administrator of this Tracker).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"
  7. Ticket change [214ddd33ac] (rid 130560) by kennykb on 2012-02-21 01:56:00:

    1. icomment:
      'stu', 'rkeene' and 'pooryorick' on the Tcl'ers Chat today indicate that this behaviour is still a problem, and promise more information.
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. resolution changed to: "None"
    5. status changed to: "Open"
    6. username: "kennykb"