[CWB] Error installing CWB-CL

"Andrés Chandía" andres at chandia.net
Tue Jul 24 12:59:55 CEST 2012



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
‘XS_CWB__CL_cl_normalize’:
CL.xs:302: error: too few arguments to function
‘cl_string_canonical’
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 <
Makefile.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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20120724/7a940b9c/attachment.htm


More information about the CWB mailing list