[CWB] Error installing CWB-CL

Hardie, Andrew a.hardie at lancaster.ac.uk
Tue Jul 24 14:06:21 CEST 2012


That error message is not related to a previously-installed version existing - it's a build error before you even get to the point of installing. Some casual googling suggests that error 77 can be the result of having the wrong configuration options for the compiler. The config.log file mentioned in the error message may provide a hint as to precisely what the problem is. Without knowing anything about your setup, it's hard for me to say.

Best

Andrew.



Andrés Chandía <andres at chandia.net> wrote:


   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ó:
Yes, that’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<https://sourceforge.net/projects/cwb/files/cwb/cwb-3.0.0/cwb-3.0.0-linux-i386.tar.gz/download>

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’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 ‘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 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]<http://www.chandia.net>
P No imprima innecesariamente. ¡Cuide el medio ambiente!



_______________________
andrés chandía
[IMAGE REMOVED]<http://www.chandia.net>
P No imprima innecesariamente. ¡Cuide el medio ambiente!



_______________________
            andrés chandía
[chandia.net]<http://www.chandia.net>
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/d7675d7d/attachment.htm


More information about the CWB mailing list