[CWB] Unable to install some Perl modules
Stefan Evert
stefanML at collocations.de
Wed Sep 6 10:01:07 CEST 2017
> On 6 Sep 2017, at 09:14, VIVALDI PALATRESI, JORGE <jorge.vivaldi at upf.edu> wrote:
>
> I have installed cwb v. 3.4.12) and the CWB Perl module on an Ubuntu 16.04 machine. But I was unable to install CWB-CL and therefore also CWB-CQI.
> I followed the standard installation procedure:
> perl Makefile.PL
> make test
> at this point, the system issues the error messages shown below.
> Any suggestion?
I can't reproduce this problem – which does indeed look quite serious – with the latest SVN checkout of CWB and CWB/Perl on our server (also running Ubuntu 16.04), so it will be hard to debug remotely. Here are a few starting points:
1) Did you make sure to update your Ubuntu installation to the latest versions? Did you install the package libpcre3-dev rather than an older version?
2) Is it possible that you're picking up a non-standard version of PCRE or Glib2, which might be hanging around in /usr/local? (Not likely unless you installed a version yourself at some point or another admin might have messed around with the machine.)
3) Did you make sure to update the CWB/Perl modules to the lastest SVN checkout? The log output you showed us
> x86_64-linux-gnu-gcc -c -I/usr/local/cwb-3.4.12/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"3.00401\" -DXS_VERSION=\"3.00401\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.22/CORE" CL.c
suggests that you're trying to install version 3.4.10 of the CWB/Perl module, which might not be compatible with the most recent changes in CWB 3.4.12. I don't remember for sure, but I think "svn up" would be the first thing to try here.
Hope this helps,
Stefan
More information about the CWB
mailing list