View Single Post
Old 12-13-2023, 03:45 PM   #234
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,959
Karma: 27060153
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
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.

Last edited by tomsem; 12-13-2023 at 11:20 PM.
tomsem is offline   Reply With Quote