Adam Kennedy wrote:

> > Module::Install... 1) I'm allergic to this module, 2) I want to keep
> > the backward compatibility with Perl 5.004, and Module::Install is not
> > compatible with that version.
>
> Are you absolutely sure about that? It says it wants to be (and perlver
> can't pick up anything obvious in it).

$ /usr/local/perl/5.4.5/bin/cpan

cpan shell -- CPAN exploration and modules installation (v1.83)
ReadLine support enabled

cpan> install Module::Install
...
  CPAN.pm: Going to build A/AU/AUTRIJUS/Module-Install-0.54.tar.gz

Modification of a read-only value attempted at inc/Module/Install/Metadata.pm -
lib/Module/Install/Metadata.pm line 29.
Running make test
  Make had some problems, maybe interrupted? Won't test
Running make install
  Make had some problems, maybe interrupted? Won't install

This is the same problems that I already reported once, with the
strange effect (not visible in this case) that the printed path is
composed of two paths, the second being the one corresponding to
the author's system. In the case I reported, it was more obvious
because it printed a Darwin-type path following a Linux-type path.

And for the record, there are modules with incorrect C<require>
concerning the Perl version. For example, some ask a Perl 5.005
while they perfectly work on 5.004, like File::Temp and
Test::Reporter. That's how I can send CPAN Testers reports
under 5.004:
  http://testers.cpan.org/show/Net-Pcap.html

And there are several modules that works on 5.004, but not their
test suite (like Test-Simple IIRC), or modules which depend upon
modules that requires a higher version of Perl than themselve.

> But don't worry too much for now, conclusive version-dependency prooving
> is on the to-do as well, so I'll deal with it later on.

Yes, but I need Net::Pcap to work on 5.004 now, and as the code
itself (and its test suite) works on 5.004, it would be very
uninteresting for me to use something that require a higher
version of Perl.

Then there's the fact that I'm still allergic to this module :)


--
Sébastien Aperghis-Tramoni

Close the world, txEn eht nepO.

Reply via email to