[CWB] CWB Installation problem

"Andrés Chandía" andres at chandia.net
Sun Mar 26 16:36:05 CEST 2017



Stil, errors, even reinstalling main CWB

cwb-perl/CWB-CL# make test
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CL.bs
blib/arch/auto/CWB/CL/CL.bs 644
PERL_DL_NONLAZY=1 "/usr/bin/perl"
"-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
*Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ............... ok   
t/01_vss.t ................ 1/35 # 
#
- registry directory: /usr/local/cwb-3.4.11/share/cwb/registry
# - VSS corpus has 8043
word form tokens and 2111 types
# - 'elephant' occurs 14 times in VSS corpus
# -
regexp "[a-z]+(ally|ily)"%c matches 24 types, 37 tokens
# - index entries:
finally, sleepily, finally, automatically, usually, ...
# - VSS contains 6 stories with a
total of 459 sentences
# - found sentence 'It was an elephant .' in story 'The Garden'
t/01_vss.t ................ ok     
t/02_utility_functions.t ..
1/18 # 
# - unify(|0|BAa|Ba|a|aaa|, |�a|���|0|aaa|) =
|0|aaa|
t/02_utility_functions.t .. ok     
t/03_holmes_regexp.t
...... 1/17 # HOLMES-DE contains 272 distinct word forms

#   Failed test
'validate regexp /da�?/ %c'
#   at t/03_holmes_regexp.t line 39.
#     Structures begin differing at:
#          $got->[1] = Does not exist
#     $expected->[1] = '134'

#   Failed test
'validate regexp /da�/ %c'
#   at t/03_holmes_regexp.t line 39.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = '134'

#   Failed test
'validate regexp /da[�]/ %c'
#   at t/03_holmes_regexp.t line 39.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = '134'
# Looks like you failed 3 tests of
17.
t/03_holmes_regexp.t ...... Dubious, test returned 3 (wstat 768, 0x300)
Failed
3/17 subtests 
t/10_errors_strict.t ...... 1/45 # 
# ----- testing error conditions
----- (expect to see error messages below)
cl_new_corpus: can't locate <potter> in
data/registry
CL: Regex Compile Error: missing )
Regex Compile Error: missing )
CL: Regex Compile Error: number too big in {} quantifier
Regex Compile Error: number
too big in {} quantifier
# ----- end of error tests ----- (further messages are real
errors)
t/10_errors_strict.t ...... ok     
t/11_errors_lax.t
......... 1/62 # 
# ----- testing error conditions ----- (expect to see error messages
below)
cl_new_corpus: can't locate <potter> in data/registry
CL: Regex Compile
Error: missing )
Regex Compile Error: missing )
CL: Regex Compile Error: number too
big in {} quantifier
Regex Compile Error: number too big in {} quantifier
# -----
end of error tests ----- (further messages are real errors)
t/11_errors_lax.t .........
ok     

Test Summary Report
-------------------
t/03_holmes_regexp.t    (Wstat: 768 Tests: 17 Failed: 3)
  Failed
tests:  13, 15-16
  Non-zero exit status: 3
Files=6, Tests=179,  0
wallclock secs ( 0.09 usr  0.02 sys +  0.52 cusr  0.06 csys =  0.69
CPU)
Result: FAIL
Failed 1/6 test programs. 3/179 subtests failed.
make: ***
[test_dynamic] Error 255



El Dom, 26 de Marzo de 2017, 16:08, Stefan
Evert escribió:
 

The error was in CQP, not the Perl modules. You have to reinstall the main CWB from SVN.



--
Sent from a small, but cool hand-held device without keyboard. Please excuse brevity.


Stefan Evert
purl.org/stefan.evert | stefan.evert at fau.de


Am 26.03.2017 um 15:29 schrieb Andrés Chandía
andres at chandia.net>:



svn co http://svn.code.sf.net/p/cwb/code/perl/trunk cwb-perl
cd cwb-perl/CWB

/cwb-perl/CWB# perl Makefile.PL
IMS Open Corpus Workbench v3.4.11 found in
/usr/local/cwb-3.4.11 tree.
Configuraion saved to file lib/CWB/Config.pm
Checking if
your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing
Makefile for CWB
Writing MYMETA.yml and MYMETA.json


