On 05/07/2017 12:22, Wayne Blaszczyk wrote:
On Tue, 2017-07-04 at 19:19 +0200, Pierre Labastie wrote:
On 04/07/2017 17:56, Ken Moffat wrote:
On Tue, Jul 04, 2017 at 02:41:15PM +0200, Pierre Labastie wrote:
Hi,
Git has some interactive mode of operations (git add --patch, git add
--interactive, for example) which require (at least) the perl module
Error.pm. I think it should be at least mentioned on git's page. I am not
sure we want to include this module in the 'perl Modules" page. What do you
think?
Pierre
According to my logs, git itself installs Error.pm, along with
Git.pm and various Git/ perl modules. We mention the installed
directories, but Error.pm is in the toplevel site_perl/5.xx.y
directory.
Looks as if these modules do not have perl documentation :
perldoc Error is for the Error.pm within XML::LibXML,
perldoc git explains how to use git to develop perl.
Summary - I don't think there is anything to add.
Hmmm, it was not installed by git-2.13.2, as far as I can tell.
Thanks for prompting me to look at preivous logs:
[...]
- it was installed for git-2.13.1 (and perl 5.24.1)
- But it was not installed for git-2.13.2 (and perl 5.26.0)
Problem with googling is that there are a lot of users missing Error.pm in
their distro, which does not say whether git generated it or not...
Will try to investigate more.
Pierre
I can confirm that Error.pm was installed for me as well during git-2.13.2
install.
I do however have perl 5.24.1, so maybe its something to do with perl 5.26.0?
Regards,
Wayne.
Thanks,
I think I know now what happened, and it has nothing to do with versions...
Git installs Error.pm only if it is not installed already on the system.
This is
done in Makefile.PL, that is during the "make" stage. At that moment,
Error.pm
was on my system, from a previous installation of git. So the generated
Makefile
did not have instructions for Error.pm in it. But then, before make
install, I completely removed the previous version of git (using porg).
And that
removed Error.pm as well, which was not reinstalled since there were no
instructions for that in the Makefile...
But wait... The same scenario should have happened with previous
installations!
Reason:
in all previous installations, "perl Makefile.PL" was rerun at the
beginning of the
"make install" run (that is, without Error.pm on the system, so
instructions to install it
were generated in the Makefile. But for 2.13.2, I run the tests, and
"perl Makefile.PL"
was rerun at the beginning of the "make test" run (with Error.pm still
present on the
system, but *not* during the "make install" run.
Anyway, the conclusion is as Ken said, except... See the "side note" next.
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
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page