For this step make test gives these errors, make install goes well<br /><br />CWB-Web$ make
test<br />PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t<br />t/00_load.t .. 1/3 <br
/># Failed test 'use CWB::Web::Query;'<br /># at t/00_load.t line
8.<br /># Tried to use 'CWB::Web::Query'.<br
/># Error: Can't load
'/usr/local/lib/perl/5.12.4/auto/CWB/CL/CL.so' for module CWB::CL:
/usr/local/lib/perl/5.12.4/auto/CWB/CL/CL.so: undefined symbol: g_utf8_skip at
/usr/lib/perl/5.12/DynaLoader.pm line 192.<br /># at
/home/andres/cwb/cwb-perl/CWB-Web/blib/lib/CWB/Web/Query.pm line 6<br /># Compilation failed
in require at /home/andres/cwb/cwb-perl/CWB-Web/blib/lib/CWB/Web/Query.pm line 6.<br /># BEGIN
failed--compilation aborted at /home/andres/cwb/cwb-perl/CWB-Web/blib/lib/CWB/Web/Query.pm
line 6.<br /># Compilation failed in require at (eval 9) line 2.<br /># BEGIN
failed--compilation aborted at (eval 9) line 2.<br /><br /># Failed test 'use
CWB::Web::Search;'<br /># at t/00_load.t line 9.<br />#
Tried to use 'CWB::Web::Search'.<br /># Error: Attempt to reload
CWB/CL.pm aborted.<br /># Compilation failed in require at
/home/andres/cwb/cwb-perl/CWB-Web/blib/lib/CWB/Web/Search.pm line 5.<br /># BEGIN
failed--compilation aborted at /home/andres/cwb/cwb-perl/CWB-Web/blib/lib/CWB/Web/Search.pm
line 5.<br /># Compilation failed in require at (eval 12) line 2.<br /># BEGIN
failed--compilation aborted at (eval 12) line 2.<br /># Looks like you failed 2 tests of 3.<br
/>t/00_load.t .. Dubious, test returned 2 (wstat 512, 0x200)<br />Failed 2/3 subtests <br
/><br />Test Summary Report<br />-------------------<br />t/00_load.t (Wstat: 512 Tests: 3
Failed: 2)<br /> Failed tests: 2-3<br /> Non-zero exit status: 2<br
/>Files=1, Tests=3, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.05 cusr
0.01 csys = 0.09 CPU)<br />Result: FAIL<br />Failed 1/1 test programs. 2/3 subtests
failed.<br />make: *** [test_dynamic] Error 2<br /><br /><br />_______________________<br
/> andrés
chandía<br /><a title="This external link will open in a new window" target="_blank"
href="http://www.chandia.net"><img border="0" alt="chandia.net"
src="http://www.chandia.net/sites/default/files/images/chandia.netd.png" /></a><br /><span
style="font-size: 18pt; color: rgb(79, 98, 40); font-family: Webdings;">P </span><span
style="font-size: 10pt; color: rgb(79, 98, 40); font-family: 'Arial','sans-serif';">No imprima
innecesariamente. ¡Cuide el medio ambiente!</span><br /><br />On Fri, November 4, 2011
11:52 am, "Andrés Chandía" wrote:<br /> <!-- begin sanitized html -->
Arriving at the CWB-CL installation<br />I've got this:<br /><br />perl Makefile.PL --config
/usr/local/cwb-3.4.0/bin/cwb-config<br />Checking for CL library ... ok<br />Checking if your
kit is complete...<br />Looks good<br />Unrecognized argument in LIBS ignored:
'`pkg-config'<br />Unrecognized argument in LIBS ignored: '--libs'<br />Unrecognized argument
in LIBS ignored: 'glib-2.0`'<br />Writing Makefile for CWB::CL<br /><br /><br />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
/>/usr/bin/perl /usr/share/perl/5.12/ExtUtils/xsubpp -typemap
/usr/share/perl/5.12/ExtUtils/typemap -typemap CL.typemap CL.xs > CL.xsc && mv
CL.xsc CL.c<br />cc -c -I/usr/local/cwb-3.4.0/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"2.002102\"
-DXS_VERSION=\"2.002102\" -fPIC "-I/usr/lib/perl/5.12/CORE" CL.c<br
/>CL.xs: In function ‘XS_CWB__CL_cl_normalize’:<br />CL.xs:302:11: error: too few
arguments to function ‘cl_string_canonical’<br
/>/usr/local/cwb-3.4.0/include/cwb/cl.h:739:6: note: declared here<br />make: *** [CL.o] Error
1<br /><br /><br />I've applyed the patch in here
http://liste.sslmit.unibo.it/pipermail/cwb/2011-January/000627.html<br />and things go
better.<br /><br />the make test gives theses errors, but installation goes ok, should I try
something else?<br /><br />PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM"
"-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t<br />t/00_load.t
............... 1/2 <br /># Failed test 'use CWB::CL;'<br /># at t/00_load.t line 4.<br
/># Tried to use 'CWB::CL'.<br /># Error: Can't load
'/home/andres/cwb/cwb-perl/CWB-CL/blib/arch/auto/CWB/CL/CL.so' for module CWB::CL:
/home/andres/cwb/cwb-perl/CWB-CL/blib/arch/auto/CWB/CL/CL.so: undefined symbol: g_utf8_skip at
/usr/lib/perl/5.12/DynaLoader.pm line 192.<br /># at (eval 4) line 2<br /># Compilation
failed in require at (eval 4) line 2.<br /># BEGIN failed--compilation aborted at (eval 4)
line 2.<br /><br /># Failed test 'use CWB::CL::Strict;'<br /># at t/00_load.t line 5.<br
/># Tried to use 'CWB::CL::Strict'.<br /># Error: Attempt to reload CWB/CL.pm
aborted.<br /># Compilation failed in require at
/home/andres/cwb/cwb-perl/CWB-CL/blib/lib/CWB/CL/Strict.pm line 4.<br /># BEGIN
failed--compilation aborted at /home/andres/cwb/cwb-perl/CWB-CL/blib/lib/CWB/CL/Strict.pm line
4.<br /># Compilation failed in require at (eval 7) line 2.<br /># BEGIN failed--compilation
aborted at (eval 7) line 2.<br /># Looks like you failed 2 tests of 2.<br />t/00_load.t
............... Dubious, test returned 2 (wstat 512, 0x200)<br />Failed 2/2 subtests <br
/>t/01_vss.t ................ Can't load
'/home/andres/cwb/cwb-perl/CWB-CL/blib/arch/auto/CWB/CL/CL.so' for module CWB::CL:
/home/andres/cwb/cwb-perl/CWB-CL/blib/arch/auto/CWB/CL/CL.so: undefined symbol: g_utf8_skip at
/usr/lib/perl/5.12/DynaLoader.pm line 192.<br /> at t/01_vss.t line 4<br />Compilation failed
in require at t/01_vss.t line 4.<br />BEGIN failed--compilation aborted at t/01_vss.t line
4.<br /># Looks like your test exited with 2 before it could output anything.<br />t/01_vss.t
................ Dubious, test returned 2 (wstat 512, 0x200)<br />Failed 35/35 subtests <br
/>t/02_utility_functions.t .. Can't load
'/home/andres/cwb/cwb-perl/CWB-CL/blib/arch/auto/CWB/CL/CL.so' for module CWB::CL:
/home/andres/cwb/cwb-perl/CWB-CL/blib/arch/auto/CWB/CL/CL.so: undefined symbol: g_utf8_skip at
/usr/lib/perl/5.12/DynaLoader.pm line 192.<br /> at t/02_utility_functions.t line 4<br
/>Compilation failed in require at t/02_utility_functions.t line 4.<br />BEGIN
failed--compilation aborted at t/02_utility_functions.t line 4.<br /># Looks like your test
exited with 2 before it could output anything.<br />t/02_utility_functions.t .. Dubious, test
returned 2 (wstat 512, 0x200)<br />Failed 11/11 subtests <br />t/10_errors_strict.t ......
Can't load '/home/andres/cwb/cwb-perl/CWB-CL/blib/arch/auto/CWB/CL/CL.so' for module CWB::CL:
/home/andres/cwb/cwb-perl/CWB-CL/blib/arch/auto/CWB/CL/CL.so: undefined symbol: g_utf8_skip at
/usr/lib/perl/5.12/DynaLoader.pm line 192.<br /> at
/home/andres/cwb/cwb-perl/CWB-CL/blib/lib/CWB/CL/Strict.pm line 4<br />Compilation failed in
require at /home/andres/cwb/cwb-perl/CWB-CL/blib/lib/CWB/CL/Strict.pm line 4.<br />BEGIN
failed--compilation aborted at /home/andres/cwb/cwb-perl/CWB-CL/blib/lib/CWB/CL/Strict.pm line
4.<br />Compilation failed in require at t/10_errors_strict.t line 4.<br />BEGIN
failed--compilation aborted at t/10_errors_strict.t line 4.<br /># Looks like your test exited
with 2 before it could output anything.<br />t/10_errors_strict.t ...... Dubious, test
returned 2 (wstat 512, 0x200)<br />Failed 45/45 subtests <br />t/11_errors_lax.t .........
Can't load '/home/andres/cwb/cwb-perl/CWB-CL/blib/arch/auto/CWB/CL/CL.so' for module CWB::CL:
/home/andres/cwb/cwb-perl/CWB-CL/blib/arch/auto/CWB/CL/CL.so: undefined symbol: g_utf8_skip at
/usr/lib/perl/5.12/DynaLoader.pm line 192.<br /> at t/11_errors_lax.t line 4<br />Compilation
failed in require at t/11_errors_lax.t line 4.<br />BEGIN failed--compilation aborted at
t/11_errors_lax.t line 4.<br /># Looks like your test exited with 2 before it could output
anything.<br />t/11_errors_lax.t ......... Dubious, test returned 2 (wstat 512, 0x200)<br
/>Failed 62/62 subtests <br /><br />Test Summary Report<br />-------------------<br
/>t/00_load.t (Wstat: 512 Tests: 2 Failed: 2)<br /> Failed tests: 1-2<br />
Non-zero exit status: 2<br />t/01_vss.t (Wstat: 512 Tests: 0 Failed: 0)<br />
Non-zero exit status: 2<br /> Parse errors: Bad plan. You planned 35 tests but ran 0.<br
/>t/02_utility_functions.t (Wstat: 512 Tests: 0 Failed: 0)<br /> Non-zero exit status: 2<br
/> Parse errors: Bad plan. You planned 11 tests but ran 0.<br />t/10_errors_strict.t
(Wstat: 512 Tests: 0 Failed: 0)<br /> Non-zero exit status: 2<br /> Parse errors: Bad plan.
You planned 45 tests but ran 0.<br />t/11_errors_lax.t (Wstat: 512 Tests: 0 Failed:
0)<br /> Non-zero exit status: 2<br /> Parse errors: Bad plan. You planned 62 tests but ran
0.<br />Files=5, Tests=2, 0 wallclock secs ( 0.03 usr 0.02 sys + 0.14 cusr 0.02 csys =
0.21 CPU)<br />Result: FAIL<br />Failed 5/5 test programs. 2/2 subtests failed.<br />make: ***
[test_dynamic] Error 2<br /><br /><br /><br /><br />_______________________<br />
andrés chandía<br /><a target="_blank" href="http://www.chandia.net" title="This
external link will open in a new window"><img border="0" src="../images/sec_remove_eng.png"
alt="chandia.net" /></a><br /><span style="font-size: 18pt; color: rgb(79, 98, 40);
font-family: Webdings;">P </span><span style="font-size: 10pt; color: rgb(79, 98, 40);
font-family: 'Arial','sans-serif';">No imprima innecesariamente. ¡Cuide el medio
ambiente!</span><br /> <!-- end sanitized html -->