cwb-perl/CWB#
make
cp lib/CWB/Encoder.pm blib/lib/CWB/Encoder.pm
cp lib/CWB/CQP.pm
blib/lib/CWB/CQP.pm
cp lib/CWB/CEQL.pm blib/lib/CWB/CEQL.pm
cp
lib/CWB/CEQL/Parser.pm blib/lib/CWB/CEQL/Parser.pm
cp lib/CWB.pm blib/lib/CWB.pm
cp
lib/CWB/CEQL/String.pm blib/lib/CWB/CEQL/String.pm
cp lib/CWB/Config.pm
blib/lib/CWB/Config.pm
cp script/cwb-align-export blib/script/cwb-align-export
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' --
blib/script/cwb-align-export
cp script/cwb-align-import blib/script/cwb-align-import
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' --
blib/script/cwb-align-import
cp script/cwb-convert-to-utf8
blib/script/cwb-convert-to-utf8
"/usr/bin/perl" -MExtUtils::MY -e
'MY->fixin(shift)' -- blib/script/cwb-convert-to-utf8
cp script/cwb-make
blib/script/cwb-make
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' --
blib/script/cwb-make
cp script/cwb-regedit blib/script/cwb-regedit
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' --
blib/script/cwb-regedit
cp script/cwb-split-vrt blib/script/cwb-split-vrt
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' --
blib/script/cwb-split-vrt
Manifying 6 pod documents
Manifying 6 pod documents


/cwb-perl/CWB# make test
PERL_DL_NONLAZY=1 "/usr/bin/perl"
"-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
*Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ............ ok   
t/10_cwb_tools.t ....... ok     
t/11_cwb_file.t
........ ok     
t/12_cwb_tempfile.t .... ok   
t/13_cwb_shell.t ....... ok   
t/14_cwb_registry.t .... ok     
t/20_encode_vss.t ...... 1/6 # VSS corpus encoded in
0.2 seconds
t/20_encode_vss.t ...... ok   
t/30_cqp_basic.t ....... ok     
t/31_cqp_queries.t ..... 1/39 
=+===CWB::CQP ERROR=====
 | gzip: +.gz: No such
file or directory
=+== occurred at t/31_cqp_queries.t line 129.
# Looks like your
test exited with -1 just after 35.
t/31_cqp_queries.t ..... Dubious, test returned 255
(wstat 65280, 0xff00)
Failed 4/39 subtests 
t/32_cqp_recode.t ...... ok     
t/40_ceql_parser.t ..... ok     
t/41_ceql_string.t ..... ok     
t/42_ceql_grammar.t .... ok     
t/43_ceql_benchmark.t .. 2/2 # CEQL benchmark: 31.8 ms
(load), 3.87 ms (parse)
t/43_ceql_benchmark.t .. ok   
t/44_ceql_bncweb.t .....
1/180 # 136 ms for 174 queries = 0.78 ms / query
t/44_ceql_bncweb.t ..... ok       

Test Summary Report
-------------------
t/31_cqp_queries.t   (Wstat: 65280
Tests: 35 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You
planned 39 tests but ran 35.
Files=15, Tests=492,  4 wallclock secs ( 0.19 usr  0.03 sys
+  2.50 cusr  0.29 csys =  3.01 CPU)
Result: FAIL
Failed 1/15 test programs. 0/492
subtests failed.
make: *** [test_dynamic] Error 255





_______________________
             andrés chandía

NMT | Dungupeyem | Corlexim

administrador de:
Parles.upf | Amind terapia | Mapuche koyaktu | Nocando |
mail: ONG Mapuche koyaktu | Psicoaching
|
P
No imprima innecesariamente.
¡Cuide el medio ambiente!

 


_______________________

            andrés
chandía

NMT |
Dungupeyem | Corlexim

administrador de:
Parles.upf | Amind
terapia | Mapuche koyaktu | Nocando |
mail: ONG Mapuche koyaktu | Psicoaching |
P No imprima innecesariamente. ¡Cuide el medio ambiente!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20170326/ef444caa/attachment.html>


More information about the CWB mailing list