Skip Menu |

This queue is for tickets about the HTML-Tree CPAN distribution.

Report information
The Basics
Id: 58878
Status: resolved
Priority: 0/
Queue: HTML-Tree

People
Owner: Jeff.Fearn [...] gmail.com
Requestors: sprout [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Installation difficulties
Date: Sun, 27 Jun 2010 14:09:09 -0700
To: bug-HTML-Tree [...] rt.cpan.org
From: Father Chrysostomos <sprout [...] cpan.org>
HTML-Tree 3.23_1 This new version does not include a Makefile.PL, so it will not install as easily on perl 5.8.x. Module::Build has a ‘create_makefile_pl => 'traditional'’ option that you can use to generate one automatically. Also, I see that it now requires Test::Perl::Critic, Test::Pod::Coverage and Devel::Cover. Since these are only for testing, could you simply skip those tests when these are not installed, and remove them from the prerequisites? I can’t get them all to install on perl 5.10.0, and they bring with them a lot of other modules, too.
On Mon Jun 28 07:09:19 2010, sprout@cpan.org wrote: Show quoted text
> HTML-Tree 3.23_1 > > This new version does not include a Makefile.PL, so it will not > install as easily on perl 5.8.x. Module::Build has a > ‘create_makefile_pl => 'traditional'’ option that you can use to > generate one automatically.
I don't want to support Make::Maker and am reluctant to add things I'm not willing to support. FWIW I'm running RHEL5 here with perl 5.8.8 and I've not had any trouble using Module::Build. Show quoted text
> Also, I see that it now requires Test::Perl::Critic, > Test::Pod::Coverage and Devel::Cover. Since these are only for > testing, could you simply skip those tests when these are not > installed, and remove them from the prerequisites? I can’t get them > all to install on perl 5.10.0, and they bring with them a lot of > other modules, too.
It sounds like your environment is a bit flaky. CPANTS seems to have revealed only one problem, and that is only if you are using a really strict Critic module. http://www.cpantesters.org/author/J/JFEARN.html Really any reliable build environment should be able to build this package, and if it can't then I think it's revealing an existing issue not introducing a new one ... I'm going under the assumption you aren't running CPAN on a production server BTW, that you compile the module in to the packaging format used on your OS, then install those packages, or PPM's on Windows ... guess it's a bigger problem if you can't do that ... hmmm
Ok, so I've done some reading and there are enough people who feel strongly about both of these things that my sanity will stretched at some point in the future should I fail to do these things ;)
Removed build deps Devel::Cover, Test::Pod::Coverage, Test::Perl::Critic. The tests themselves were already written to handle the modules not being installed. Added create_makefile_pl => 'traditional' to Build.PL Added Makefile.PL to git repo. These changes have been committed to the git repo and will be in the next developer build.
Le Lun 02 Aoû 2010 00:52:55, jfearn a écrit : Show quoted text
> Removed build deps Devel::Cover, Test::Pod::Coverage, Test::Perl::Critic. > > The tests themselves were already written to handle the modules not > being installed.
Thanks Jeff. This helps to remove some pain from people who have to work on old Perl (for example on AIX, HP-UX...) -- Olivier Mengué - http://o.mengue.free.fr/
Subject: 4.0 released
Hi HTML::Tree ve4rsion 4.0 has been released which includes a fix for this issue. Cheers, Jeff.