Skip Menu |

This queue is for tickets about the RDF-AllegroGraph-Easy CPAN distribution.

Report information
The Basics
Id: 62650
Status: resolved
Priority: 0/
Queue: RDF-AllegroGraph-Easy

People
Owner: Nobody in particular
Requestors: MTHURN [...] cpan.org
Cc:
AdminCc:

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



Subject: can not use under Perl 5.8
Can not use your module in Perl 5.8, because of the "use feature switch" in Repository.pm. I need to stay with 5.8 because of my other software projects. If I submit a patch, would you be willing to apply it? -- - - Martin 'Kingpin' Thurn
BTW when I run `perl Makefile.PL` with Perl 5.8, it does NOT say anything about my perl version. It's not until I run `nmake test` that it fails in an ugly fashion. See below. You should add the perl version prereq to your Makefile.PL! C:\src\PERL\RDF-AllegroGraph-Easy-0.05>perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for RDF::AllegroGraph::Easy C:\src\PERL\RDF-AllegroGraph-Easy-0.05>nmake test Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cp lib/RDF/AllegroGraph/Easy.pm blib\lib\RDF\AllegroGraph\Easy.pm cp lib/RDF/AllegroGraph/Server.pm blib\lib\RDF\AllegroGraph\Server.pm cp lib/RDF/AllegroGraph/Utils.pm blib\lib\RDF\AllegroGraph\Utils.pm cp lib/RDF/AllegroGraph/Repository.pm blib\lib\RDF\AllegroGraph\Repository.pm cp lib/RDF/AllegroGraph/Catalog.pm blib\lib\RDF\AllegroGraph\Catalog.pm cp lib/RDF/AllegroGraph.pm blib\lib\RDF\AllegroGraph.pm C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/01_repos.t ....... # Failed test 'use RDF::AllegroGraph::Easy;' # at t/01_repos.t line 6. t/01_repos.t ....... 1/? # Tried to use 'RDF::AllegroGraph::Easy'. # Error: Can't locate feature.pm in @INC (@INC contains: C:\src\PERL\RDF-AllegroGraph-Easy-0.05\blib\lib C:\src\PERL\RDF-AllegroGraph-Easy-0.05\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\src\PERL\RDF-AllegroGraph-Easy-0.05\blib\lib/RDF/AllegroGraph/Repository.pm line 10. # BEGIN failed--compilation aborted at C:\src\PERL\RDF-AllegroGraph-Easy-0.05\blib\lib/RDF/AllegroGraph/Repository.pm line 10. # Compilation failed in require at C:\src\PERL\RDF-AllegroGraph-Easy-0.05\blib\lib/RDF/AllegroGraph/Catalog.pm line 36. # BEGIN failed--compilation aborted at C:\src\PERL\RDF-AllegroGraph-Easy-0.05\blib\lib/RDF/AllegroGraph/Catalog.pm line 36. # Compilation failed in require at C:\src\PERL\RDF-AllegroGraph-Easy-0.05\blib\lib/RDF/AllegroGraph/Server.pm line 65. # BEGIN failed--compilation aborted at C:\src\PERL\RDF-AllegroGraph-Easy-0.05\blib\lib/RDF/AllegroGraph/Server.pm line 65. # Compilation failed in require at C:\src\PERL\RDF-AllegroGraph-Easy-0.05\blib\lib/RDF/AllegroGraph/Easy.pm line 60. # BEGIN failed--compilation aborted at C:\src\PERL\RDF-AllegroGraph-Easy-0.05\blib\lib/RDF/AllegroGraph/Easy.pm line 60. # Compilation failed in require at (eval 11) line 2. # BEGIN failed--compilation aborted at (eval 11) line 2. # Looks like you failed 1 test of 2. t/01_repos.t ....... Dubious, test returned 1 (wstat 256, 0x100)
On Tue Nov 02 15:31:13 2010, MTHURN wrote: Show quoted text
> Can not use your module in Perl 5.8, because of the "use feature switch" > in Repository.pm. I need to stay with 5.8 because of my other software > projects. If I submit a patch, would you be willing to apply it?
I am not religious about using "feature switch", albeit it is often convenient.
On Tue Nov 02 15:37:38 2010, MTHURN wrote: Show quoted text
> BTW when I run `perl Makefile.PL` with Perl 5.8, it does NOT say > anything about my perl version. It's not until I run `nmake test` > that > it fails in an ugly fashion. See below. You should add the perl > version prereq to your Makefile.PL!
The *real* build file is Build.PL, not Makefile.PL. The latter is autogenerated, maybe it should not be included in the MANIFEST, as it adds to this confusion. Build.PL mentions the Perl version. Hopefully this is then sufficient. \rho
On Tue Nov 02 16:27:57 2010, DRRHO wrote: Show quoted text
> On Tue Nov 02 15:37:38 2010, MTHURN wrote:
> > BTW when I run `perl Makefile.PL` with Perl 5.8, it does NOT say > > anything about my perl version. It's not until I run `nmake test` > > that > > it fails in an ugly fashion. See below. You should add the perl > > version prereq to your Makefile.PL!
> > The *real* build file is Build.PL, not Makefile.PL. > > The latter is autogenerated, maybe it should not be included > in the MANIFEST, as it adds to this confusion. > > Build.PL mentions the Perl version. Hopefully this is then > sufficient.
0.06 will not contain Makefile.PL