[CWB] Error installing CWB-CL

"Andrés Chandía" andres at chandia.net
Tue Jul 24 13:09:58 CEST 2012



Thanks for your quick answer...

Do you mean that I have to try install using cwb-3.0.0-linux-i386.tar.gz

instead of:  svn co https://cwb.svn.sourceforge.net/svnroot/cwb/cwb/trunk
cwb


El Mar, 24 de Julio de 2012, 13:02, Hardie, Andrew
escribió:
 <style type="text/css">-></style>


Hi
Andrés,


This
is the same issue as discussed here:


http://liste.sslmit.unibo.it/pipermail/cwb/2012-July/001047.html


Alberto&rsquo;s
patch is for a different issue.


best


Andrew.



From:
cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of
"Andrés Chandía"
 Sent: 24 July 2012
12:00
 To: cwb at sslmit.unibo.it
 Subject: [CWB]
Error installing CWB-CL

 
Hi there,
 
 I get this error when trying to install CWB-CL 
(source: svn co
https://cwb.svn.sourceforge.net/svnroot/cwb/perl/trunk cwb-perl)
 

Skip blib/lib/CWB/CL.pm (unchanged)
 Skip blib/lib/CWB/CL/Strict.pm (unchanged)
 cc
-c  -I/usr/local/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.10/CORE"    CL.c
 CL.xs: In function
&lsquo;XS_CWB__CL_cl_normalize&rsquo;:
 CL.xs:302: error: too few arguments to function
&lsquo;cl_string_canonical&rsquo;
 make: *** [CL.o] Error 1
 
 
 I 've
tried the patch suggested by Alberto Simões at:
http://liste.sslmit.unibo.it/pipermail/cwb/2011-January/000626.html
 
 patch 
patching file Makefile.PL
 
 the pathc file:
 Index: Makefile.PL

===================================================================

--- Makefile.PL (revision 199)
 +++ Makefile.PL (working
copy)
 @@ -68,6 +68,7 @@
  my $CFLAGS = `'$config_util'
-I`;
  chomp $CFLAGS;
  my $LDFLAGS = `'$config_util'
-L`;
 +$LDFLAGS=~s/(`[^`]+`)/chomp($_ = eval $1); $_/eg;
 
chomp $LDFLAGS;
  
  WriteMakefile(


 But I still get the same error
 
 
 I will appreciate your
advise
 
 _______________________
             andrés chandía
 
 P No
imprima innecesariamente. ¡Cuide el medio ambiente!


 


_______________________
            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/20120724/620c7faf/attachment-0001.htm


More information about the CWB mailing list