Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2b3f24dc3638c5ff7116fdf672e17ac666ced8c5
Ticket: 218241ffffffffffffffffffffffffffffffffff
Libpath not checked in win32 registry
User & Date: nobody on 2000-10-26 00:54:58
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    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
    
  4. foundin changed to: "obsolete: 8.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Libpath not checked in win32 registry"
  11. type changed to: "Bug"