On 05/07/2017 22:42, Ken Moffat wrote:
On Wed, Jul 05, 2017 at 07:59:29PM +0100, Ken Moffat wrote:
On Wed, Jul 05, 2017 at 06:51:03PM +0200, Pierre Labastie wrote:
Side note: it seemed to me that the policy of BLFS was to install upstream
versions of
packages rather bundled ones. it we were to stick to this policy, we should
have
Error.pm as a perl module (it is a separate package in CPAN), and recommend
it for git.
Pierre
Well spotted! I will note that I was wrong when I said it didn't
have perl docs - the docs have Shlomi's name on them (the maintainer
since 2006), but Error.pm doesn't explicitly mention him and I
assumed, wrongly, that the docs were from his XML::LibXML/Error.pm.
On a fully built system, Error-0.17024 drops in with the regular
instructions, but it also has Build.PL and cpan's list of
dependencies claims Module::Build is required (I have it already).
I'm still on git-2.13.0 here, that provides the 0.15009 version of
Error.pm which is from 2006 (instead of 2015).
So, IFF Error.pm builds and tests without Module::Build then it
should be a straightforward addition.
I realised my server (8.0) doesn't have Module::Build - dropped this
in there, builds and tests fine. The module also adds
Error/Simple.pm which was not installed by git.
Do you want to add it ?
Standard instructions seem enough, and there are no dependencies outside
what is installed with perl in LFS,
although some tests are skipped due to missing Test::Pod (but it does
not stop the tests).
I'll try to add it to the perl modules in the book.
Pierre
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page