platform: sparc solaris 8, sun c compiler
tcl: 8.5.4 release
configured with options --prefix=/usr/tcl85 \
--enable-shared --enable-symbols \
--enable-stubs CC=/opt/SUNWspro/bin/cc
$gmake all
results in libTrf2.1.2.so being created.
$gmake test
results in
(echo 'package ifneeded Trf 2.1.2 \
[list load [file join $dir libTrf2.1.2.so]]'\
) > pkgIndex.tcl
TCL_LIBRARY=`echo /vol/tclsrcsol/tcl85/tcl/library` LD_LIBRARY_PATH=".:/vol/tclsrcsol/tcl85/tcl/unix:/usr/sfw/lib:/usr/dt/lib:/usr/dt/lib/sdtimage:/usr/openwin/lib:/usr/lib:/usr/ucblib:/cas/lib/sun4" PATH=".:/vol/tclsrcsol/tcl85/tcl/unix:/usr/tcl85/bin:/projects/sprs_lwv/tcl86/bin:/vol/tclsrcsol/tcl85test/bin:/vol/tclsrcsol/TclDevKit-4.1.1/bin:/vol/tclsrcsol/TclDevKit-4.0.4/bin:/vol/tclsrcsol/ActiveTcl-8.5.4/bin:/vol/tclsrcsol/ActiveTcl/bin:/vol/tclsrcsol/TclDevKit/bin:/usr/tcl84/bin:/home/lwv27/bin/D.frontend:/home/lwv27/bin/sun4:/opt/SUNWspro/bin:/vol/javaNFS/jdk1.6.0_06/:/usr/j2se/bin:/usr/java/bin:/usr/local/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/opt/SUNWsmtv/bin:/cas/bin/sun4:/cas/abin/sun4:/cas/X11/sun4/bin:/usr/ccs/bin:/lprod/bin:/usr/sbin:/usr/ucb:/cas/tools/bin/sun4:/cas/X11/sun4/tools/bin:/opt/staroffice8/program:/home/lwv27/bin:/etc:/opt/EMCpower/bin/64:/etc/emc/bin:/home/lwv27/bin/D.aws:/home/lwv27/bin/sol2:/home/lwv27/bin/D.ksh:/projects/xopsrc/sun4/bin:/projects/xopsrc/bin:/projects/gnu/sparc-sun-solaris2.8/bin:/projects/sprs_lwv/sol26/bin:/projects/sprs_lwv/sol26/bin/mime:/projects/sprs_lwv/sol2/bin:/projects/sprs_lwv/bin/sol2:/projects/sprs_lwv/bin:/projects/sprs_lwv/bin/mime:/projects/intranet/bin:/vol/gnu/gcc/bin:/usr/sfw/bin:/opt/sfw/bin:/cas/test/bin/sun4:/cas/tools/pdbin/sun4:/home/lwv27/bin/D.news:/projects/clearcase/bin:/usr/atria/bin:/usr/local/perl5/bin:/usr/local/perl5/lib/site_perl/5.8.4/sun4-solaris/auto/Image/Magick/bin:/home/lwv27/bin/D.mistypes:/home/lwv27/bin/D.toys:/home/lwv27/bin/D.tools:/usr/openwin/demo:/projects/npd/npdweb/bin-sol2:/vol/museprd/tools/bin/sun4:/projects/gnu/bin" TCLLIBPATH="." /vol/tclsrcsol/tcl85/tcl/unix/tclsh `echo ./tests/all`
no files matched glob pattern "*.test"
while executing
"glob *.test"
invoked from within
"lsort [glob *.test]"
invoked from within
"foreach i [lsort [glob *.test]] {
puts stdout $i
source $i
}"
(file "./tests/all" line 8)
gmake: *** [test] Error 1
The problem is that the glob in tests/all appears to be occurring in the build directory rather than in the tests directory.
If I go ahead and install Trf, then cd into the tests directory, I then see:
$ /usr/tcl85/bin/tclsh8.5 ./all
everything looks fine until:
zip.test
==== zip-1.2-8.x zip compression with nowrap
==== Contents of test case:
hex -mode encode [zip -mode compress -nowrap true $text]
==== Test generated error:
cannot open libz: ld.so.1: tclsh8.5: fatal: libz.sl: open failed: No such file or directory
==== zip-1.3-8.x zip decompression with nowrap
==== Contents of test case:
zip -mode decompress -nowrap true [hex -mode decode $text_compressed_as_hex_with_nowrap]
==== Test generated error:
cannot open libz
cannot open libz
while executing
"zip -mode compress $data"
invoked from within
"set zdata [zip -mode compress $data]"
(file "zip.test" line 82)
invoked from within
"source $i"
("foreach" body line 3)
invoked from within
"foreach i [lsort [glob *.test]] {
puts stdout $i
source $i
}"
(file "./all" line 8)
Two more notes.
1. The version of Trf source code that is being used here is from teacup and is:
package-Trf-2.1.2.2007.11.22.23.11.12-source.zip
2. If I run the same test suite using the activetcl tclsh and its installed libTrf, the test suite completes successfully.
The failure comes when I configure and compile the teapot source code on sparc solaris 8.