Skip to content
Tcl Source Code History Of Ticket 553544ffff
Login

History Of Ticket 553544ffff

Artifacts Associated With Ticket 553544ffff

  1. Ticket change [34096632b9] (rid 106695) by dgp on 2002-05-08 01:54:39:

    1. assignee initialized to: "mdejong"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      If the build directory or the --prefix install 
      directory contains a space, the Unix build/install
      goes haywire.
      
      Here's a patch that enables building/installation.
      I'm not 100% sure that it leaves the contents
      of tclConfig.sh making proper sense, though.
      
      
    4. foundin initialized to: "obsolete: 8.4a5"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "53. Configuration and Build Tools"
    10. title initialized to: "spaces in paths break stuff"
    11. type initialized to: "Bug"
  2. Ticket change [a067822c1f] (rid 96807) by dgp on 2002-05-08 08:54:39:

    1. icomment:
      
      
      File Added - 22686: space.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [0a8d31177c] (rid 113839) by dgp on 2002-05-08 12:35:18:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      The patch appears to be faulty in how it embeds
      TCL_LIBRARY and TCL_PACKAGE_PATH into tclUnixInit.c.
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [8aae2f8443] (rid 127431) by dgp on 2002-05-08 13:36:35:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Nope, that problem was just a bug in unixInit.test.
      
      This patch works for me; still the unknown issues of
      a proper tclConfig.sh and whether I've broken anything
      on other platforms left for maintainer review.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [85f1b21bad] (rid 131413) by dgp on 2002-05-09 04:30:29:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Trying to build Tk confirms that the tclConfig.sh file
      produced by this patch is unusable.  More revisions needed.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [ec84f2f549] (rid 103719) by dgp on 2002-05-10 09:18:59:

    1. icomment:
      
      
      File Deleted - 22686: 
      
      
      
      File Added - 22802: space.patch
      
      Logged In: YES 
      user_id=80530
      
      Here's a revised patch that solves the problems
      and leaves the tclConfig.sh contents in a state
      that a suitable patched Tk can deal with.  See
      a companion patch in the Tk project.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Add attachment "space.patch" [e814f8e59f] (rid 104585) by dgp on 2002-05-10 09:18:59.

  8. Ticket change [5b5d8f0d86] (rid 118309) by dgp on 2002-06-01 07:07:39:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Any objection to a commit?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [951dafe21f] (rid 106107) by mdejong on 2002-06-01 07:12:31:

    1. icomment:
      Logged In: YES 
      user_id=90858
      
      Umm, let me take a look at it. I have been a bit
      busy but I will get to it.
      
      
    2. login: "mdejong"
    3. mimetype: "text/plain"
    4. username: "mdejong"
  10. Ticket change [b86713d5f9] (rid 128962) by mdejong on 2002-06-05 09:31:05:

    1. icomment:
      Logged In: YES 
      user_id=90858
      
      First off, why did you remove the following code
      from tcl.m4?
      
      -    #
      -    # eval is required to do the TCL_DBGX substitution
      -    #
      -
      -    eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
      -    eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
      -    eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
      -
      -    eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
      -    eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
      -    eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
      
      
      I have to admit, this patch gives me a bit of an
      uneasy feeling. Is there some reason this patch
      is needed right now? Can it wait until 8.5 when
      I plan on rewriting everything to use only one
      set of build macros? The Unix build system has
      *never* supported paths with spaces in them.
      Why start now?
      
      
    2. login: "mdejong"
    3. mimetype: "text/plain"
    4. username: "mdejong"
  11. Ticket change [e79e9bf524] (rid 104495) by dgp on 2002-06-05 10:34:31:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      I'll take the meta-question first.
      
      No, this is not an urgent matter.  If we wait on this, Tcl's
      configure
      and build system will not be any more broken than it always
      has been.
      (I was *shocked* to see that GNU's install-sh is broken, too!)
      These changes took quite a bit of effort, and if they were 
      non-controversial, I hoped to let more people benefit from
      that effort.
      
      When you get back to this during 8.5 work, I eliminated the
      "eval"s
      in tcl.m4 because I could not come up with any way to quote the
      space-containing paths in TCL_LIB_FILE, TCL_LIB_SPEC, etc.
      in a way that would survive an eval.
      
      Instead, by removing the evals, the values substituted into
      extension
      Makefiles still contain the literal characters $TCL_DBGX. 
      But that's
      not a problem, because the tclConfig.sh file also offers
      that for 
      substitution, so just add a TCL_DBGX definition in the extension
      Makefile and things are fine.  (See Bug 554348)
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  12. Ticket change [025b3ce72d] (rid 119633) by mdejong on 2002-06-06 08:10:08:

    1. icomment:
      Logged In: YES 
      user_id=90858
      
      The "just add TCL_DBGX to the extension's Makefile"
      approach you suggest is how it used to be implemented.
      The problems with this approach is what led me to
      put those evals in the tcl.m4 in the first place.
      What happens is the extension seems to work just fine
      without the TCL_DBGX in the Makefile as long as you
      don't build a static or debug version. When someone
      comes along and build something other and a default
      build, the linker fails because it tries to link to
      a tcl library that is not there. We are not going to
      go back to that impl.
      
      I feel your pain when it comes to the quoting hell
      of TCL_DBGX. The solution is to remove TCL_DBGX in
      8.5 and come up with a new approach that will simplify
      both Tcl and extension builds and allow installs
      of multiple build types on one system. We don't need
      to have multiple builds (static, threaded, etc) in
      the same build dir. We just need to support multiple
      builds in the same install prefix in 8.5.
      
      As far as the immediate benefit people will see
      from this patch, it just does not seem too important.
      I would rather you hold onto this patch until 8.5.
      
      
      
    2. login: "mdejong"
    3. mimetype: "text/plain"
    4. username: "mdejong"
  13. Ticket change [7369b06dbc] (rid 105042) by dgp on 2004-03-27 05:23:34:

    1. assignee changed to: "dgp"
    2. icomment:
      Logged In: YES 
      user_id=80530
      
      8.5 development is happening.
      
      time to look at this again...
      
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  14. Ticket change [10f50f86c0] (rid 95055) by dgp on 2004-12-10 02:44:49:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      After patch 1081595, this may
      become feasible.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  15. Ticket change [36fed06736] (rid 141716) by dgp on 2015-05-11 14:57:56:

    1. closer changed to: "nobody"
    2. comment changed to:
      If the build directory or the --prefix install 
      directory contains a space, the Unix build/install
      goes haywire.
      
      Here's a patch that enables building/installation.
      I'm not 100% sure that it leaves the contents
      of tclConfig.sh making proper sense, though.
      
    3. icomment:
      
      Bleah.  This is still true.  Name to root directory of a Tcl source
      code distributions to "space in path" and all the unix/* build
      scripts fail.  Thanks GNU!
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. severity changed to: "Minor"
  16. Ticket change [12d20b7ce8] (rid 259577) by serhiy.storchaka on 2026-10-20 19:54:59:

    1. foundin changed to: "9.1.0"
    2. icomment:
      Rechecked on main (unix): an out-of-tree build directory with a space and a <code>--prefix</code> with a space now work (build, install, tests). Only a space in the source directory still fails: configure succeeds, but <code>make</code> stops at once with "No rule to make target '.../macosx/configure.ac'", since unix/Makefile.in uses the source paths as make targets and prerequisites in some 220 rules. Building through a symlink to the source directory without a space works.
      
      Note that with a space in the prefix, the <code>-L</code>/<code>-I</code> values in tclConfig.sh are not quoted, so extensions using them directly will still have trouble.
      
    3. login: "serhiy.storchaka"
    4. mimetype: "text/x-fossil-wiki"