Environment Info:
10.1.2 (latest dev tools)
G4 TiBookI am experiencing problems with Tcl 8.3.4
and Tk 8.3.4 which should be the latest release. In the case of Tcl, she builds fine but errors on a few tests. As for Tk, some linking problems and need some hints on how to resolve the issue.
I sure hope this paste is happen with the narrow window.
(here is the error with the test phase of tcl)
[localhost
ownloads/tcl8.3.4/unix] root# make test
if test ! -f tclsh; then make tclsh; else true; fi
cd dltest;
PATH=..:/sw/bin:/sw/sbin:/Users/tk/bin:/usr/local/bin:/usr/bin:/bin:e
make[1]: Nothing to be done for `all'.
cc -pipe -prebind tclTestInit.o tclTest.o tclTestObj.o
tclTestProcBodyObj.o tc\
-o tcltest
LD_LIBRARY_PATH=`pwd`:; export LD_LIBRARY_PATH; \
LIBPATH=`pwd`:; export LIBPATH; \
SHLIB_PATH=`pwd`:; export SHLIB_PATH; \
TCL_LIBRARY="/Users/tk/Desktop/Downloads/tcl8.3.4/library"; export
TCL_LIBRARY;\
./tcltest ./../tests/all.tcl
Tcl 8.3.2 tests running in interp:
/Users/tk/Desktop/Downloads/tcl8.3.4/unix/tt
Tests running in working dir: /Users/tk/Desktop/Downloads/tcl8.3.4/tests
Only sourcing test files that match: *.test
Tests began at Tue Jan 29 16:37:16 PST 2002
append.test
assocd.test
async.test
autoMkindex.test
basic.test
binary.test
case.test
clock.test
==== clock-8.1 clock scan midnight/gmt range bug 413397 FAILED
==== Contents of test case:
set fmt "%m/%d"
list [clock format [clock scan year -base $5amPST -gmt 0] -format $fmt]
[c]
---- Result was:
12/31 12/30
---- Result should have been:
12/31 12/31
==== clock-8.1 FAILED
cmdAH.test
==== cmdAH-18.2 Tcl_FileObjCmd: executable FAILED
==== Contents of test case:
file executable gorp.file
---- Result was:
1
---- Result should have been:
0
==== cmdAH-18.2 FAILED
==== cmdAH-31.6 Tcl_FileObjCmd: channels in other interp FAILED
==== Contents of test case:
# Safe interps start out with no channels
safeInterp eval [list file channels]
---- Result was:
file4 stderr stdout stdin
---- Result should have been:
==== cmdAH-31.6 FAILED
==== cmdAH-31.9 Tcl_FileObjCmd: channels in other interp FAILED
==== Contents of test case:
lsort [safeInterp eval [list file channels]]
---- Result was:
file4 stderr stdin stdout
---- Result should have been:
file4 stdout
==== cmdAH-31.9 FAILED
==== cmdAH-31.11 Tcl_FileObjCmd: channels in other interp FAILED
==== Contents of test case:
# $newFileId should now be visible only in safeInterp
list [file channels $newFileId] [safeInterp eval [list file channels
$newF]
---- Result was:
file4 file4
---- Result should have been:
{} file4
==== cmdAH-31.11 FAILED
==== cmdAH-31.12 Tcl_FileObjCmd: channels in other interp FAILED
==== Contents of test case:
lsort [safeInterp eval [list file channels]]
---- Result was:
file4 stderr stdin stdout
---- Result should have been:
file4 stdout
==== cmdAH-31.12 FAILED
==== cmdAH-31.13 Tcl_FileObjCmd: channels in other interp FAILED
==== Contents of test case:
safeInterp eval [list close $newFileId]
safeInterp eval [list file channels]
---- Result was:
stderr stdout stdin
---- Result should have been:
stdout
==== cmdAH-31.13 FAILED
cmdIL.test
==== cmdIL-1.24 Tcl_LsortObjCmd procedure, order of -index and -command
FAILED
==== Contents of test case:
catch {rename 1 ""}
proc testcmp {a b} {return [string compare $a $b]}
set l [list [list a b] [list c d]]
set result [list [catch {lsort -command testcmp -index 1 $l} msg] $msg]
rename testcmp ""
set result
---- Result was:
1 {invalid command name "1"}
---- Result should have been:
0 {{a b} {c d}}
==== cmdIL-1.24 FAILED
==== cmdIL-1.26 Tcl_LsortObjCmd procedure, offset indexing from end FAILED
==== Contents of test case:
lsort -index end-1 {{a 1 e i} {b 2 3 f g} {c 4 5 6 d h}}
---- Result was:
{b 2 3 f g} {c 4 5 6 d h} {a 1 e i}
---- Result should have been:
{c 4 5 6 d h} {a 1 e i} {b 2 3 f g}
==== cmdIL-1.26 FAILED
cmdInfo.test
cmdMZ.test
==== cmdMZ-1.4 Tcl_PwdObjCmd: failure FAILED
==== Contents of test case:
# We don't want this test to run on Linux because they do a
# permissions caching trick which causes this to fail. The
# caching is incorrect, but we have no control over that.
file delete -force foo
file mkdir foo
set cwd [pwd]
cd foo
file attr . -permissions 000
set result [list [catch {pwd} msg] $msg]
cd $cwd
file delete -force foo
set result
---- Result was:
0 /Users/tk/Desktop/Downloads/tcl8.3.4/unix/foo
---- Result should have been:
1 {error getting working directory name: permission denied}
==== cmdMZ-1.4 FAILED
compExpr-old.test
compExpr.test
compile.test
concat.test
dcall.test
dstring.test
encoding.test
env.test
error.test
eval.test
event.test
exec.test
execute.test
expr-old.test
expr.test
fCmd.test
fileName.test
for-old.test
for.test
foreach.test
TclExecuteByteCode: done instruction at pc 47: stack top 7 != entry stack
top 6
TclExecuteByteCode execution failure: end stack top != start stack top
make: *** [test] Abort trap
[localhost
ownloads/tcl8.3.4/unix] root#
[below is the error from tk where it appear
to have a problem with linking]