configure's checks for --enable-tap-tests are insufficient
От | Tom Lane |
---|---|
Тема | configure's checks for --enable-tap-tests are insufficient |
Дата | |
Msg-id | 516.1521475003@sss.pgh.pa.us обсуждение исходный текст |
Ответы |
Re: configure's checks for --enable-tap-tests are insufficient
|
Список | 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 по дате отправления: