You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-dev@tcl.apache.org by Simon Hefti <he...@netcetera.ch> on 2002/08/20 19:32:01 UTC
websh3.5 build experiences (against tcl8.4b2, on Red Hat Linux 7.3
2.96-110
Hi there,
it seems that the build process is not yet quite clean (if
under somewhat special conditions). This is what I encountered:
1) autoconf required to get a configure script
-> I suggest to include a autoconf'ed configure in the package
2) tcl8.4 not found:
--> change in configure.in to:
AC_PATH_PROGS(TCLSH_PROG, tclsh8.4${EXEEXT} tclsh84${EXEEXT} tclsh8.3${EXEEXT} tclsh83${EXEEXT} tclsh8.2${EXEEXT} tclsh82${EXEEXT}, :, \
:${TCL_PACKAGE_PATH}/../bin:.:${prefix}:${exec_prefix}:${PATH})
3) 5 tests not passing (when compiled against 8.4b2) (see below)
One seems to be a UTF/Unicode problem. The other a fixed
"tclsh8.3" string.
4) make install: tries (and fails) to install quickref.html and
quickref.txt
test output:
Test configuration:
+ Tcl 8.4b2
+ /home/hefti/projects/tdom/src/websh-3.5.0/src/tests/../unix/websh3.5.0
+ logfile: webtest.log
+ quiet mode
+ working dir: /home/hefti/projects/tdom/src/websh-3.5.0/src/tests
+ only running tests that match: *
+ skipping test files that match: l.*.test
Tests began at Tue Aug 20 07:28:38 PM CEST 2002
==== dehtmlify-2.1 test numeric entities FAILED
==== Contents of test case:
web::dehtmlify " !"#\$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ\[\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
---- Result was:
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£?¥?§?©ª«¬®¯°±²³?µ¶·?¹º»???¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
---- Result should have been (exact matching):
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
==== dehtmlify-2.1 FAILED
will delete logfilter0, logdest0
filters are: logfilter0 *.alert-debug
dests are: logdest0 *.alert-debug
testing file locking: 10 concurrent processes with 100 file locks each
(this may take a while...) done
==== htmlify-1.3 websh3_htmlify: test complete charset FAILED
==== Contents of test case:
set in " !\"#\$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ\[\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
set out [web::htmlify -numeric $in]
---- Result was:
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¥§©ª«¬­®¯°±²³µ¶·¹º»¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
---- Result should have been (exact matching):
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
==== htmlify-1.3 FAILED
==== htmlify-2.1 websh3_htmlify: test complete charset, non-numeric FAILED
==== Contents of test case:
set in " !\"#\$%&'()*+,-./0123456789:;<=>?@"
append in "ABCDEFGHIJKLMNOPQRSTUVWXYZ\[\\\]^_`abcdefghijklmnopqrstuvwxyz"
append in "{|}~ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ"
append in "רÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
set out [web::htmlify $in]
---- Result was:
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¥§©ª«¬­®¯°±²³µ¶·¹º»¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
---- Result should have been (exact matching):
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
==== htmlify-2.1 FAILED
==== htmlify-2.2 "websh3_htmlify: is deHtmlify(htmlify(in)) == in ?, except for nbsp" FAILED
==== Contents of test case:
set in " !\"#\$%&'()*+,-./0123456789:;<=>?@"
append in "ABCDEFGHIJKLMNOPQRSTUVWXYZ\[\\\]^_`abcdefghijklmnopqrstuvwxyz"
append in "{|}~¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ"
append in "רÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
string compare [web::dehtmlify [web::htmlify $in]] $in
---- Result was:
-1
---- Result should have been (exact matching):
0
==== htmlify-2.2 FAILED
08/20/2002 07:28:40 PM [31161] user.debug: test
08/20/2002 07:28:40 PM [31161] user.debug: test
08/20/2002 07:28:40 PM [31161] user.debug: test
08/20/2002 07:28:40 PM [31161] user.debug: test
==== mintest-1.1 create an interpreter, load websh3 FAILED
==== Contents of test case:
set fn "mintest1_1.tcl"
set fh [open $fn "w"]
puts $fh {catch {web::copyright} msg}
puts $fh {set res $msg}
puts $fh {load $env(WEB_LIBRARY)}
puts $fh {catch {web::encrypt test} msg}
puts $fh {lappend res $msg}
puts $fh {puts $res}
close $fh
set res ""
catch {
## fixme: use variable for tclsh8.3
set res [exec tclsh8.3 $fn]
}
file delete -force $fn
set res
---- Result was:
---- Result should have been (exact matching):
invalid command name web::copyright XDq3pUAU8b
==== mintest-1.1 FAILED
Tests ended at Tue Aug 20 07:28:42 PM CEST 2002
webtest.ws3: Total 418 Passed 405 Skipped 8 Failed 5
Sourced 28 Test Files.
Files with failing tests: dehtmlify.test htmlify.test mintest.test
Number of tests skipped for each constraint:
6 emptyTest
1 pcOnly
1 unixOnly, emptyTest
... works for me !
Simon.
------------------------------------------------------------------------
Simon Hefti simon.hefti@netcetera.ch
Netcetera AG, 8040 Zuerich phone +41 1 247 79 47 fax +41 1 247 70 75
---------------------------------------------------------------------
To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-dev-help@tcl.apache.org