[CWB] CWB Installation problem
"Andrés Chandía"
andres at chandia.net
Sun Mar 26 16:42:41 CEST 2017
and
/cwb-perl/Perl-CWB-CL-3.0# 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/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, 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/98769184/attachment-0001.html>
More information about the CWB
mailing list