[CWB] how to fix Base class package "CWB::CEQL" is empty
Andrés Chandía
andreschandiaf at gmail.com
Wed Sep 18 05:13:46 CEST 2024
Thanks Andrew,
that was it...
I had In my config:
$use_the_new_ceql = true;
changing it to
$use_the_new_ceql = false;
made no effect, so I commented out
while adding (or not)
$use_external_ceql_parser =
with either true or false value does not (at least visibly) affect the query
So, what's your recommendation for this feature...?
El mar, 17 sept 2024 a las 16:59, Hardie, Andrew (<a.hardie at lancaster.ac.uk>)
escribió:
> 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>) escribió:
>
>
>
> > On 16 Sep 2024, at 22:23, Andrés Chandía <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
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
>
>
>
> --
>
> Andrés Chandía
> _______________________________________________
> CWB mailing list
> 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/20240918/0c61edef/attachment.html>
More information about the CWB
mailing list