<div dir="ltr"><div>After re-installing cwb the problem does not solves but the message now says:</div><div><pre>or make that module available in @INC (@INC contains:<br>/etc/perl<br>/usr/local/lib/x86_64-linux-gnu/perl/5.38.2<br>/usr/local/share/perl/5.38.2<br>/usr/lib/x86_64-linux-gnu/perl5/5.38<br>/usr/share/perl5<br>/usr/lib/x86_64-linux-gnu/perl-base<br>/usr/lib/x86_64-linux-gnu/perl/5.38<br>/usr/share/perl/5.38 /usr/local/lib/site_perl).&quot;</pre></div><div>Checking what&#39;s inside of the second listed directory I get:</div><div>auto  Bundle  CL.pm  CWB  DBD  DBI  DBI.pm  <a href="http://dbixs_rev.pl">dbixs_rev.pl</a>  HTML  perllocal.pod  Proc  Term  Win32</div><div><br></div><div>Where the cwb modules are present but I still get the error message...</div><div><br></div><div>that&#39;s so far...<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El dom, 15 sept 2024 a las 20:26, Andrés Chandía (&lt;<a href="mailto:andreschandiaf@gmail.com">andreschandiaf@gmail.com</a>&gt;) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi there,</div><div>I&#39;ve gone through an update of the server where our installation of cqpweb redsides..</div><div>When i do a query now I get:</div><div><br></div><div><p>Sorry, your simple query [[[ word ]]] contains a syntax error.</p>
<p>Base class package &quot;CWB::CEQL&quot; is empty.</p>
<p>(Perhaps you need to &#39;use&#39; the module which defines that package first,</p>
<p>or make that module available in @INC (@INC 
contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 
/usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base 
/usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 
/usr/local/lib/site_perl).</p>
<p>at ../lib/perl/cqpwebCEQL.pm line 27.</p>
<p>BEGIN failed--compilation aborted at ../lib/perl/cqpwebCEQL.pm line 27.</p>
<p>Compilation failed in require at - line 2.</p></div><div><br></div><div>In the manual it says:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Assuming you do install to this standard location, there is a known “gotcha” to be aware of:<br>when you update your system software to use a newer version of Perl, any modules in directories whose path includes the old version number may no longer be detected. You will need either to reinstall the modules, or else to move the modules across from the directory with the old version number to the directory with the new version number.</blockquote><div><br></div><div>So I checked where the server stores perl, this is what I got:</div><div><b>/usr/share/perl/</b></div><div>5.38        -&gt;        5.38.2<br>/5.38.2<br><br><b>/usr/share/perl5/</b><br>        Algorithm        CGI        cpanfile.pod        Devel        Error.pm        Getopt        IO        local        MailTools.pm        MooX        Parse        Reply        String        TimeDate.pm WWW        Any        CGI.pm        Data        Dpkg        Eval        Git        IPC        LWP        MailTools.pod        MRO        Path        Role        Sub        Try        X11        App CGI.pod        Date        Dpkg.pm        Exporter        Git.pm        JSON        lwpcook.pod        Method        namespace        Pod        Roman.pm        Test        Type        XML Archive        Class        Debconf        DynaLoader        Fh.pm        HTML        JSON.pm        LWP.pm        Module        Net        Readonly.pm        Software        Text        Types        Authen        CPAN Debian        Encode        File        HTTP        lib lwptut.pod        Moo        <a href="http://oo.pm" target="_blank">oo.pm</a>        Ref        strictures        Tie        URI        B        cpanfile-faq.pod DebianLinux.pm        Error        Font        Import        List        Mail        Moo.pm        Package        Regexp        <a href="http://strictures.pm" target="_blank">strictures.pm</a>        Time        URI.pm<br><br><b>/usr/lib/x86_64-linux-gnu/perl/</b><br>        5.38        -&gt;        5.38.2<br>        5.38.2        cross-config-5.38.2        debian-config-data-5.38.2<br><br><b>/usr/lib/x86_64-linux-gnu/perl5/</b><br>        5.38<br><br><b>/usr/lib/x86_64-linux-gnu/perl-base/</b><br>        <a href="http://attributes.pm" target="_blank">attributes.pm</a>        <a href="http://builtin.pm" target="_blank">builtin.pm</a>        Carp.pm        <a href="http://constant.pm" target="_blank">constant.pm</a>        Exporter        <a href="http://fields.pm" target="_blank">fields.pm</a>        Hash        IPC        <a href="http://overloading.pm" target="_blank">overloading.pm</a>        <a href="http://re.pm" target="_blank">re.pm</a>        <a href="http://strict.pm" target="_blank">strict.pm</a> unicore        <a href="http://warnings.pm" target="_blank">warnings.pm</a>        auto        <a href="http://bytes_heavy.pl" target="_blank">bytes_heavy.pl</a>        Config_git.pl        Cwd.pm        Exporter.pm        File <a href="http://integer.pm" target="_blank">integer.pm</a>        <a href="http://lib.pm" target="_blank">lib.pm</a>        <a href="http://overload.pm" target="_blank">overload.pm</a>        Scalar Symbol.pm        <a href="http://utf8.pm" target="_blank">utf8.pm</a>        XSLoader.pm        AutoLoader.pm        <a href="http://bytes.pm" target="_blank">bytes.pm</a>        Config_heavy.pl        DynaLoader.pm        Fcntl.pm        FileHandle.pm        IO        List <a href="http://parent.pm" target="_blank">parent.pm</a>        SelectSaver.pm        Text        <a href="http://vars.pm" target="_blank">vars.pm</a>        <a href="http://base.pm" target="_blank">base.pm</a>        Carp        Config.pm        Errno.pm        <a href="http://feature.pm" target="_blank">feature.pm</a>        Getopt        IO.pm        <a href="http://locale.pm" target="_blank">locale.pm</a> POSIX.pm        Socket.pm        Tie        warnings<br><br><b>/usr/local/share/perl/</b><br>        5.22.1        5.26.1        5.30.0        5.34.0</div><div><br></div><div>As none of these corresponds to the locations you mention in the manual I have created links inside:</div><div><b>/usr/local/lib/perl/{$version}/</b> and <b>/usr/lib/perl5/{$version}/</b></div><div>making the {$version} correspond to the newest version, for example:</div><div>inside /user/lib, where there is no directory perl or perl5:</div><div>ln -s /usr/lib/x86_64-linux-gnu/perl5  because this directory contains &quot;5.38&quot;</div><div><br></div><div>As I said, I tried them all without success...</div><div><br></div><div>Then I I tried installing:</div><div>dpkg -i cwb_3.5.0-1_amd64.deb</div><div><br></div><div>No success again....</div><div><br></div><div>So, I downloaded: cwb-3.5.0-src.tar.gz and tried installing:</div><div>./install-scripts/install-linux</div><div><br></div><div>No success...</div><div><br></div><div>Finally, I tried</div><div>edit <a href="http://config.mk" target="_blank">config.mk</a> → PLATFORM=linux-64</div><div>make clean<br>make depend<br>make all<br>make install<br>make realclean</div><div><br></div><div>But I still get the same message on querying... so, my question is, am I doing the right things?, if not, how should I solve this problem...<br></div><div> </div><div>Thanks!<br></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Andrés Chandía</div></div>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Andrés Chandía</div>