[CWB] how to fix Base class package "CWB::CEQL" is empty
Hardie, Andrew
a.hardie at lancaster.ac.uk
Tue Sep 17 16:58:56 CEST 2024
You could alternatively just use the internal parser and remove the Perl dependency entirely. That's been the default since version 3.2.38 in 2019.
Check your config.php file. The setting is called $use_the_new_ceql in v3.2 (for no Perl, set to true), but $use_external_ceql_parser in 3.3 (for no Perl, set to false).
best
Andrew.
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Andrés Chandía
Sent: 17 September 2024 12:53
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Subject: Re: [CWB] how to fix Base class package "CWB::CEQL" is empty
Thanks again Stephanie...
So I have to tell apache to work with a different perl version?
your command output: MU(meet [word="cat"%c] [word="dog"%c] s)
El mar, 17 sept 2024 a las 13:41, Stephanie Evert (<stefanML at collocations.de<mailto:stefanML at collocations.de>>) escribió:
> On 16 Sep 2024, at 22:23, Andrés Chandía <andreschandiaf at gmail.com<mailto:andreschandiaf at gmail.com>> wrote:
>
> Hi again Stephanie, I have reinstalled with CPAN, and now the message is different...
> Syntax error
> Sorry, your simple query [[[ word ]]] contains a syntax error.
> Parser.c: loadable library and perl binaries are mismatched (got first handshake key 0xcd00080, needed 0xf380080)
Either you installed CWB modules with an old version of Perl, or the Apache server uses an old version of Perl (have you configured a specific Perl version for CQPweb) but picks up the CWB modules from a newer version's library.
I'm afraid you'll have to manage to unbreak your Linux system to get things to work again.
What happens if you load CWB::CEQL from the command line?
perl -e 'use CWB::CEQL; $parser = new CWB::CEQL; print $parser->Parse("cat <<s>> dog");'
> Query with cqp syntax still works though...
... because that doesn't call any Perl code.
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it<mailto:CWB at sslmit.unibo.it>
http://liste.sslmit.unibo.it/mailman/listinfo/cwb
--
Andrés Chandía
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20240917/b0182b05/attachment-0001.html>
More information about the CWB
mailing list