Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3b71f8ab2930134749051d3efda9134ec6d86e941f8e42d4d581e2036349660a
Ticket: 6b3618ed9363e6038df3efc113093eef9a86323c
can't find package opt 0.1
User & Date: anonymous29 on 2018-08-03 11:20:22
Changes

  1. icomment:
    Hi sebres,
    below is the ouput of commands
    
    > foreach p $::auto_path {
    >   foreach p [glob -nocomplain -directory $p pkgIndex.tcl */pkgIndex.tcl] {puts $p}
    > }
    /dv/p4users06nd/arvindk/tcl16/dvproject/dep/tools/inca/files/tcl/library/tcltest/pkgIndex.tcl
    /dv/p4users06nd/arvindk/tcl16/dvproject/dep/tools/inca/files/tcl/library/opt/pkgIndex.tcl
    /dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/dde/pkgIndex.tcl
    /dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/dde1.1/pkgIndex.tcl
    /dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/http/pkgIndex.tcl
    /dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/http1.0/pkgIndex.tcl
    /dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/http2.3/pkgIndex.tcl
    /dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/msgcat/pkgIndex.tcl
    /dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/msgcat1.0/pkgIndex.tcl
    /dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/opt/pkgIndex.tcl
    /dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/platform/pkgIndex.tcl
    /dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/reg/pkgIndex.tcl
    /dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/tcltest/pkgIndex.tcl
    
    > source /dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/opt/pkgIndex.tcl
    can't read "dir": no such variable.
        while executing
    "file join $dir optparse.tcl"
        (file "/dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/opt/pkgIndex.tcl" line 12)
        invoked from within
    "source /dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/opt/pkgIndex.tcl"
    
    > set ::errorInfo
    can't read "dir": no such variable
        while executing
    "file join $dir optparse.tcl"
        (file "/dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/opt/pkgIndex.tcl" line 12)
        invoked from within
    "source /dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/opt/pkgIndex.tcl"
    
    > package require opt
    can't find package opt.
    
    > set ::errorInfo
    can't find package opt
        while executing
    "package require opt"
    > package vsatisfies [package provide Tcl] 8.2
    1
    
    > source [file join /dv/p4users06nd/arvindk/tcl16/inca/src/libs/tcl/library/opt optparse.tcl]
    
    > set ::errorInfo
    can't find package opt
        while executing
    "package require opt"
    
    > exit
    
    Thanks
    
  2. login: "anonymous29"
  3. mimetype: "text/plain"