Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8cd7b9c4244a991cea2998ccf8895c7b38c54938d3c55461308d6140e71bdb23
Ticket: 6b3618ed9363e6038df3efc113093eef9a86323c
can't find package opt 0.1
User & Date: sebres on 2018-08-03 09:54:50
Changes

  1. icomment:
    I suggested to test `package require opt` and not `package require opt 0.1`...
    
    I don't completely understand what you try to explain here, so please provide the output of script I wrote below (starting with foreach p ...).
    Or check that opt/pkgIndex.tcl is definitely in this output.
    
    Additionally try to load this index directly:
    
    % source <path>/tcl/library/opt/pkgIndex.tcl
    % package require opt
    
    if it fails, provide errorInfo.
    
    You can also try to invoke the script parts defined as ifneeded in pkgIndex directly, like:
    
    % package vsatisfies [package provide Tcl] 8.2
    % source [file join <path>/tcl/library/opt optparse.tcl]
    
    What do you see there? If it fails, provide errorInfo after each command that fails.
    
  2. login: "sebres"
  3. mimetype: "text/plain"