[CWB] Reinstallation Over Ubuntu 11.10 / CWB-Web make test error
"Andrés Chandía"
andres at chandia.net
Fri Nov 4 11:55:53 CET 2011
For this step make test gives these errors, make install goes well
CWB-Web$ make
test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t .. 1/3
# Failed test 'use CWB::Web::Query;'
# at t/00_load.t line
8.
# Tried to use 'CWB::Web::Query'.
# 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.
# at
/home/andres/cwb/cwb-perl/CWB-Web/blib/lib/CWB/Web/Query.pm line 6
# Compilation failed
in require at /home/andres/cwb/cwb-perl/CWB-Web/blib/lib/CWB/Web/Query.pm line 6.
# BEGIN
failed--compilation aborted at /home/andres/cwb/cwb-perl/CWB-Web/blib/lib/CWB/Web/Query.pm
line 6.
# Compilation failed in require at (eval 9) line 2.
# BEGIN
failed--compilation aborted at (eval 9) line 2.
# Failed test 'use
CWB::Web::Search;'
# at t/00_load.t line 9.
#
Tried to use 'CWB::Web::Search'.
# Error: Attempt to reload
CWB/CL.pm aborted.
# Compilation failed in require at
/home/andres/cwb/cwb-perl/CWB-Web/blib/lib/CWB/Web/Search.pm line 5.
# BEGIN
failed--compilation aborted at /home/andres/cwb/cwb-perl/CWB-Web/blib/lib/CWB/Web/Search.pm
line 5.
# Compilation failed in require at (eval 12) line 2.
# BEGIN
failed--compilation aborted at (eval 12) line 2.
# Looks like you failed 2 tests of 3.
t/00_load.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests
Test Summary Report
-------------------
t/00_load.t (Wstat: 512 Tests: 3
Failed: 2)
Failed tests: 2-3
Non-zero exit status: 2
Files=1, Tests=3, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.05 cusr
0.01 csys = 0.09 CPU)
Result: FAIL
Failed 1/1 test programs. 2/3 subtests
failed.
make: *** [test_dynamic] Error 2
_______________________
andrés
chandía
P No imprima
innecesariamente. ¡Cuide el medio ambiente!
On Fri, November 4, 2011
11:52 am, "Andrés Chandía" wrote:
Arriving at the CWB-CL installation
I've got this:
perl Makefile.PL --config
/usr/local/cwb-3.4.0/bin/cwb-config
Checking for CL library ... ok
Checking if your
kit is complete...
Looks good
Unrecognized argument in LIBS ignored:
'`pkg-config'
Unrecognized argument in LIBS ignored: '--libs'
Unrecognized argument
in LIBS ignored: 'glib-2.0`'
Writing Makefile for 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
/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
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
CL.xs: In function ‘XS_CWB__CL_cl_normalize’:
CL.xs:302:11: error: too few
arguments to function ‘cl_string_canonical’
/usr/local/cwb-3.4.0/include/cwb/cl.h:739:6: note: declared here
make: *** [CL.o] Error
1
I've applyed the patch in here
http://liste.sslmit.unibo.it/pipermail/cwb/2011-January/000627.html
and things go
better.
the make test gives theses errors, but installation goes ok, should I try
something else?
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM"
"-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t
............... 1/2
# Failed test 'use CWB::CL;'
# at t/00_load.t line 4.
# Tried to use 'CWB::CL'.
# 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.
# at (eval 4) line 2
# Compilation
failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4)
line 2.
# Failed test 'use CWB::CL::Strict;'
# at t/00_load.t line 5.
# Tried to use 'CWB::CL::Strict'.
# Error: Attempt to reload CWB/CL.pm
aborted.
# Compilation failed in require at
/home/andres/cwb/cwb-perl/CWB-CL/blib/lib/CWB/CL/Strict.pm line 4.
# BEGIN
failed--compilation aborted at /home/andres/cwb/cwb-perl/CWB-CL/blib/lib/CWB/CL/Strict.pm line
4.
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation
aborted at (eval 7) line 2.
# Looks like you failed 2 tests of 2.
t/00_load.t
............... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
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.
at t/01_vss.t line 4
Compilation failed
in require at t/01_vss.t line 4.
BEGIN failed--compilation aborted at t/01_vss.t line
4.
# Looks like your test exited with 2 before it could output anything.
t/01_vss.t
................ Dubious, test returned 2 (wstat 512, 0x200)
Failed 35/35 subtests
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.
at t/02_utility_functions.t line 4
Compilation failed in require at t/02_utility_functions.t line 4.
BEGIN
failed--compilation aborted at t/02_utility_functions.t line 4.
# Looks like your test
exited with 2 before it could output anything.
t/02_utility_functions.t .. Dubious, test
returned 2 (wstat 512, 0x200)
Failed 11/11 subtests
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.
at
/home/andres/cwb/cwb-perl/CWB-CL/blib/lib/CWB/CL/Strict.pm line 4
Compilation failed in
require at /home/andres/cwb/cwb-perl/CWB-CL/blib/lib/CWB/CL/Strict.pm line 4.
BEGIN
failed--compilation aborted at /home/andres/cwb/cwb-perl/CWB-CL/blib/lib/CWB/CL/Strict.pm line
4.
Compilation failed in require at t/10_errors_strict.t line 4.
BEGIN
failed--compilation aborted at t/10_errors_strict.t line 4.
# Looks like your test exited
with 2 before it could output anything.
t/10_errors_strict.t ...... Dubious, test
returned 2 (wstat 512, 0x200)
Failed 45/45 subtests
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.
at t/11_errors_lax.t line 4
Compilation
failed in require at t/11_errors_lax.t line 4.
BEGIN failed--compilation aborted at
t/11_errors_lax.t line 4.
# Looks like your test exited with 2 before it could output
anything.
t/11_errors_lax.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 62/62 subtests
Test Summary Report
-------------------
t/00_load.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
t/01_vss.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 35 tests but ran 0.
t/02_utility_functions.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 11 tests but ran 0.
t/10_errors_strict.t
(Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan.
You planned 45 tests but ran 0.
t/11_errors_lax.t (Wstat: 512 Tests: 0 Failed:
0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 62 tests but ran
0.
Files=5, Tests=2, 0 wallclock secs ( 0.03 usr 0.02 sys + 0.14 cusr 0.02 csys =
0.21 CPU)
Result: FAIL
Failed 5/5 test programs. 2/2 subtests failed.
make: ***
[test_dynamic] Error 2
_______________________
andrés chandía
P No imprima innecesariamente. ¡Cuide el medio
ambiente!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20111104/4e48bcad/attachment-0001.htm
More information about the CWB
mailing list