configure's checks for --enable-tap-tests are insufficient - Mailing list pgsql-hackers

From Tom Lane
Subject configure's checks for --enable-tap-tests are insufficient
Date
Msg-id 516.1521475003@sss.pgh.pa.us
Whole thread Raw
Responses Re: configure's checks for --enable-tap-tests are insufficient  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
So I just went through a rather annoying process trying to run
check-world on a Fedora 26 box where I hadn't done it before:

$ ./configure --enable-tap-tests
... fails, whining about IPC::Run
$ sudo yum install perl-IPC-Run
$ ./configure --enable-tap-tests
... fails, whining about prove
... figure out where Fedora hides prove
$ sudo yum install perl-Test-Harness
$ ./configure --enable-tap-tests
... works this time
... make, then
$ make -j check-world
... runs for awhile and then fails
... much excavation finds a complaint about Test::More not being installed
... figure out where Fedora hides Test::More
$ sudo yum install perl-Test-Simple
$ make -j check-world
... runs for awhile and then fails
... much excavation finds a complaint about Time::HiRes not being installed
$ sudo yum install perl-Time-HiRes
$ make -j check-world
... finally, it works!

Now, perhaps this is an indictment of Red Hat's choices about how to
package-ize the Perl world and which packages belong in a default
workstation installation.  But we haven't made it any easier.

I'm thinking that at minimum we ought to make configure --enable-tap-tests
check for Test::More and Time::HiRes as well as IPC::Run.  It might be
useful for somebody to repeat this exercise on a minimal Debian-oid
installation and see if there's a different set of pain points.

            regards, tom lane


pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Problems with Error Messages wrt Domains, Checks
Next
From: Robert Haas
Date:
Subject: Re: parallel append vs. simple UNION ALL