tricycle has asked for the wisdom of the Perl Monks concerning the following question:

another question to test the patience of monks
More OS X module woes...
I am trying to install the libwww-perl module. On first attempt at making I found that it needed a bunch of other modules - such as MIME-Base64, and HTML-Parser amongst many others.
So I went and got all those too - making quite happily. But the successive modules are still unable to find their prerequisite other modules. Here's a typical message:

.Can't locate URI/URL.pm in @INC (@INC contains: ../blib/lib ../blib/arch /System/Library/Perl/darwin /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl ../. /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .) at (eval 1) line 3.

I am installing my modules in /System/Library/Perl, which is amongst those paths listed above - but the URI module, for example, is in a folder called "URI-1.12", rather than the "URI/URI.pm" folder which is required.

Should I simply rename the folder? Have I unzipped and done my making in the wrong place?
Have I got a huge distance to go before I get the hang of any of this?

Any monkly advice would be hugely appreciated!

Edit by tye

Replies are listed 'Best First'.
Re: Required files in module installation
by TheoPetersen (Priest) on May 21, 2001 at 01:05 UTC
    It sounds to me as if you are unpacking things where you want them installed. You can unpack the distribution in any old directory; make install will then put them in the appropriate directories.

    I don't have any experience with OS X, but if you can install the LWP libraries at all then I suspect CPAN works. Use that to do the installing for you.

    perl -MCPAN -eshell