Re: Test t9500 fails if Time::HiRes is missing
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 27, 2012, 05:48 UTC
- Message-ID
- <7v8vkt1yry.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CACBZZX4cjcY5d3mPJAV+rbSTqCEUOrF=_dd3ny_jSM++G-Bg1Q@mail.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> This doesn't actually fix the issue, it only sweeps it under the rug > by making the tests pass, gitweb will still fail to compile on Red > Hat once installed.
In the short term for 1.7.9, let's at least warn users about this issue.
-- >8 -- Subject: INSTALL: warn about recent Fedora breakage
Recent releases of Redhat/Fedora are reported to ship Perl binary package with some core modules stripped away (see http://lwn.net/Articles/477234/) against the upstream Perl5 people's wishes. The Time::HiRes module used by gitweb one of them.
Signed-off-by: Junio C Hamano <gitster@pobox.com> ---
* Hopefully, this may resolve itself over time.
INSTALL | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/INSTALL b/INSTALL index 8120641..6fa83fe 100644 --- a/INSTALL +++ b/INSTALL @@ -83,7 +83,11 @@ Issues of note: - "Perl" version 5.8 or later is needed to use some of the features (e.g. preparing a partial commit using "git add -i/-p", interacting with svn repositories with "git svn"). If you can - live without these, use NO_PERL. + live without these, use NO_PERL. Note that recent releases of + Redhat/Fedora are reported to ship Perl binary package with some + core modules stripped away (see http://lwn.net/Articles/477234/), + so you might need to install additional packages other than Perl + itself, e.g. Time::HiRes. - "openssl" library is used by git-imap-send to use IMAP over SSL. If you don't need it, use NO_OPENSSL.