#1749 Tests can't find tk.tcl

obsolete: 8.5a2
closed-fixed
5
2004-09-09
2004-08-30
No

Tk: v8.5a2 HEAD at 30-08-04
OS: WinXPsp1
Built with makefile.vc using VC7

When running the tests for Tk, from makefile.vc,
Wish85.exe fails to load due to it being unable to find
tk.tcl.

This seems to be due to the changes to the search
paths in auto.tcl on 23-08-04.

The attached patch adds the missing path to the tk
library into makefile.vc using the same format as was
used for the tcl library.

Error displayed...
error dialog
title = Error in Wish
text = Can't find a usable tk.tcl in the
following directories:
D:/src_tcl/library/tk8.5
D:/src_tcl/tk8.5
D:/src_tk/win/lib/tk8.5
D:/src_tk/lib/tk8.5
D:/src_tk/win/library
This problem means that tk wasn't
installed properly.

Also included check for old 'MSVCDIR' as per tcl
makefile.vc.

Discussion

  • Daniel South

    Daniel South - 2004-08-30

    adds tk library path to makefile.vc

     
  • Don Porter

    Don Porter - 2004-08-30
    • assigned_to: mdejong --> dgp
    • labels: 318653 -->
    • status: open --> closed-duplicate
     
  • Don Porter

    Don Porter - 2004-08-30

    Logged In: YES
    user_id=80530

    I believe this is a duplicate
    of Tcl Bug 976438.

     
  • Daniel South

    Daniel South - 2004-08-31

    Logged In: YES
    user_id=596509

    Very close to being a duplicate.
    While adding back a search in the grandparent directory in
    auto.tcl would correct this as well, after considering that
    TCL_LIBRARY is set by the makefile in rules.vc and the
    comments in auto.tcl for tcl_findLibrary give an example of
    TK_LIBRARY for the envVarName, I thought this would be the
    more correct way of fixing the error.
    Also, the TCL_LIBRARY env variable is used as the $(wish)
    target could not find the tcl source's library even before the
    modification to the search paths.
    Going the other way (ie. changing auto.tcl) would re-
    introduce extra search paths for every instance rather than
    just for this one.

     
  • Don Porter

    Don Porter - 2004-08-31

    Logged In: YES
    user_id=80530

    good points. re-opened for
    makefile.vc maintainer to take
    a look.

     
  • Don Porter

    Don Porter - 2004-08-31
    • labels: --> 85. Win Build
    • assigned_to: dgp --> mdejong
    • status: closed-duplicate --> open-remind
     
  • Daniel South

    Daniel South - 2004-08-31

    Logged In: YES
    user_id=596509

    One other point I neglected to mention.
    Using TK_LIBRARY variable ensures that tests are run against
    current build library and not another version that
    tcl_findlibrary may find on its searches.

     
  • Vince Darley

    Vince Darley - 2004-09-01
    • assigned_to: mdejong --> davygrvy
     
  • David Gravereaux

    • status: open-remind --> closed-fixed
     
  • David Gravereaux

    Logged In: YES
    user_id=7549

    already in CVS on 2004-09-06

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks