If I do:
cpan install Finance::Quote
in a terminal on my Linux Mint I expect the Quote.pm
file to be installed here:
/home/mike/perl5/lib/perl5/Finance/

Instead it installs here:
/home/mike/.cpan/build/Finance-Quote-1.70-0/lib/Finance/

Well, OK.  So I copy the /home/mike/.cpan/build/Finance-Quote-1.70-0/lib/Finance/
directory to /home/mike/perl5/lib/perl5/, but when I run
the supplied quote_example.pl file it gives a long, failed
output that begins with:

$ perl quote_example.pl

Can't locate XML/LibXML.pm in @INC (you may need to install the XML::LibXML module) (@INC contains: ../lib /home/mike/perl5/lib/perl5/5.30.0/x86_64-linux /home/mike/perl5/lib/perl5/5.30.0 /home/mike/perl5/lib/perl5/x86_64-linux /home/mike/perl5/lib/perl5 /home/mike/perl5/perlbrew/perls/perl-5.30.0/lib/site_perl/5.30.0/x86_64-linux /home/mike/perl5/perlbrew/perls/perl-5.30.0/lib/site_perl/5.30.0 /home/mike/perl5/perlbrew/perls/perl-5.30.0/lib/5.30.0/x86_64-linux /home/mike/perl5/perlbrew/perls/perl-5.30.0/lib/5.30.0) at /home/mike/perl5/lib/perl5/Finance/Quote/MorningstarJP.pm line 27. BEGIN failed--compilation aborted at /home/mike/perl5/lib/perl5/Finance/Quote/MorningstarJP.pm line 27. Compilation failed in require at /home/mike/perl5/lib/perl5/Module/Load.pm line 78.

Here is my path:
$ echo $PATH | tr : \\n | sort
/bin
/home/mike/.cargo/bin
/home/mike/.local/bin
/home/mike/perl5
/home/mike/perl5/bin
/home/mike/perl5/perlbrew/bin
/home/mike/perl5/perlbrew/perls/perl-5.30.0/bin
/sbin
/snap/bin
/usr/bin
/usr/games
/usr/local/bin
/usr/local/games
/usr/local/sbin
/usr/sbin
$

quote_example.pl is located here:
https://www.mflan.com/temp/quote_example.pl

I would like to be able to install Finance::Quote and use it.
Can anyone here help?


Mike

Reply via email to