Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: aac03eb2dc114771f9a3003eb5f19634b9e1b0c1
Ticket: 1442620fffffffffffffffffffffffffffffffff
fails to work correctly on solaris8
User & Date: acb on 2006-03-04 03:29:37
Changes

  1. icomment:
    Logged In: YES 
    user_id=14072
    
    just noticed that replacing line 42 of
    /palab/apps/tcltk/lib/tcl8.4/init.tcl with 
    
    if {[info exists auto_path]==0} {
    
    gets rid of the complaints about auto_path, but it still
    says it can't find a usable init.tcl:
    
    $/palab/apps/tcltk/bin/tclsh8.4 
    application-specific initialization failed: Can't find a
    usable init.tcl in the following directories: 
        /palab/apps/tcltk/lib/tcl8.4
    /palab/apps/tcltk/lib/tcl8.4 /palab/apps/lib/tcl8.4
    /palab/apps/tcltk/library /palab/apps/library
    /palab/apps/tcl8.4.12/library /palab/tcl8.4.12/library
    /palab/apps/tcltk/lib/tcl8.4
    
    /palab/apps/tcltk/lib/tcl8.4/init.tcl: 
    
    /palab/apps/tcltk/lib/tcl8.4/init.tcl: 
    
    /palab/apps/tcltk/lib/tcl8.4/init.tcl: 
    
    
    
    This probably means that Tcl wasn't installed properly.
    
    
    
    
    
    
    Here's the output of make test with after your suggested change:
    $ make test
    LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}; export
    LD_LIBRARY_PATH; \
    TCL_LIBRARY="/home/a7056/.code/tcl8.4.12/library"; export
    TCL_LIBRARY; \
    ./tcltest /home/a7056/.code/tcl8.4.12/unix/../tests/all.tcl  
    current namespace is ::
    current namespace is ::
    current namespace is ::
    current namespace is ::
    application-specific initialization failed: Can't find a
    usable init.tcl in the 
    following directories: 
        /home/a7056/.code/tcl8.4.12/library
    /palab/apps/tcltk/lib/tcl8.4 /home/a7056
    /.code/tcl8.4.12/library /home/a7056/.code/tcl8.4.12/tcl8.4
    /home/a7056/.code/tc
    l8.4.12/lib/tcl8.4 /home/a7056/.code/lib/tcl8.4
    /home/a7056/.code/tcl8.4.12/libr
    ary /home/a7056/.code/library
    /home/a7056/.code/tcl8.4.12/library /home/a7056/tc
    l8.4.12/library /palab/apps/tcltk/lib/tcl8.4
    
    /home/a7056/.code/tcl8.4.12/library/init.tcl: can't read
    "::auto_path": no such 
    variable
    can't read "::auto_path": no such variable
        while executing
    "lsearch -exact $::auto_path $Dir"
        ("foreach" body line 2)
        invoked from within
    "foreach Dir [list [info library] [file dirname [info
    library]]] {
            if {[lsearch -exact $::auto_path $Dir] < 0} {
            lappend ::auto_path $Dir
            }..."
        (in namespace eval "::tcl" script line 4)
        invoked from within
    "namespace eval tcl {
        variable Dir
        if {[info library] ne ""} {
        foreach Dir [list [info library] [file dirname [info
    library]]] {
            if {[lse..."
        (file "/home/a7056/.code/tcl8.4.12/library/init.tcl"
    line 50)
        invoked from within
    "source /home/a7056/.code/tcl8.4.12/library/init.tcl"
        ("uplevel" body line 1)
        invoked from within
    "uplevel #0 [list source $tclfile]"
    /palab/apps/tcltk/lib/tcl8.4/init.tcl: 
    
    /home/a7056/.code/tcl8.4.12/library/init.tcl: 
    
    /home/a7056/.code/tcl8.4.12/library/init.tcl: 
    
    /home/a7056/.code/tcl8.4.12/library/init.tcl: 
    
    /palab/apps/tcltk/lib/tcl8.4/init.tcl: 
    
    This probably means that Tcl wasn't installed properly.
    invalid command name "tclPkgUnknown"
        while executing
    "tclPkgUnknown tcltest {}"
        ("package unknown" script)
        invoked from within
    "package require tcltest"
        invoked from within
    "set tcltestVersion [package require tcltest]"
        (file
    "/home/a7056/.code/tcl8.4.12/unix/../tests/all.tcl" line 15)
    make: *** [test] Error 1
    
    
    
    Thanks for the quick debugging work!
    
    
  2. login: "acb"
  3. mimetype: "text/plain"
  4. username: "acb"