[CWB] Installing from svn on ubuntu 11.10
"Andrés Chandía"
andres at chandia.net
Tue Oct 25 14:22:12 CEST 2011
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
P No imprima
innecesariamente. ¡Cuide el medio ambiente!
On Tue, October 25, 2011
11:36 am, Hardie, Andrew wrote:
<style type="text/css">-></style>
This
is a known bug that arises from mixing a later version of the core (3.4.x) with an earlier
version of the Perl modules (3.0.x) and only affects the build procedure for the perl
CWB::CL.
See
also here:
http://liste.sslmit.unibo.it/pipermail/cwb/2011-August/000821.html
http://liste.sslmit.unibo.it/pipermail/cwb/2011-January/000626.html
http://liste.sslmit.unibo.it/pipermail/cwb/2011-January/000626.html
best
Andrew
From:
cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of
"Andrés Chandía"
Sent: 25 October 2011
10:29
To: cwb at sslmit.unibo.it
Subject: [CWB]
Installing from svn on ubuntu 11.10
IMS Open Corpus Workbench, development branch
(./install-scripts/cwb-install-ubuntu) - OK
Perl API,
multiple packages:
CWB - OK
CWB-CL :
perl Makefile.PL --config
/usr/local/cwb-3.4.0/bin/cwb-config
Checking for CL library ...
ok
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
Skip blib/lib/CWB/CL.pm
(unchanged)
Skip blib/lib/CWB/CL/Strict.pm
(unchanged)
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
What
sould I do?
thanks for your help
_______________________
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/20111025/954b2dd0/attachment.htm
More information about the CWB
mailing list