[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] SpamAssassin Installation Error



On Wednesday, November 20, 2002, at 09:19  PM, Jim Cowing wrote:

I am using Steve Bassi's installation notes, trying to install SpamAssassin
on a RaQ XTR. I had the

Warning: prerequisite File::Spec 0.8 not found at (eval 1) line 228.

error, and I downloaded the module and fixed that, but I still get

Warning: prerequisite HTML::Parser 3 not found at (eval 1) line 228.

When trying to install SpamAssassin. I can't find the module, and a search
of the Cobalt archives for "HTML::Parser" turns up nothing. Can anyone point
me in the right direction?

Steve's already answered this, but I'm doing the same thing right now (following Kim Schulz's step-by-step posted a few days ago) and I ran into a few of these. For any Perl module, you can go to <http://search.cpan.org> , put the module name in the search form, select "modules" for the drop-down, and search.

In the results page, don't click the result title, but the second link, which should take you to a summary page for the module which includes a "download" link. Copy that link, go to the command line of your Cobalt, and install like so:

# wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-
Parser-3.26.tar.gz
# tar -xzvf HTML-Parser-3.26.tar.gz
# cd HTML-Parser-3.26
# perl ./Makefile.PL
# make
# make test  // This may not be useful for all modules
# make install

I found that in many cases, I needed to replace the "make install" with "make install UNINST=1", which clears the old module out. I needed to install/update a number of modules Kim didn't mention, but in each case, as you saw above, the error message tells you what module you're missing, and the process above lets you install it.

pjm