[CWB] Installing from svn on ubuntu 11.10
"Andrés Chandía"
andres at chandia.net
Tue Oct 25 16:19:47 CEST 2011
Thanks it worked perfectly.
Now, at the CWB-CQI installation in make test i got
some error but make install went well, is this something to worry about?
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 ...........
ok
t/01_load_ioclient.t .. ok
t/10_vss.t ............
CQPserver failed to launch:
at t/10_vss.t line 21
# Looks like your test
exited with 127 before it could output anything.
t/10_vss.t ............ Dubious, test
returned 127 (wstat 32512, 0x7f00)
Failed 31/31 subtests
t/11_vss_ioclient.t ...
CQPserver failed to launch:
at t/11_vss_ioclient.t line 21
# Looks like your
test exited with 127 before it could output anything.
t/11_vss_ioclient.t ... Dubious,
test returned 127 (wstat 32512, 0x7f00)
Failed 31/31 subtests
Test Summary
Report
-------------------
t/10_vss.t (Wstat: 32512 Tests: 0
Failed: 0)
Non-zero exit status: 127
Parse errors: Bad plan. You
planned 31 tests but ran 0.
t/11_vss_ioclient.t (Wstat: 32512 Tests: 0 Failed: 0)
Non-zero exit status: 127
Parse errors: Bad plan. You planned 31
tests but ran 0.
Files=4, Tests=4, 0 wallclock secs ( 0.03 usr 0.02 sys
+ 0.18 cusr 0.05 csys = 0.28 CPU)
Result: FAIL
Failed 2/4 test
programs. 0/4 subtests failed.
make: *** [test_dynamic] Error 127
_______________________
andrés
chandía
P No imprima
innecesariamente. ¡Cuide el medio ambiente!
On Tue, October 25, 2011
2:24 pm, Hardie, Andrew wrote:
<style type="text/css">-></style>
Same
issue I’m afraid – different versions of the CL api, so different function calls.
Again, a patch was suggested last time this came up:
http://liste.sslmit.unibo.it/pipermail/cwb/2011-January/000627.html
best
Andrew.
From:
"Andrés Chandía" [mailto:andres at chandia.net]
Sent: 25 October 2011 13:22
To: Hardie, Andrew
Cc: Open source development of the Corpus WorkBench
Subject: RE: [CWB] Installing from svn on ubuntu 11.10
Thanks, I patched the Makefile.PL file as suggested, there was a little
improvement:
Patched version:
my $CFLAGS = `'$config_util' -I`; chomp $CFLAGS; my $LDFLAGS =
`'$config_util' -L`; +$LDFLAGS=~s/(`[^`]+`)/chomp($_ = eval $1); $_/eg; chomp
$LDFLAGS;
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
Writing Makefile for CWB::CL
As your can see there is no Unrecognized argument as before, but doing
make, was not succesful:
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
_______________________
andrés chandía
[IMAGE REMOVED]
P No
imprima innecesariamente. ¡Cuide el medio ambiente!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20111025/d84366d8/attachment.htm
More information about the CWB
mailing list