Artifacts Associated With Ticket 509939ffffffffffffffffffffffffffffffffff
Ticket change [394c8cdcec] (rid 112367) by funkhouser on 2002-01-29 00:21:11:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I used cygwin tools to install Tcl8.3.4 on Windows where the architecture-independent files are in a different location than the architecture-dependent files. To get tclsh834.exe to load successfully, I must set the TCL_LIBRARY environment variable. It looks like the exec-prefix value is not being passed into compiled code for later use. Below are my steps to reproduce the problem: export UTILDIR=Z:/share export ARCHDIR=Z:/locales/Win32/x86/VC6.0 ./configure --prefix=$UTILDIR --exec-prefix=$ARCHDIR -- enable-shared Upon executing tcl834.exe, I get the following error. It appears that the independent directory is just not being searched during execution. application-specific initialization failed: Can't find a usable init.tcl in the following directories: Z:/locales/Win32/x86/VC6.0/lib/tcl8.3 Z:/locales/Win32/x86/VC6.0/lib/tcl8.3 Z:/locales/Win32/x86/lib/tcl8.3 Z:/locales/Win32/x86/VC6.0/library Z:/locales/Win32/x86/library Z:/locales/Win32/x86/../tcl8.3/library Z:/locales/Win32/../tcl8.3/library This probably means that Tcl wasn't installed properly.
- foundin initialized to: "obsolete: 8.3.4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "funkhouser"
- subsystem initialized to: "38. Init - Library - Autoload"
- title initialized to: "Architecture-independent file not found"
- type initialized to: "Bug"
Ticket change [c66343aca4] (rid 121755) by dgp on 2002-02-23 09:48:21:
- icomment:
Logged In: YES user_id=80530 This is not too surprising. The Windows version of Tcl has assumed that TCL_PREFIX and TCL_EXEC_PREFIX are the same directory. For several releases, that directory was known as the "Root" and was stored and retrieved from the Windows registry. Workaround for now is to not install in separate directories or use TCL_LIBRARY, as you know. Possible solutions include copying the approach used on Unix systems of "compiling in" the name of the TCL_LIBRARY directory, or perhaps making use of the new features under consideration in TIP 59. I want to wait and see where TIP 59 goes before acting on this.
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "3 Low"
- resolution changed to: "Postponed"
- username: "dgp"
- icomment:
Ticket change [48d31b7389] (rid 99961) by davygrvy on 2002-06-18 09:02:22:
- icomment:
Logged In: YES user_id=7549 With Win64 around the door, and even looking backwards at DOS, arch-splitting would seem like a good thing. %Root%//win32-ix86/bin/tcl84.dll %Root%/win64-ia64/bin/tcl84.dll %Root%/dos-ix86/bin/tcl84.(dle|ovl)
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [6038647e51] (rid 115953) by dgp on 2003-07-11 04:01:28:
- icomment:
Logged In: YES user_id=80530 With TIP 59 implemented in Tcl 8.5, we should augment the script in generic/tclInitScript.h to also look for init.tcl in the value of the "scriptdir,runtime" key of [tcl::pkgconfig]. Or as an alternative, have TclpInitLibraryPath() make sure that value is on the search path.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [52110d24ee] (rid 126247) by dgp on 2004-06-17 03:48:31:
- closedate changed to: "2004-06-16T20:48:31"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 This is fixed in the HEAD.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"