Re: configure's checks for --enable-tap-tests are insufficient

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Christoph Berg <myon(at)debian(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>, Craig Ringer <craig(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: configure's checks for --enable-tap-tests are insufficient
Date: 2018-03-20 20:28:48
Message-ID: 20180320202848.aj4kmmip2nxjcj4q@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christoph Berg wrote:
> Re: Alvaro Herrera 2018-03-20 <20180320185038(dot)r3hjvfio4elnaqku(at)alvherre(dot)pgsql>
> > Time::HiRes is also in libperl5.24, so as far Debian goes, that one
> > would be unnecessary; but IPC::Run and Test::More are in separate
> > packages (libipc-run-perl and libtest-base-perl, respectively.)
>
> The Debian package build-depends on these:
>
> libipc-run-perl,
> libperl-dev,
> perl (>= 5.8),
>
> Test::More is provided by several packages:
>
> perl-modules-5.24: /usr/share/perl/5.24.1/Test/More.pm
> perl-modules-5.26: /usr/share/perl/5.26.1/Test/More.pm
> libtest-simple-perl: /usr/share/perl5/Test/More.pm
>
> ... so depending on "perl" is enough, which pulls in
> perl-modules-$current.

Actually, the whole point of this exercise is to ensure that configure
complains properly if somebody installs perl-base but not perl, that is,
what happens if perl-modules-5.24 is not there.

I think you need libperl5.xx in order to use --with-perl; and if you
install that one, you're going to get perl-modules-5.xx as a side
effect, so that scenario is covered. I don't have a minimal Debian
installation to try
configure --without-perl --enable-tap-tests

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2018-03-20 20:30:15 Re: [PROPOSAL] Shared Ispell dictionaries
Previous Message Tomas Vondra 2018-03-20 20:14:04 Re: [HACKERS] VACUUM and ANALYZE disagreeing on what reltuples means