[CWB] Problems with CWB::CQP::More

Stefan Evert stefanML at collocations.de
Fri Aug 19 16:43:24 CEST 2022


> when running a Perl script using the CWB modules, I now get the following error:
> 
>> Can't locate CWB/CQP/More.pm in @INC (you may need to install the CWB::CQP::More module) (@INC contains: /Users/Simon/Perl/Module/ /usr/local/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0/darwin-thread-multi-2level /usr/local/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0 /usr/local/Cellar/perl/5.34.0/lib/perl5/5.34.0/darwin-thread-multi-2level /usr/local/Cellar/perl/5.34.0/lib/perl5/5.34.0 /usr/local/lib/perl5/site_perl/5.34.0) at /Users/simon/Perl/cwb_collocations.pl line 9.
>> BEGIN failed--compilation aborted at /Users/simon/Perl/cwb_collocations.pl line 9.

Just a quick heads-up that CWB::CQP::more isn't part of the official CWB distribution, so we can't guarantee availability and compatibility of the module

> When installing the module by cpanm CWB::CQP::More, I get the following error:
> 
>> --> Working on CWB::CQP::More
>> Fetching http://www.cpan.org/authors/id/A/AM/AMBS/CWB-CQP-More-0.08.tar.gz ... OK
>> Configuring CWB-CQP-More-0.08 ... OK
>> ==> Found dependencies: CWB
>> --> Working on CWB
>> Fetching http://www.cpan.org/authors/id/S/SC/SCHTEPF/CWB-v3.5.0.tar.gz ... OK
>> Configuring CWB-v3.5.0 ... N/A
>> ! No MYMETA file is found after configure. Your toolchain is too old?
>> ! Configure failed for CWB-v3.5.0. See /Users/simon/.cpanm/work/1660835934.47251/build.log for details.
>> ! Installing the dependencies failed: Module 'CWB' is not installed
>> ! Bailing out the installation for CWB-CQP-More-0.08.
> 
> Obviously, the modules on cpan are for v3.5.0, but I have 3.4.22.

These are the official CWB/Perl modules, on which CWB::CQP::More depends and which have been updated to v3.5.0 recently together with the 3.5.0 release of CWB.

> What do you advise? Shall I upgrade to 3.5.0

Please do!  Version 3.5.0 is now the official release with long-term support.

> or shall I keep 3.4 which is the recommended version according to https://cwb.sourceforge.io/changes.php?

The Web page is still waiting for Andrew to find some time to re-design it and revise the content, and an official announcement on this mailing list has been waiting for said update of the Web page, but version 3.5.0 has actually been released at the end of July.

Best,
Stephanie


More information about the CWB mailing list