<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Aptos;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.m-5044846797180071721gmailsignatureprefix
        {mso-style-name:m_-5044846797180071721gmailsignatureprefix;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Verdana",sans-serif;
        color:#156082;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#156082;mso-fareast-language:EN-US">My recommendation is you should tell us what version of the code you’re running, for a start.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#156082;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm;font-size:pt">
<p class="MsoNormal"><b><span style="font-family:"Calibri",sans-serif">From:</span></b><span style="font-family:"Calibri",sans-serif"> cwb-bounces@sslmit.unibo.it <cwb-bounces@sslmit.unibo.it>
<b>On Behalf Of </b>Andrés Chandía<br>
<b>Sent:</b> 18 September 2024 04:13<br>
<b>To:</b> Open source development of the Corpus WorkBench <cwb@sslmit.unibo.it><br>
<b>Subject:</b> Re: [CWB] how to fix Base class package "CWB::CEQL" is empty<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:#0B5394">Thanks Andrew,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#0B5394">that was it...<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#0B5394">I had In my config:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#0B5394">$use_the_new_ceql = true;<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#0B5394">changing it to<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#0B5394">$use_the_new_ceql = false;<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#0B5394">made no effect, so I commented out<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#0B5394">while adding (or not)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#0B5394">$use_external_ceql_parser =<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#0B5394">with either true or false value does not (at least visibly) affect the query<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#0B5394">So, what's your recommendation for this feature...?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#0B5394"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#0B5394"><o:p> </o:p></span></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><i><span lang="FR" style="font-family:"Trebuchet MS",sans-serif;color:blue">... Andrés Chandía</span></i><span lang="FR"><o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span lang="FR"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span lang="FR"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="FR">Missatge de Hardie, Andrew <</span><a href="mailto:a.hardie@lancaster.ac.uk"><span lang="FR">a.hardie@lancaster.ac.uk</span></a><span lang="FR">> del dia dt., 17 de set. 2024 a les 16:59:<o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
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.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
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).<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
best<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
Andrew.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
<o:p></o:p></p>
<div>
<div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;border-color:currentcolor currentcolor">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
<b><span style="font-family:"Calibri",sans-serif">From:</span></b><span style="font-family:"Calibri",sans-serif">
</span><a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank"><span style="font-family:"Calibri",sans-serif">cwb-bounces@sslmit.unibo.it</span></a><span style="font-family:"Calibri",sans-serif"> <</span><a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank"><span style="font-family:"Calibri",sans-serif">cwb-bounces@sslmit.unibo.it</span></a><span style="font-family:"Calibri",sans-serif">>
<b>On Behalf Of </b>Andrés Chandía<br>
<b>Sent:</b> 17 September 2024 12:53<br>
<b>To:</b> Open source development of the Corpus WorkBench <</span><a href="mailto:cwb@sslmit.unibo.it" target="_blank"><span style="font-family:"Calibri",sans-serif">cwb@sslmit.unibo.it</span></a><span style="font-family:"Calibri",sans-serif">><br>
<b>Subject:</b> Re: [CWB] how to fix Base class package "CWB::CEQL" is empty</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
<o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
Thanks again Stephanie...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
So I have to tell apache to work with a different perl version?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
your command output: MU(meet [word="cat"%c] [word="dog"%c] s)<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
<span lang="ES">El mar, 17 sept 2024 a las 13:41, Stephanie Evert (<</span><a href="mailto:stefanML@collocations.de" target="_blank"><span lang="ES">stefanML@collocations.de</span></a><span lang="ES">>) escribió:<o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid windowtext 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204,204,204)">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:14.4pt">
<span lang="ES"><br>
<br>
</span>> On 16 Sep 2024, at 22:23, Andrés Chandía <<a href="mailto:andreschandiaf@gmail.com" target="_blank">andreschandiaf@gmail.com</a>> wrote:<br>
> <br>
> Hi again Stephanie, I have reinstalled with CPAN, and now the message is different...<br>
> Syntax error<br>
> Sorry, your simple query [[[ word ]]] contains a syntax error.<br>
> Parser.c: loadable library and perl binaries are mismatched (got first handshake key 0xcd00080, needed 0xf380080)<br>
<br>
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.<br>
<br>
I'm afraid you'll have to manage to unbreak your Linux system to get things to work again.<br>
<br>
What happens if you load CWB::CEQL from the command line?<br>
<br>
perl -e 'use CWB::CEQL; $parser = new CWB::CEQL; print $parser->Parse("cat <<s>> dog");'<br>
<br>
> Query with cqp syntax still works though...<br>
<br>
… because that doesn't call any Perl code.<br>
<br>
<br>
<br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
<br clear="all">
<br>
<span class="m-5044846797180071721gmailsignatureprefix"><span lang="FR">-- </span>
</span><span lang="FR"><o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt">
<span lang="FR">Andrés Chandía<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-left:4.8pt"><span lang="FR">_______________________________________________<br>
CWB mailing list<br>
</span><a href="mailto:CWB@sslmit.unibo.it" target="_blank"><span lang="FR">CWB@sslmit.unibo.it</span></a><span lang="FR"><br>
</span><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank"><span lang="FR">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</span></a><span lang="FR"><o:p></o:p></span></p>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>