Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-19
00:50 • Ticket [218241ffff] Libpath not checked in win32 registry status still Close... artifact: 4dac1e8a81 user: dgp
2000-10-26
08:17 • Closed ticket [218241ffff]. artifact: dc923a2816 user: welch
00:54 • New ticket [218241ffff]. artifact: 2b3f24dc36 user: nobody

Libpath not checked in win32 registry

Closed / Wont Fix218241ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:54:58
OriginalBugID: 2799 Bug
Version: 8.2
SubmitDate: '1999-09-16'
LastModified: '1999-12-14'
Severity: MED
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Windows 98
OSVersion: 1900
Machine: X86
FixedDate: '2000-10-25'
ClosedDate: '1999-12-14'


Name:
Nikolai Weibull (pcppopper)

ReproducibleScript:
package require registry 1.0

ObservedBehavior:
Script doesn't load.

DesiredBehavior:
For about 6 hours i went through everything concerned with Tcl_Init()
    and making the packages available. I do not want to force anyone to add
    set TCL_LIBRARY=%PATHTOTCLLIBS% to their autoexec.bat. I would like
    Tcl_Init() to look in the win32 registry for the install path and from
    that determine the lib path (as the README states it does (which it
    doesn't) there is a #define for the win32 registry key containing the
    path but it is never referenced to and looking through the source i see
    no mention of another #define or const.
    I've gotten packages to work from scripts for my app, but that took
    adding the environment variable TCL_LIBRARY to my autoexec.bat,
    something i don't want to force my users to do. I wish of you to add the
    win32 registry install-path reading to tcl



It is possible that the user is just needing a call to
Tcl_FindExecutable(argv[0]), which was not previously
a requirement (although it was OK).  The reg db is not
used to obtain path info currently. 
-- 09/16/1999 hobbs
Response from the user:
thanks for your response...it didn't help much though...btw i'm the
developer of the app so...anyhow i'm calling Tcl_FindExecutable. What
happens is that after Tcl_Init() tclInterp->result is set to a list of paths
relative to my apps path that do not have the libs in them (naturally)...i
got a report from a beta-tester that it worked fine on his system so it
might just be something that's screwed with my install...
 
-- 09/17/1999 hobbs
In the worst case, the user just has to add the path to the
auto_path variable and everything should work. 
-- 11/11/1999 hobbs
welch Closed ticket [218241ffff]. [History diff]2000-10-26 08:17:55
dgp Ticket [218241ffff]: 4 changes [History diff]2001-04-19 00:50:54
Log in (anonymous is fine) to add a comment.