[CWB] Error installing CWB-CL

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



Should I uninstall the previous installation?

I got this error now, when installing
3.0 version

make all
--------------------------------- BUILDING EDITLINE
LIBRARY
(cd editline && CC="/usr/bin/gcc" CFLAGS="-Wall -O3 -arch
x86_64 -arch i386 -march=core2 -mtune=core2   -DUSE_TERMCAP -DUSE_READLINE"
./configure && make)
checking for gcc... /usr/bin/gcc
checking for C
compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [editline] Error 77


Does
exist a command like make uninstall?


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


Yes,
that&rsquo;s one way, but you can also get the 3.0 branch (which has bug fixes after 3.0.0)
via svn if you prefer


svn export
https://cwb.svn.sourceforge.net/svnroot/cwb/cwb/branches/3.0 cwb-3.0


best


Andrew.



From:
"Andrés Chandía" [mailto:andres at chandia.net] 

Sent: 24 July 2012 12:10
 To: Hardie, Andrew

Cc: Open source development of the Corpus WorkBench

Subject: RE: [CWB] Error installing CWB-CL

 
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ó:


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
 [IMAGE
REMOVED]
 P
No
imprima innecesariamente. ¡Cuide el medio ambiente!



 
 
 _______________________
            
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/a492ee42/attachment-0001.htm


More information about the CWB mailing list