[CWB] Problems with cwb-perl

Hardie, Andrew a.hardie at lancaster.ac.uk
Mon Sep 7 15:45:22 CEST 2020


Or maybe I won't be on it, if Stefan beats me to it. Thanks Stefan!


-----Original Message-----
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Hardie, Andrew
Sent: 07 September 2020 14:39
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Subject: Re: [CWB] Problems with cwb-perl


Hi Simon,

You need to replace the symbol "HOW_MANY"  with numeral 7 on line 72 of /perl/trunk/CWB/t/35_cqp_kwic.t

Or, wait for me to fix it in trunk (I *thought* I'd committed the completed version with this filled in, apparently not, I must have missed a checkin)

I'll be on that within the next hour.

best

Andrew.


-----Original Message-----
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Simon Meier-Vieracker
Sent: 07 September 2020 14:10
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Subject: [CWB] Problems with cwb-perl


Hi,

when trying to install the Perl API on my MacBook (OS 10.15.6) – for now I use the trunk version as indicated here https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwb.sourceforge.net%2Fdevelopers.php%23svn&amp;data=02%7C01%7Ca.hardie%40lancaster.ac.uk%7Cd2a00efa937e4b6a647b08d8533376d5%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C1%7C637350827802762541&amp;sdata=zLS%2Fxrkwf6dYJJfSy0dR5DS9jW%2B7K12WUsKBDW7An1E%3D&amp;reserved=0 – I run into the following problem with the command „make test“:

> (base) simon at Simons-MacBook-Pro-2 CWB % make test
> PERL_DL_NONLAZY=1 "/usr/local/Cellar/perl/5.32.0/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.5 seconds 
> t/20_encode_vss.t ....... ok t/21_encode_crlf.t ...... ok 
> t/22_encode_autonull.t .. 2/3 # VSS corpus encoded in 0.4 seconds 
> t/22_encode_autonull.t .. ok t/30_cqp_basic.t ........ ok 
> t/31_cqp_queries.t ...... ok t/32_cqp_recode.t ....... ok 
> t/33_cqp_errors.t ....... ok t/34_cqp_crlf.t ......... ok 
> t/35_cqp_kwic.t ......... 1/19 skip() was passed a non-numeric number 
> of tests.  Did you get the arguments backwards? at t/35_cqp_kwic.t line 72 # Looks like you planned 19 tests but ran 13.
> t/35_cqp_kwic.t ......... Failed 6/19 subtests
>       (less 6 skipped subtests: 7 okay) t/36_cqp_source.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 ... 1/2 # CEQL
> benchmark: 12.7 ms (load), 0.82 ms (parse) t/43_ceql_benchmark.t ...
> ok t/44_ceql_bncweb.t ...... 1/180 # 46 ms for 174 queries = 0.27 ms / 
> query t/44_ceql_bncweb.t ...... ok t/45_ceql_new.t ......... ok
>
> Test Summary Report
> -------------------
> t/35_cqp_kwic.t       (Wstat: 0 Tests: 13 Failed: 0)
>   Parse errors: Bad plan.  You planned 19 tests but ran 13.
> Files=22, Tests=700,  4 wallclock secs ( 0.10 usr  0.04 sys +  2.42 
> cusr  1.20 csys =  3.76 CPU)
> Result: FAIL
> Failed 1/22 test programs. 0/700 subtests failed.
> make: *** [test_dynamic] Error 255

As a result, the scripts as „cwb-make“ can’t be found after installing the package with „sudo make install“.

Best regards
Simon
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fliste.sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&amp;data=02%7C01%7Ca.hardie%40lancaster.ac.uk%7Cd2a00efa937e4b6a647b08d8533376d5%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C1%7C637350827802762541&amp;sdata=oLXNslna4zuNKeRKh1wm0p%2BqUsjGBBEVJhgO0oa7xU4%3D&amp;reserved=0


More information about the CWB mailing list