I am trying to get this to run in WSL (Windows Subsystem for Linux), running Ubuntu-22.04. Installed stardict-tools and wine, have the perl code, pocketbook.exe and its language config files in same folder.
Code:
$ perl pocketbookdic.pl ../stardict-rus_eng_full-2.4.2/rus_eng_full.ifo
Can't locate DicGlobals.pm in @INC (you may need to install the DicGlobals module) (@INC contains: /home/mark/git/PocketBookDic/ /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl) at pocketbookdic.pl line 10.
BEGIN failed--compilation aborted at pocketbookdic.pl line 10.
DicGlobals.pm is in the current working directory, but @INC contains folders which will not resolve to anything on that computer. I'm guessing I need to modify that?
Any suggestions on what might be wrong? I know absolutely nothing about Perl.