[CWB] how to fix Base class package "CWB::CEQL" is empty

Andrés Chandía andreschandiaf at gmail.com
Sun Sep 15 20:26:10 CEST 2024


Hi there,
I've gone through an update of the server where our installation of cqpweb
redsides..
When i do a query now I get:

Sorry, your simple query [[[ word ]]] contains a syntax error.

Base class package "CWB::CEQL" is empty.

(Perhaps you need to 'use' the module which defines that package first,

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).

at ../lib/perl/cqpwebCEQL.pm line 27.

BEGIN failed--compilation aborted at ../lib/perl/cqpwebCEQL.pm line 27.

Compilation failed in require at - line 2.

In the manual it says:

Assuming you do install to this standard location, there is a known
> “gotcha” to be aware of:
> 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.


So I checked where the server stores perl, this is what I got:
*/usr/share/perl/*
5.38 -> 5.38.2
/5.38.2

*/usr/share/perl5/*
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
oo.pm Ref strictures Tie URI B cpanfile-faq.pod DebianLinux.pm Error Font
Import List Mail Moo.pm Package Regexp strictures.pm Time URI.pm

*/usr/lib/x86_64-linux-gnu/perl/*
5.38 -> 5.38.2
5.38.2 cross-config-5.38.2 debian-config-data-5.38.2

*/usr/lib/x86_64-linux-gnu/perl5/*
5.38

*/usr/lib/x86_64-linux-gnu/perl-base/*
attributes.pm builtin.pm Carp.pm constant.pm Exporter fields.pm Hash IPC
overloading.pm re.pm strict.pm unicore warnings.pm auto bytes_heavy.pl
Config_git.pl Cwd.pm Exporter.pm File integer.pm lib.pm overload.pm Scalar
Symbol.pm utf8.pm XSLoader.pm AutoLoader.pm bytes.pm Config_heavy.pl
DynaLoader.pm Fcntl.pm FileHandle.pm IO List parent.pm SelectSaver.pm Text
vars.pm base.pm Carp Config.pm Errno.pm feature.pm Getopt IO.pm locale.pm
POSIX.pm Socket.pm Tie warnings

*/usr/local/share/perl/*
5.22.1 5.26.1 5.30.0 5.34.0

As none of these corresponds to the locations you mention in the manual I
have created links inside:
*/usr/local/lib/perl/{$version}/* and */usr/lib/perl5/{$version}/*
making the {$version} correspond to the newest version, for example:
inside /user/lib, where there is no directory perl or perl5:
ln -s /usr/lib/x86_64-linux-gnu/perl5  because this directory contains
"5.38"

As I said, I tried them all without success...

Then I I tried installing:
dpkg -i cwb_3.5.0-1_amd64.deb

No success again....

So, I downloaded: cwb-3.5.0-src.tar.gz and tried installing:
./install-scripts/install-linux

No success...

Finally, I tried
edit config.mk → PLATFORM=linux-64
make clean
make depend
make all
make install
make realclean

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...

Thanks!

-- 
Andrés Chandía
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20240915/f6fbf297/attachment.html>


More information about the CWB mailing list