[CWB] CWB Installation problem

"Andrés Chandía" andres at chandia.net
Sun Mar 26 14:03:46 CEST 2017



No success on the side of CWB-CL, both trunk and 3.0 versions give errors.

TRUNK
VERSION

CWB-CL# make
cp lib/CWB/CL.pm blib/lib/CWB/CL.pm
cp
lib/CWB/CL/Strict.pm blib/lib/CWB/CL/Strict.pm
Running Mkbootstrap for CL ()
chmod
644 "CL.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty'
-- CL.bs blib/arch/auto/CWB/CL/CL.bs 644
"/usr/bin/perl"
"/usr/share/perl/5.14/ExtUtils/xsubpp"  -typemap
'/usr/share/perl/5.14/ExtUtils/typemap' -typemap '/root/cwb-perl/CWB-CL/CL.typemap' 
CL.xs > CL.xsc
mv CL.xsc CL.c
cc -c  -I/usr/local/cwb-3.4.11/include
-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g  
-DVERSION=\"3.00401\" -DXS_VERSION=\"3.00401\" -fPIC
"-I/usr/lib/perl/5.14/CORE"   CL.c
rm -f
blib/arch/auto/CWB/CL/CL.so
LD_RUN_PATH="/usr/lib/x86_64-linux-gnu" cc 
-shared -L/usr/local/lib -fstack-protector CL.o  -o blib/arch/auto/CWB/CL/CL.so 
\
       -L/usr/local/cwb-3.4.11/lib -lcl -lm
-L/usr/lib/x86_64-linux-gnu -lpcre -lglib-2.0   \
      
chmod 755 blib/arch/auto/CWB/CL/CL.so
Manifying 2 pod documents
root at iac-glicom:~/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,  1
wallclock secs ( 0.07 usr  0.02 sys +  0.61 cusr  0.06 csys =  0.76
CPU)
Result: FAIL
Failed 1/6 test programs. 3/179 subtests failed.
make: ***
[test_dynamic] Error 255



CWB-CL-3.0

cp lib/CWB/CL.pm
blib/lib/CWB/CL.pm
cp lib/CWB/CL/Strict.pm blib/lib/CWB/CL/Strict.pm
Running
Mkbootstrap for CL ()
chmod 644 "CL.bs"
"/usr/bin/perl"
-MExtUtils::Command::MM -e 'cp_nonempty' -- CL.bs blib/arch/auto/CWB/CL/CL.bs 644
"/usr/bin/perl" "/usr/share/perl/5.14/ExtUtils/xsubpp"  -typemap
'/usr/share/perl/5.14/ExtUtils/typemap' -typemap
'/root/cwb-perl/Perl-CWB-CL-3.0/CL.typemap'  CL.xs > CL.xsc
mv CL.xsc CL.c
cc -c  -I/usr/local/cwb-3.4.11/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN
-fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"3.000002\"
-DXS_VERSION=\"3.000002\" -fPIC "-I/usr/lib/perl/5.14/CORE"  
CL.c
CL.xs: In function ‘XS_CWB__CL_cl_normalize’:
CL.xs:305:11: error:
too few arguments to function ‘cl_string_canonical’
In file included from
CL.xs:7:0:
/usr/local/cwb-3.4.11/include/cwb/cl.h:884:6: note: declared here
make:
*** [CL.o] Error 1




El Dom, 26 de Marzo de 2017, 13:57,
"Andrés Chandía" escribió:
 
I installed Perl-CWB-3.0 and then again trunk version, and things went well ????


El Dom, 26 de Marzo de 2017, 13:32, "Andrés Chandía"
escribió:
  trunk version of  perl/CWB

gzip is there:
:~/cwb-perl/CWB# whereis  gzip
gzip: /bin/gzip /usr/share/man/man1/gzip.1.gz

anyway


/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.5 seconds
t/20_encode_vss.t ...... ok   
t/30_cqp_basic.t ....... ok     
t/31_cqp_queries.t ..... 33/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 .. 1/2 # CEQL benchmark: 20.0 ms (load), 2.25 ms (parse)
t/43_ceql_benchmark.t .. ok   
t/44_ceql_bncweb.t ..... 1/180 # 205 ms for 174 queries
= 1.18 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,  6 wallclock secs ( 0.17 usr  0.05 sys +  2.52 cusr  0.36 csys =  3.10
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!  


_______________________

            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/03e96bfc/attachment-0001.html>


More information about the CWB mailing list