|
From: Matt O. <ma...@sh...> - 2002-03-12 06:39:37
|
On Mon, Mar 11, 2002 at 11:19:34PM -0500, Chris Winters wrote:
> > What's bugging me is that, as far as I can tell, HTML::Parser
> > is properly installed.
>
> Weird. One question: how do you know it's installed?
root@shub-niggurath:~ #perl -MCPAN -e "install HTML::Parser"
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
HTML::Parser is up to date.
matt@shub-niggurath:~>find /usr/local/lib/perl5 -name "Parser.pm" -print
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/HTML/Parser.pm
Ah... but that find(1) produced a _lot_ of permission-denieds in
/usr/local/lib/perl5/.../auto.
(su... chmod... exit)
Okay... now I'm getting a bunch of "can't insert duplicate key"
type errors from the partial success of previous runs, that's
(I guess) acceptable. And I get a superuser username and a
random password. Not bad!
Moral of this story: if you've (well, I've :-) just installed
something, and it isn't working, check file permissions.
Especially if the error is "can't locate" or "can't open".
> > I'm running Perl 5.005_03 on an x86 FreeBSD 4.5 box.
>
> I know OI runs ok on FreeBSD and Perl 5.5.3, so those shouldn't be an
> issue.
Good to hear.
> > (Irritatingly, some of the dependencies for Bundle::SPOPS and
> > Bundle::OpenInteract want to install 5.6.1... so far, I've
> > told them not to.)
>
> Older versions of CPAN used to do this when a module became part of the
> core. If you install a new version of CPAN the shell won't automatically
> do this. (It caused me a ton of pain as well.)
Installing a new version of CPAN tried to do the same... argh.
Oh well. 5.8.0's just a couple of months away, right? :-)
Thanks for the help!
Cheers,
Matt
|