<div dir="ltr">Dear All,<br><br>I have installed cwb v. 3.4.12) and the CWB Perl module on an Ubuntu 16.04 machine. But I was unable to install CWB-CL and therefore also CWB-CQI.<br>I followed the standard installation procedure:<br> perl Makefile.PL<br> make test<br>at this point, the system issues the error messages shown below.<br>Any suggestion?<br><br>Thank you in advance,<br>Jorge<br><div>##############################<wbr>##################<br>jvivaldi@corpora-iula:~/cwb-<wbr>perl/CWB-CL$ perl Makefile.PL<br>Checking for CL library ... ok<br>Checking if your kit is complete...<br>Looks good<br>Generating a Unix-style Makefile<br>Writing Makefile for CWB::CL<br>Writing MYMETA.yml and MYMETA.json<br>jvivaldi@corpora-tcl-iula:~/<wbr>cwb-perl/CWB-CL$ make<br>cp lib/CWB/CL.pm blib/lib/CWB/CL.pm<br>cp lib/CWB/CL/Strict.pm blib/lib/CWB/CL/Strict.pm<br>Running Mkbootstrap for CWB::CL ()<br>chmod 644 "CL.bs"<br>"/usr/bin/perl" "/usr/share/perl/5.22/<wbr>ExtUtils/xsubpp" -typemap "/usr/share/perl/5.22/<wbr>ExtUtils/typemap" -typemap "CL.typemap" CL.xs > CL.xsc && mv CL.xsc CL.c<br>x86_64-linux-gnu-gcc -c -I/usr/local/cwb-3.4.12/<wbr>include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -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/x86_64-linux-gnu/<wbr>perl/5.22/CORE" CL.c<br>rm -f blib/arch/auto/CWB/CL/CL.so<br>x86_64-linux-gnu-gcc -shared -L/usr/local/lib -fstack-protector-strong CL.o -o blib/arch/auto/CWB/CL/CL.so \<br> -L/usr/local/cwb-3.4.12/lib -lcl -lm -lpcre -lglib-2.0 \<br><br>chmod 755 blib/arch/auto/CWB/CL/CL.so<br>"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CL.bs blib/arch/auto/CWB/CL/CL.bs 644<br>Manifying 2 pod documents<br>jvivaldi@corpora-iula:~/cwb-<wbr>perl/CWB-CL$ make test<br>Running Mkbootstrap for CWB::CL ()<br>chmod 644 "CL.bs"<br>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<br>t/00_load.t ............... ok<br>t/01_vss.t ................ 1/35 #<br># - registry directory: /usr/local/share/cwb/registry<br># - VSS corpus has 8043 word form tokens and 2111 types<br># - 'elephant' occurs 14 times in VSS corpus<br># - regexp "[a-z]+(ally|ily)"%c matches 24 types, 37 tokens<br># - index entries: finally, sleepily, finally, automatically, usually, ...<br># - VSS contains 6 stories with a total of 459 sentences<br># - found sentence 'It was an elephant .' in story 'The Garden'<br>t/01_vss.t ................ ok<br>t/02_utility_functions.t .. 1/18 #<br># - unify(|0|BAa|Ba|a|aaa|, |▒a|▒▒▒|0|aaa|) = |0|aaa|<br>*** Error in `/usr/bin/perl': munmap_chunk(): invalid pointer: 0x00007f49765ad980 ***<br>======= Backtrace: =========<br>/lib/x86_64-linux-gnu/libc.so.<wbr>6(+0x777e5)[0x7f49771557e5]<br>/lib/x86_64-linux-gnu/libc.so.<wbr>6(cfree+0x1a8)[0x7f4977162698]<br>/home/jvivaldi/cwb-perl/CWB-<wbr>CL/blib/arch/auto/CWB/CL/CL.<wbr>so(+0xeaf8)[0x7f4976394af8]<br>/usr/bin/perl(Perl_pp_<wbr>entersub+0x48a)[0x4bd3ca]<br>/usr/bin/perl(Perl_runops_<wbr>standard+0x16)[0x4b6276]<br>/usr/bin/perl(perl_run+0x21d)[<wbr>0x443b7d]<br>/usr/bin/perl(main+0x12b)[<wbr>0x41cbbb]<br>/lib/x86_64-linux-gnu/libc.so.<wbr>6(__libc_start_main+0xf0)[<wbr>0x7f49770fe830]<br>/usr/bin/perl(_start+0x29)[<wbr>0x41cbf9]<br>======= Memory map: ========<br>00400000-005cf000 r-xp 00000000 fc:00 130681 <wbr> /usr/bin/perl<br>007ce000-007cf000 r--p 001ce000 fc:00 130681 <wbr> /usr/bin/perl<br>007cf000-007d2000 rw-p 001cf000 fc:00 130681 <wbr> /usr/bin/perl<br>00c26000-012d1000 rw-p 00000000 00:00 0 <wbr> [heap]<br>7f497616e000-7f4976184000 r-xp 00000000 fc:00 521749 /lib/x86_64-linux-gnu/libgcc_<wbr>s.so.1<br>7f4976184000-7f4976383000 ---p 00016000 fc:00 521749 /lib/x86_64-linux-gnu/libgcc_<wbr>s.so.1<br>7f4976383000-7f4976384000 rw-p 00015000 fc:00 521749 /lib/x86_64-linux-gnu/libgcc_<wbr>s.so.1<br>7f4976386000-7f49763ac000 r-xp 00000000 fc:00 822133 /home/jvivaldi/cwb-perl/CWB-<wbr>CL/blib/arch/auto/CWB/CL/CL.so<br>7f49763ac000-7f49765ac000 ---p 00026000 fc:00 822133 /home/jvivaldi/cwb-perl/CWB-<wbr>CL/blib/arch/auto/CWB/CL/CL.so<br>7f49765ac000-7f49765ad000 r--p 00026000 fc:00 822133 /home/jvivaldi/cwb-perl/CWB-<wbr>CL/blib/arch/auto/CWB/CL/CL.so<br>7f49765ad000-7f49765ae000 rw-p 00027000 fc:00 822133 /home/jvivaldi/cwb-perl/CWB-<wbr>CL/blib/arch/auto/CWB/CL/CL.so<br>7f49765ae000-7f49765b6000 rw-p 00000000 00:00 0<br>7f49765b6000-7f49765be000 r-xp 00000000 fc:00 142069 /usr/lib/x86_64-linux-gnu/<wbr>perl/5.22.1/auto/Encode/<wbr>Encode.so<br>7f49765be000-7f49767bd000 ---p 00008000 fc:00 142069 /usr/lib/x86_64-linux-gnu/<wbr>perl/5.22.1/auto/Encode/<wbr>Encode.so<br>7f49767bd000-7f49767be000 r--p 00007000 fc:00 142069 /usr/lib/x86_64-linux-gnu/<wbr>perl/5.22.1/auto/Encode/<wbr>Encode.so<br>7f49767be000-7f49767bf000 rw-p 00008000 fc:00 142069 /usr/lib/x86_64-linux-gnu/<wbr>perl/5.22.1/auto/Encode/<wbr>Encode.so<br>7f49767c6000-7f49767ca000 r-xp 00000000 fc:00 141999 /usr/lib/x86_64-linux-gnu/<wbr>perl/5.22.1/auto/mro/mro.so<br>7f49767ca000-7f49769c9000 ---p 00004000 fc:00 141999 /usr/lib/x86_64-linux-gnu/<wbr>perl/5.22.1/auto/mro/mro.so<br>7f49769c9000-7f49769ca000 r--p 00003000 fc:00 141999 /usr/lib/x86_64-linux-gnu/<wbr>perl/5.22.1/auto/mro/mro.so<br>7f49769ca000-7f49769cb000 rw-p 00004000 fc:00 141999 /usr/lib/x86_64-linux-gnu/<wbr>perl/5.22.1/auto/mro/mro.so<br>7f49769ce000-7f49769d9000 r-xp 00000000 fc:00 272352 /usr/lib/x86_64-linux-gnu/<wbr>perl/5.22.1/auto/List/Util/<wbr>Util.so<br>7f49769d9000-7f4976bd8000 ---p 0000b000 fc:00 272352 /usr/lib/x86_64-linux-gnu/<wbr>perl/5.22.1/auto/List/Util/<wbr>Util.so<br>7f4976bd8000-7f4976bd9000 r--p 0000a000 fc:00 272352 /usr/lib/x86_64-linux-gnu/<wbr>perl/5.22.1/auto/List/Util/<wbr>Util.so<br>7f4976bd9000-7f4976bda000 rw-p 0000b000 fc:00 272352 /usr/lib/x86_64-linux-gnu/<wbr>perl/5.22.1/auto/List/Util/<wbr>Util.so<br>7f4976bde000-7f4976ea6000 r--p 00000000 fc:00 132075 /usr/lib/locale/locale-archive<br>7f4976ea6000-7f4976eaf000 r-xp 00000000 fc:00 521332 /lib/x86_64-linux-gnu/<a href="http://libcrypt-2.23.so" target="_blank">libcrypt<wbr>-2.23.so</a><br>7f4976eaf000-7f49770ae000 ---p 00009000 fc:00 521332 /lib/x86_64-linux-gnu/<a href="http://libcrypt-2.23.so" target="_blank">libcrypt<wbr>-2.23.so</a><br>7f49770ae000-7f49770af000 r--p 00008000 fc:00 521332 /lib/x86_64-linux-gnu/<a href="http://libcrypt-2.23.so" target="_blank">libcrypt<wbr>-2.23.so</a><br>7f49770af000-7f49770b0000 rw-p 00009000 fc:00 521332 /lib/x86_64-linux-gnu/<a href="http://libcrypt-2.23.so" target="_blank">libcrypt<wbr>-2.23.so</a><br>7f49770b0000-7f49770de000 rw-p 00000000 00:00 0<br>7f49770de000-7f497729e000 r-xp 00000000 fc:00 521673 /lib/x86_64-linux-gnu/<a href="http://libc-2.23.so" target="_blank">libc-2.<wbr>23.so</a><br>7f497729e000-7f497749e000 ---p 001c0000 fc:00 521673 /lib/x86_64-linux-gnu/<a href="http://libc-2.23.so" target="_blank">libc-2.<wbr>23.so</a><br>7f497749e000-7f49774a2000 r--p 001c0000 fc:00 521673 /lib/x86_64-linux-gnu/<a href="http://libc-2.23.so" target="_blank">libc-2.<wbr>23.so</a><br>7f49774a2000-7f49774a4000 rw-p 001c4000 fc:00 521673 /lib/x86_64-linux-gnu/<a href="http://libc-2.23.so" target="_blank">libc-2.<wbr>23.so</a><br>7f49774a4000-7f49774a8000 rw-p 00000000 00:00 0<br>7f49774ae000-7f49774c6000 r-xp 00000000 fc:00 521641 /lib/x86_64-linux-gnu/<a href="http://libpthread-2.23.so" target="_blank">libpthre<wbr>ad-2.23.so</a><br>7f49774c6000-7f49776c5000 ---p 00018000 fc:00 521641 /lib/x86_64-linux-gnu/<a href="http://libpthread-2.23.so" target="_blank">libpthre<wbr>ad-2.23.so</a><br>7f49776c5000-7f49776c6000 r--p 00017000 fc:00 521641 /lib/x86_64-linux-gnu/<a href="http://libpthread-2.23.so" target="_blank">libpthre<wbr>ad-2.23.so</a><br>7f49776c6000-7f49776c7000 rw-p 00018000 fc:00 521641 /lib/x86_64-linux-gnu/<a href="http://libpthread-2.23.so" target="_blank">libpthre<wbr>ad-2.23.so</a><br>7f49776c7000-7f49776cb000 rw-p 00000000 00:00 0<br>7f49776ce000-7f49777d6000 r-xp 00000000 fc:00 521667 /lib/x86_64-linux-gnu/<a href="http://libm-2.23.so" target="_blank">libm-2.<wbr>23.so</a><br>7f49777d6000-7f49779d5000 ---p 00108000 fc:00 521667 /lib/x86_64-linux-gnu/<a href="http://libm-2.23.so" target="_blank">libm-2.<wbr>23.so</a><br>7f49779d5000-7f49779d6000 r--p 00107000 fc:00 521667 /lib/x86_64-linux-gnu/<a href="http://libm-2.23.so" target="_blank">libm-2.<wbr>23.so</a><br>7f49779d6000-7f49779d7000 rw-p 00108000 fc:00 521667 /lib/x86_64-linux-gnu/<a href="http://libm-2.23.so" target="_blank">libm-2.<wbr>23.so</a><br>7f49779de000-7f49779e1000 r-xp 00000000 fc:00 521659 /lib/x86_64-linux-gnu/<a href="http://libdl-2.23.so" target="_blank">libdl-2.<wbr>23.so</a><br>7f49779e1000-7f4977be0000 ---p 00003000 fc:00 521659 /lib/x86_64-linux-gnu/<a href="http://libdl-2.23.so" target="_blank">libdl-2.<wbr>23.so</a><br>7f4977be0000-7f4977be1000 r--p 00002000 fc:00 521659 /lib/x86_64-linux-gnu/<a href="http://libdl-2.23.so" target="_blank">libdl-2.<wbr>23.so</a><br>7f4977be1000-7f4977be2000 rw-p 00003000 fc:00 521659 /lib/x86_64-linux-gnu/<a href="http://libdl-2.23.so" target="_blank">libdl-2.<wbr>23.so</a><br>7f4977be6000-7f4977c0c000 r-xp 00000000 fc:00 521242 /lib/x86_64-linux-gnu/<a href="http://ld-2.23.so" target="_blank">ld-2.23.<wbr>so</a><br>7f4977dfc000-7f4977dfe000 rw-p 00000000 00:00 0<br>7f4977e08000-7f4977e0b000 rw-p 00000000 00:00 0<br>7f4977e0b000-7f4977e0c000 r--p 00025000 fc:00 521242 /lib/x86_64-linux-gnu/<a href="http://ld-2.23.so" target="_blank">ld-2.23.<wbr>so</a><br>7f4977e0c000-7f4977e0d000 rw-p 00026000 fc:00 521242 /lib/x86_64-linux-gnu/<a href="http://ld-2.23.so" target="_blank">ld-2.23.<wbr>so</a><br>7f4977e0d000-7f4977e10000 rw-p 00000000 00:00 0<br>7ffe9d3ff000-7ffe9d420000 rw-p 00000000 00:00 0 [stack]<br>7ffe9d526000-7ffe9d528000 r--p 00000000 00:00 0 [vvar]<br>7ffe9d528000-7ffe9d52a000 r-xp 00000000 00:00 0 [vdso]<br>ffffffffff600000-<wbr>ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]<br>t/02_utility_functions.t .. Failed 8/18 subtests<br>t/03_holmes_regexp.t ...... 1/17 # HOLMES-DE contains 272 distinct word forms<br><br># Failed test 'validate regexp /[a-z]+/ '<br># at t/03_holmes_regexp.t line 39.<br># Structures begin differing at:<br># $got->[5] = '17'<br># $expected->[5] = '18'<br><br># Failed test 'validate regexp /\PL+/ '<br># at t/03_holmes_regexp.t line 39.<br># Structures begin differing at:<br># $got->[0] = Does not exist<br># $expected->[0] = '4'<br>Regex Compile Error: Invalid content of \{\}<br>Regex Compile Error: Invalid content of \{\}<br><br># Failed test 'validate regexp /\p{Lu}\p{Ll}+/ '<br># at t/03_holmes_regexp.t line 39.<br># Structures begin differing at:<br># $got->[0] = Does not exist<br># $expected->[0] = '0'<br>Regex Compile Error: Invalid back reference<br>Regex Compile Error: Invalid back reference<br><br># Failed test 'validate regexp /.*(\pL).*\1.*\1.*/ '<br># at t/03_holmes_regexp.t line 39.<br># Structures begin differing at:<br># $got->[0] = Does not exist<br># $expected->[0] = '27'<br><br># Failed test 'validate regexp /\PL+/ %c'<br># at t/03_holmes_regexp.t line 39.<br># Structures begin differing at:<br># $got->[0] = Does not exist<br># $expected->[0] = '4'<br><br># Failed test 'validate regexp /sa./ %c'<br># at t/03_holmes_regexp.t line 39.<br># Structures begin differing at:<br># $got->[0] = Does not exist<br># $expected->[0] = '36'<br><br># Failed test 'validate regexp /da▒?/ %c'<br># at t/03_holmes_regexp.t line 39.<br># Structures begin differing at:<br># $got->[0] = Does not exist<br># $expected->[0] = '30'<br><br># Failed test 'validate regexp /da▒/ %c'<br># at t/03_holmes_regexp.t line 39.<br># Structures begin differing at:<br># $got->[0] = Does not exist<br># $expected->[0] = '134'<br><br># Failed test 'validate regexp /da[▒]/ %c'<br># at t/03_holmes_regexp.t line 39.<br># Structures begin differing at:<br># $got->[0] = Does not exist<br># $expected->[0] = '134'<br><br># Failed test 'validate regexp /z\w+/ '<br># at t/03_holmes_regexp.t line 39.<br># Structures begin differing at:<br># $got->[1] = Does not exist<br># $expected->[1] = '117'<br># Looks like you failed 10 tests of 17.<br>t/03_holmes_regexp.t ...... Dubious, test returned 10 (wstat 2560, 0xa00)<br>Failed 10/17 subtests<br>t/10_errors_strict.t ...... 1/45 #<br># ----- testing error conditions ----- (expect to see error messages below)<br>setup_corpus: can't locate <potter> in data/registry<br>Regex Compile Error: Unmatched ( or \(<br>Regex Compile Error: Unmatched ( or \(<br>Regex Compile Error: Invalid content of \{\}<br>Regex Compile Error: Invalid content of \{\}<br># ----- end of error tests ----- (further messages are real errors)<br>t/10_errors_strict.t ...... ok<br>t/11_errors_lax.t ......... 1/62 #<br># ----- testing error conditions ----- (expect to see error messages below)<br>setup_corpus: can't locate <potter> in data/registry<br>Regex Compile Error: Unmatched ( or \(<br>Regex Compile Error: Unmatched ( or \(<br>Regex Compile Error: Invalid content of \{\}<br>Regex Compile Error: Invalid content of \{\}<br># ----- end of error tests ----- (further messages are real errors)<br>t/11_errors_lax.t ......... ok<br><br>Test Summary Report<br>-------------------<br>t/02_utility_functions.t (Wstat: 134 Tests: 10 Failed: 0)<br> Non-zero wait status: 134<br> Parse errors: Bad plan. You planned 18 tests but ran 10.<br>t/03_holmes_regexp.t (Wstat: 2560 Tests: 17 Failed: 10)<br> Failed tests: 3-5, 7, 10-11, 13, 15-17<br> Non-zero exit status: 10<br>Files=6, Tests=171, 6 wallclock secs ( 0.12 usr 0.01 sys + 0.87 cusr 0.11 csys = 1.11 CPU)<br>Result: FAIL<br>Failed 2/6 test programs. 10/171 subtests failed.<br>Makefile:989: recipe for target 'test_dynamic' failed<br>make: *** [test_dynamic] Error 255<br><br>##############################<wbr>##################<br><br clear="all"><br>-- <br><div class="gmail-m_6823615903641926015gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Jorge Vivaldi Palatresi<br>Institut Universitari de Lingüística
Aplicada<br>Universitat Pompeu Fabra<br>C/ Roc Boronat, 138<br>08018
Barcelona<br>Espanya<br><br><a href="tel:+34%20935%2042%2023%2032" value="+34935422332" target="_blank">+34 93 542 2332</a><br><br></div></div></div></div></div></div></div></div></div></div></div>
</div></div>