Install on Fedora Core 2

Hello,

Seems there are still some problems installing on FedoraCore 2.
I used the document :

http://wiki.bestpractical.com/index.cgi?FedoraCore2InstallGuide

But still some modules do not get installed because of errors :

     MIME::Entity 5.108...MISSING
     WWW::Mechanize ...MISSING

These modules are not installed because of test failures.
As mentioned in the WiKI, I had to install Log::Dispatch mannually
with CPAN.

Does someone know what to do ?

Thanks.

Jean-Michel BARBET
Jean-michel BARBET | Tel: +33 (0)2 51 85 84 86
Laboratoire SUBATECH Nantes France | Fax: +33 (0)2 51 85 84 79
CNRS-IN2P3/Ecole des Mines/Universite | E-Mail: barbet@subatech.in2p3.fr

Yes - I had the same problems earlier this week - on
FC3 though.

They are two separate issues. One at a time…

The MIME::Entity one needs an updated version of
MIME::Base64 (version 3 if I remember rightly). The
CPAN dependency check brings in an earlier version of
5 of the tests fail. To fix this one I typed:

$ perl -MCPAN -e’install MIME::Base64’
$ perl -MCPAN -e’install MIME::Entity’

…and it worked fine.

The Mechanize one was a real pain to get around -
especially as I know very little about these type of
modules. The problem is that the TEST part of the
install fails because it tries to validate the module
against the content on the google web-site.
Unfortunately, google web-site appears differently
depending on where you are in the world. As I am in
the UK, I receive slightly different content from
someone in the U.S…and so on. Hence, the tests fail
because they receive the wrong content. There are
patches available for this but I couldn�t find how to
install/use them!

To fix this, I manually amended the files (three of
them in total) which ship in the Mechanize packages so
that they received the correct pages. To do this it
was a series of trial and error. In the log you see
errors of the format “filename: expected
Google - About Google, Our Culture & Company News received Google - About Google, Our Culture & Company News”. I
simply changed the filename: that was making this
check to have them matching.

Looking back this was probably a long-winded way of
fooling myself. I think you could actually install the
module and omit the test phase of the install. Can’t
remember the exact syntax but it would be something
like:

$ make Makefile.PL

$ make install

(missing the ‘make test’ stage which normally sits
between the two commands)

I’m sure someone who knows a bit more about how these
things work under the covers can give you a more
precise answer on what is going on here. It does work
if you do this however!!

Hope this helps

Brian

Message: 9
Date: Fri, 28 Jan 2005 08:21:27 +0100
From: Jean-Michel Barbet
Jean-Michel.Barbet@subatech.in2p3.fr
Subject: [rt-users] Install on Fedora Core 2
To: rt-users@lists.bestpractical.com
Message-ID: 41F9E7F7.8010005@subatech.in2p3.fr
Content-Type: text/plain; charset=us-ascii;
format=flowed

Hello,

Seems there are still some problems installing on
FedoraCore 2.
I used the document :

http://wiki.bestpractical.com/index.cgi?FedoraCore2InstallGuide

But still some modules do not get installed because
of errors :

     MIME::Entity 5.108...MISSING
     WWW::Mechanize ...MISSING

These modules are not installed because of test
failures.
As mentioned in the WiKI, I had to install
Log::Dispatch mannually
with CPAN.

Does someone know what to do ?

Thanks.

Jean-Michel BARBET

Jean-michel BARBET | Tel: +33 (0)2
51 85 84 86
Laboratoire SUBATECH Nantes France | Fax: +33 (0)2
51 85 84 79
CNRS-IN2P3/Ecole des Mines/Universite | E-Mail:
barbet@subatech.in2p3.fr

ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com

brian mccabe wrote:

Yes - I had the same problems earlier this week - on
FC3 though.

They are two separate issues. One at a time…
[…]
I’m sure someone who knows a bit more about how these
things work under the covers can give you a more
precise answer on what is going on here. It does work
if you do this however!!

Hope this helps

Thanks very much !

Of course it helps. Everything is fine now…

JM
Jean-michel BARBET | Tel: +33 (0)2 51 85 84 86
Laboratoire SUBATECH Nantes France | Fax: +33 (0)2 51 85 84 79
CNRS-IN2P3/Ecole des Mines/Universite | E-Mail: barbet@subatech.in2p3.fr