Skip Menu |

This queue is for tickets about the ExtUtils-ModuleMaker CPAN distribution.

Report information
The Basics
Id: 123587
Status: rejected
Priority: 0/
Queue: ExtUtils-ModuleMaker

People
Owner: jkeenan [...] cpan.org
Requestors: Robert.Graf [...] s-itsolutions.at
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Bug in "make test" ... requires “Test::Harness” and vice versa during installing
Date: Fri, 10 Nov 2017 16:19:27 +0100
To: "bug-ExtUtils-ModuleMaker [...] rt.cpan.org" <bug-ExtUtils-ModuleMaker [...] rt.cpan.org>
From: Graf Robert 6318 sIT <Robert.Graf [...] s-itsolutions.at>
Hi, when I run „make test“ the module “Test/Harness.pm” is missing. [sm9ac@sec001d ExtUtils-MakeMaker-7.30]$ make test PERL_DL_NONLAZY=1 "/usr/bin/perl" -Iinc "-Iblib/arch" "-Iblib/lib" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Can't locate Test/Harness.pm in @INC (@INC contains: inc blib/arch blib/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .). BEGIN failed--compilation aborted. make: *** [test_dynamic] Error 2 [sm9ac@sec001d ExtUtils-MakeMaker-7.30]$ perl -V Summary of my perl5 (revision 5 version 16 subversion 3) configuration: I then downloaded Test-Harness-3.39 and cat README which shows requirement of Makefile.PL (use ExtUtils::MakeMaker). “ExtUtils::MakeMaker” requires “Test::Harness” and vice versa during installing - which isn’t possible. I’m using Red Hat 7.3 with Perl 5.16.3 Best regards, Robert Ing. Robert Graf s IT Solutions GAL SE/SECA s IT Solutions AT Spardat GmbH A-1110 Vienna, Geiselbergstr. 21 - 25 Phone: +43 50100 – 17772 Mobile: +43 50100 - 6 17772 Fax: +43 50100 – 9 17772 E-Mail: robert.graf@s-itsolutions.at Website: www.s-itsolutions.at Diese Nachricht und allfaellige angehaengte Dokumente sind vertraulich und nur fuer den/die Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Adressat sein, ist jede Offenlegung, Weiterleitung oder sonstige Verwendung dieser Information nicht gestattet. In diesem Fall bitten wir, den Absender zu verstaendigen und die Information zu vernichten. Fuer Uebermittlungsfehler oder sonstige Irrtuemer bei Uebermittlung besteht keine Haftung. This message and any attached files are confidential and intended solely for the addressee(s). Any publication, transmission or other use of the information by a person or entity other than the intended addressee is prohibited. If you receive this in error please contact the sender and delete the material. The sender does not accept liability for any errors or omissions as a result of the transmission.
On Fri Nov 10 10:35:18 2017, Robert.Graf@s-itsolutions.at wrote: Show quoted text
> Hi, > > when I run „make test“ the module “Test/Harness.pm” is missing. > > [sm9ac@sec001d ExtUtils-MakeMaker-7.30]$ make test > PERL_DL_NONLAZY=1 "/usr/bin/perl" -Iinc "-Iblib/arch" "-Iblib/lib" "- > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > Can't locate Test/Harness.pm in @INC (@INC contains: inc blib/arch > blib/lib /usr/local/lib64/perl5 /usr/local/share/perl5 > /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl > /usr/lib64/perl5 /usr/share/perl5 .). > BEGIN failed--compilation aborted. > make: *** [test_dynamic] Error 2 > [sm9ac@sec001d ExtUtils-MakeMaker-7.30]$ perl -V > Summary of my perl5 (revision 5 version 16 subversion 3) > configuration: > > I then downloaded Test-Harness-3.39 and cat README which shows > requirement of Makefile.PL (use ExtUtils::MakeMaker). > > “ExtUtils::MakeMaker” requires “Test::Harness” and vice versa during > installing - which isn’t possible. > > > I’m using Red Hat 7.3 with Perl 5.16.3 > >
I suspect you have confused "ExtUtils::ModuleMaker" -- the CPAN library I maintain -- with "ExtUtils::MakeMaker" -- whose bug queue is at https://rt.cpan.org//Dist/Display.html?Queue=ExtUtils-MakeMaker and which is shipped with the Perl 5 core distribution. There's no mention of Test::Harness in ModuleMaker's Makefile.PL. Hence, I don't think ModuleMaker is responsible for the error output you have quoted. Please double-check. Thank you very much. Jim Keenan
Subject: AW: [rt.cpan.org #123587] Bug in "make test" ... requires “Test::Harness” and vice versa during installing
Date: Fri, 10 Nov 2017 17:33:43 +0100
To: "bug-ExtUtils-ModuleMaker [...] rt.cpan.org" <bug-ExtUtils-ModuleMaker [...] rt.cpan.org>
From: Graf Robert 6318 sIT <Robert.Graf [...] s-itsolutions.at>
Hi, thanks a lot. I think you are right. I looks like our OS people in our bank have a "reduced" Red Hat 7.3 ? Another user just wrote: By default Red Hat doesn't install all parts that usually ship with perl; what you're observing is a direct consequence of that unfortunate decision. If you install the perl-core package your problems should go away. I will ask what is going around here in our company. Thanks a lot. Robert Show quoted text
-----Ursprüngliche Nachricht----- Von: James E Keenan via RT [mailto:bug-ExtUtils-ModuleMaker@rt.cpan.org] Gesendet: Freitag, 10. November 2017 17:24 An: Graf Robert 6318 sIT Betreff: [rt.cpan.org #123587] Bug in "make test" ... requires “Test::Harness” and vice versa during installing <URL: https://rt.cpan.org/Ticket/Display.html?id=123587 > On Fri Nov 10 10:35:18 2017, Robert.Graf@s-itsolutions.at wrote:
> Hi, > > when I run „make test“ the module “Test/Harness.pm” is missing. > > [sm9ac@sec001d ExtUtils-MakeMaker-7.30]$ make test > PERL_DL_NONLAZY=1 "/usr/bin/perl" -Iinc "-Iblib/arch" "-Iblib/lib" "- > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > Can't locate Test/Harness.pm in @INC (@INC contains: inc blib/arch > blib/lib /usr/local/lib64/perl5 /usr/local/share/perl5 > /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl > /usr/lib64/perl5 /usr/share/perl5 .). > BEGIN failed--compilation aborted. > make: *** [test_dynamic] Error 2 > [sm9ac@sec001d ExtUtils-MakeMaker-7.30]$ perl -V > Summary of my perl5 (revision 5 version 16 subversion 3) > configuration: > > I then downloaded Test-Harness-3.39 and cat README which shows > requirement of Makefile.PL (use ExtUtils::MakeMaker). > > “ExtUtils::MakeMaker” requires “Test::Harness” and vice versa during > installing - which isn’t possible. > > > I’m using Red Hat 7.3 with Perl 5.16.3 > >
I suspect you have confused "ExtUtils::ModuleMaker" -- the CPAN library I maintain -- with "ExtUtils::MakeMaker" -- whose bug queue is at https://rt.cpan.org//Dist/Display.html?Queue=ExtUtils-MakeMaker and which is shipped with the Perl 5 core distribution. There's no mention of Test::Harness in ModuleMaker's Makefile.PL. Hence, I don't think ModuleMaker is responsible for the error output you have quoted. Please double-check. Thank you very much. Jim Keenan
On Fri Nov 10 11:33:57 2017, Robert.Graf@s-itsolutions.at wrote: Show quoted text
> Hi, > > thanks a lot. > > I think you are right. > > I looks like our OS people in our bank have a "reduced" Red Hat 7.3 ? > >
Wow, that's old. ISTR installing RH 7.3 (or perhaps 7.2) when I first wanted to learn Linux/Unix back in 2001! Show quoted text
> Another user just wrote: > > By default Red Hat doesn't install all parts that usually ship with > perl; > what you're observing is a direct consequence of that unfortunate > decision. > If you install the perl-core package your problems should go away. > >
Yes, it is quite common for packagers such as RedHat, Debian, etc., to "split up" the Perl 5 core distribution from the tarball one would get at, say, https://www.cpan.org/src/README.html. The "base" package will, in such cases, typically include what *the system itself* needs in order to have a perl executable capable of running programs shipped with the system. But to develop applications with Perl, you always need core modules like MakeMaker. And these days, when someone uses Perl in a production setting, it's more common (and considered best practice) for the developers to build their own perl executable and libraries attached, rather than to rely on the "system" or "vendor" perl executable. Among other things, that enables you to write in the most up-to-date versions of the Perl 5 language, e.g., 5.26 versus 5.16. Hope that helps. Show quoted text
> > > I will ask what is going around here in our company. > > Thanks a lot. > > Robert > > > > > -----Ursprüngliche Nachricht----- > Von: James E Keenan via RT [mailto:bug-ExtUtils- > ModuleMaker@rt.cpan.org] > Gesendet: Freitag, 10. November 2017 17:24 > An: Graf Robert 6318 sIT > Betreff: [rt.cpan.org #123587] Bug in "make test" ... requires > “Test::Harness” and vice versa during installing > > <URL: https://rt.cpan.org/Ticket/Display.html?id=123587 > > > On Fri Nov 10 10:35:18 2017, Robert.Graf@s-itsolutions.at wrote:
> > Hi, > > > > when I run „make test“ the module “Test/Harness.pm” is missing. > > > > [sm9ac@sec001d ExtUtils-MakeMaker-7.30]$ make test > > PERL_DL_NONLAZY=1 "/usr/bin/perl" -Iinc "-Iblib/arch" "-Iblib/lib" "- > > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > > t/*.t > > Can't locate Test/Harness.pm in @INC (@INC contains: inc blib/arch > > blib/lib /usr/local/lib64/perl5 /usr/local/share/perl5 > > /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl > > /usr/lib64/perl5 /usr/share/perl5 .). > > BEGIN failed--compilation aborted. > > make: *** [test_dynamic] Error 2 > > [sm9ac@sec001d ExtUtils-MakeMaker-7.30]$ perl -V > > Summary of my perl5 (revision 5 version 16 subversion 3) > > configuration: > > > > I then downloaded Test-Harness-3.39 and cat README which shows > > requirement of Makefile.PL (use ExtUtils::MakeMaker). > > > > “ExtUtils::MakeMaker” requires “Test::Harness” and vice versa during > > installing - which isn’t possible. > > > > > > I’m using Red Hat 7.3 with Perl 5.16.3 > > > >
> > I suspect you have confused "ExtUtils::ModuleMaker" -- the CPAN > library I maintain -- with "ExtUtils::MakeMaker" -- whose bug queue is > at https://rt.cpan.org//Dist/Display.html?Queue=ExtUtils-MakeMaker and > which is shipped with the Perl 5 core distribution. > > There's no mention of Test::Harness in ModuleMaker's Makefile.PL. > Hence, I don't think ModuleMaker is responsible for the error output > you have quoted. Please double-check. > > Thank you very much. > Jim Keenan
Closing ticket. Problem is not in ModuleMaker.
Subject: AW: [rt.cpan.org #123587] Bug in "make test" ... requires “Test::Harness” and vice versa during installing
Date: Fri, 10 Nov 2017 18:08:58 +0100
To: "bug-ExtUtils-ModuleMaker [...] rt.cpan.org" <bug-ExtUtils-ModuleMaker [...] rt.cpan.org>
From: Graf Robert 6318 sIT <Robert.Graf [...] s-itsolutions.at>
Thanks a lot for the fast reply, that helps a lot. What should I say about our OS people in our bank? ;) "We are using RH because it's stable". I will force them to install a complete normal Perl distribution on our server. Best regards Robert Show quoted text
-----Ursprüngliche Nachricht----- Von: James E Keenan via RT [mailto:bug-ExtUtils-ModuleMaker@rt.cpan.org] Gesendet: Freitag, 10. November 2017 17:56 An: Graf Robert 6318 sIT Betreff: [rt.cpan.org #123587] Bug in "make test" ... requires “Test::Harness” and vice versa during installing <URL: https://rt.cpan.org/Ticket/Display.html?id=123587 > On Fri Nov 10 11:33:57 2017, Robert.Graf@s-itsolutions.at wrote:
> Hi, > > thanks a lot. > > I think you are right. > > I looks like our OS people in our bank have a "reduced" Red Hat 7.3 ? > >
Wow, that's old. ISTR installing RH 7.3 (or perhaps 7.2) when I first wanted to learn Linux/Unix back in 2001!
> Another user just wrote: > > By default Red Hat doesn't install all parts that usually ship with > perl; > what you're observing is a direct consequence of that unfortunate > decision. > If you install the perl-core package your problems should go away. > >
Yes, it is quite common for packagers such as RedHat, Debian, etc., to "split up" the Perl 5 core distribution from the tarball one would get at, say, https://www.cpan.org/src/README.html. The "base" package will, in such cases, typically include what *the system itself* needs in order to have a perl executable capable of running programs shipped with the system. But to develop applications with Perl, you always need core modules like MakeMaker. And these days, when someone uses Perl in a production setting, it's more common (and considered best practice) for the developers to build their own perl executable and libraries attached, rather than to rely on the "system" or "vendor" perl executable. Among other things, that enables you to write in the most up-to-date versions of the Perl 5 language, e.g., 5.26 versus 5.16. Hope that helps.
> > > I will ask what is going around here in our company. > > Thanks a lot. > > Robert > > > > > -----Ursprüngliche Nachricht----- > Von: James E Keenan via RT [mailto:bug-ExtUtils- > ModuleMaker@rt.cpan.org] > Gesendet: Freitag, 10. November 2017 17:24 > An: Graf Robert 6318 sIT > Betreff: [rt.cpan.org #123587] Bug in "make test" ... requires > “Test::Harness” and vice versa during installing > > <URL: https://rt.cpan.org/Ticket/Display.html?id=123587 > > > On Fri Nov 10 10:35:18 2017, Robert.Graf@s-itsolutions.at wrote:
> > Hi, > > > > when I run „make test“ the module “Test/Harness.pm” is missing. > > > > [sm9ac@sec001d ExtUtils-MakeMaker-7.30]$ make test > > PERL_DL_NONLAZY=1 "/usr/bin/perl" -Iinc "-Iblib/arch" "-Iblib/lib" "- > > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > > t/*.t > > Can't locate Test/Harness.pm in @INC (@INC contains: inc blib/arch > > blib/lib /usr/local/lib64/perl5 /usr/local/share/perl5 > > /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl > > /usr/lib64/perl5 /usr/share/perl5 .). > > BEGIN failed--compilation aborted. > > make: *** [test_dynamic] Error 2 > > [sm9ac@sec001d ExtUtils-MakeMaker-7.30]$ perl -V > > Summary of my perl5 (revision 5 version 16 subversion 3) > > configuration: > > > > I then downloaded Test-Harness-3.39 and cat README which shows > > requirement of Makefile.PL (use ExtUtils::MakeMaker). > > > > “ExtUtils::MakeMaker” requires “Test::Harness” and vice versa during > > installing - which isn’t possible. > > > > > > I’m using Red Hat 7.3 with Perl 5.16.3 > > > >
> > I suspect you have confused "ExtUtils::ModuleMaker" -- the CPAN > library I maintain -- with "ExtUtils::MakeMaker" -- whose bug queue is > at https://rt.cpan.org//Dist/Display.html?Queue=ExtUtils-MakeMaker and > which is shipped with the Perl 5 core distribution. > > There's no mention of Test::Harness in ModuleMaker's Makefile.PL. > Hence, I don't think ModuleMaker is responsible for the error output > you have quoted. Please double-check. > > Thank you very much. > Jim Keenan