Hello,

We're running a Debian 5 (AMD64) server, with Perl 5.10 compiled from
source because we require a non-threaded Perl for an e-commerce app. It
fails to load, complaining that several modules were not found,
including, for instance, HTML::Parser. I installed this via

/usr/local/bin/perl -MCPAN -e 'install HTML::Parser'

and verified that I was using /usr/local/bin/perl (as opposed to the
stock Debian perl at /usr/bin/perl).



I wrote a test script, which does nothing more than require
HTML::Parser, and it fails with the following:

catu...@www2:~$ perl test.plx
Can't locate HTML::Parser in @INC (@INC contains:
/usr/local/lib/perl5/5.10.0/x86_64-linux /usr/local/lib/perl5/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux
/usr/local/lib/perl5/site_perl/5.10.0 .) at test.plx line 3.



If I do a search for HTML Parser, it does appear to be in the paths that
are being searched in @INC.

catu...@www2:~$ locate HTML | grep Parser
/home/catuser/interchange/lib/HTML/HeadParser.pm
/home/catuser/interchange/lib/HTML/Parser.pm
/home/catuser/interchange/lib/HTML/PullParser.pm
/home/catuser/interchange/lib/HTML/TokeParser.pm
/home/catuser/interchange/lib/auto/HTML/Parser
/home/catuser/interchange/lib/auto/HTML/Parser/.packlist
/home/catuser/interchange/lib/auto/HTML/Parser/Parser.bs
/home/catuser/interchange/lib/auto/HTML/Parser/Parser.so
/usr/lib/perl5/HTML/HeadParser.pm
/usr/lib/perl5/HTML/Parser.pm
/usr/lib/perl5/HTML/PullParser.pm
/usr/lib/perl5/HTML/TokeParser.pm
/usr/lib/perl5/auto/HTML/Parser
/usr/lib/perl5/auto/HTML/Parser/Parser.bs
/usr/lib/perl5/auto/HTML/Parser/Parser.so
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux/HTML/HeadParser.pm
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux/HTML/Parser.pm
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux/HTML/PullParser.pm
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux/HTML/TokeParser.pm
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux/auto/HTML/Parser
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux/auto/HTML/Parser/.packlist
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux/auto/HTML/Parser/Parser.bs
/usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux/auto/HTML/Parser/Parser.so


Any suggestions?

Thank you,

Peter

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to