Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DBD-Oracle CPAN distribution.

Report information
The Basics
Id: 56824
Status: resolved
Priority: 0/
Queue: DBD-Oracle

People
Owner: Nobody in particular
Requestors: abraxxa [...] cpan.org
Cc: mst [...] shadowcat.co.uk
AdminCc:

Bug Information
Severity: Important
Broken in: 1.24a
Fixed in: 1.29_1



CC: mst [...] shadowcat.co.uk
Subject: META.yml misses DBI as configure_requires
perl Makefile.PL fails with: CPAN Terminal> i DBD::Oracle Installing DBD::Oracle (1.24) Running [/usr/bin/perl /usr/bin/cpanp-run-perl /root/.cpanplus/5.10.0/build/DBD-Oracle-1.24/Makefile.PL]... Can't locate DBI.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /root/.cpanplus/5.10.0/build/DBD-Oracle-1.24/Makefile.PL line 21. BEGIN failed--compilation aborted at /root/.cpanplus/5.10.0/build/DBD-Oracle-1.24/Makefile.PL line 21. [ERROR] Could not run '/usr/bin/perl Makefile.PL': Can't locate DBI.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /root/.cpanplus/5.10.0/build/DBD-Oracle-1.24/Makefile.PL line 21. BEGIN failed--compilation aborted at /root/.cpanplus/5.10.0/build/DBD-Oracle-1.24/Makefile.PL line 21. adding configure_requires: DBI: 1.51 should fix this. Note that I used the same DBI version as the required one, maybe an even older one can be used for configure (if that makes sense).
Not sure if it is any use to change the META.yml file as that is added automatically when I do an upload # http://module-build.sourceforge.net/META-spec.html #XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX# name: DBD-Oracle version: 1.24 version_from: Oracle.pm installdirs: site requires: DBI: 1.51 distribution_type: module generated_by: ExtUtils::MakeMaker version 6.17 is the latest version Not sure what You want me to change?? On Thu Apr 22 10:48:55 2010, ABRAXXA wrote: Show quoted text
> perl Makefile.PL fails with: > > CPAN Terminal> i DBD::Oracle > > Installing DBD::Oracle (1.24) > Running [/usr/bin/perl /usr/bin/cpanp-run-perl > /root/.cpanplus/5.10.0/build/DBD-Oracle-1.24/Makefile.PL]... > Can't locate DBI.pm in @INC (@INC contains: /etc/perl > /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 > /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 > /usr/local/lib/site_perl .) at > /root/.cpanplus/5.10.0/build/DBD-Oracle-1.24/Makefile.PL line 21. > BEGIN failed--compilation aborted at > /root/.cpanplus/5.10.0/build/DBD-Oracle-1.24/Makefile.PL line 21. > [ERROR] Could not run '/usr/bin/perl Makefile.PL': Can't locate DBI.pm > in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 > /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 > /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at > /root/.cpanplus/5.10.0/build/DBD-Oracle-1.24/Makefile.PL line 21. > BEGIN failed--compilation aborted at > /root/.cpanplus/5.10.0/build/DBD-Oracle-1.24/Makefile.PL line 21. > > adding > > configure_requires: > DBI: 1.51 > > should fix this. > Note that I used the same DBI version as the required one, maybe an even > older one can be used for configure (if that makes sense).
CC: alex.hartmaier [...] gmail.com
Subject: Re: [rt.cpan.org #56824] META.yml misses DBI as configure_requires
Date: Fri, 23 Apr 2010 18:47:38 +0100
To: Pythian Remote DBA via RT <bug-DBD-Oracle [...] rt.cpan.org>
From: Matt S Trout <mst [...] shadowcat.co.uk>
On Fri, Apr 23, 2010 at 07:11:03AM -0400, Pythian Remote DBA via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=56824 > > > Not sure if it is any use to change the META.yml file as that is added > automatically when I do an upload > > # http://module-build.sourceforge.net/META-spec.html > #XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX# > name: DBD-Oracle > version: 1.24 > version_from: Oracle.pm > installdirs: site > requires: > DBI: 1.51 > > distribution_type: module > generated_by: ExtUtils::MakeMaker version 6.17
And ExtUtils::MakeMaker provides a META_MERGE facility that allows you to add keys to it by supplying a hashref. Add the appropriate configure_requires there. -- Matt S Trout Catalyst and DBIx::Class consultancy with a clue Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/ Shadowcat Systems Limited mst (@) shadowcat.co.uk http://shadowcat.co.uk/blog/matt-s-trout/
Now able to use namke dist with latest version of nmake so we should not see this again
Subject: Re: [rt.cpan.org #56824] META.yml misses DBI as configure_requires
Date: Fri, 28 May 2010 19:07:54 +0100
To: Pythian Remote DBA via RT <bug-DBD-Oracle [...] rt.cpan.org>
From: Matt S Trout <mst [...] shadowcat.co.uk>
On Fri, May 28, 2010 at 01:17:38PM -0400, Pythian Remote DBA via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=56824 > > > Now able to use namke dist with latest version of nmake so we should not > see this again
1.24b is still wrong. Please wait until you've actually shipped a fixed release before marking this resolved - there are people tracking this ticket in order to be able to do reliable production builds, which your mistake currently prevents. -- Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue http://shadowcat.co.uk/blog/matt-s-trout/ http://twitter.com/shadowcat_mst/ Email me now on mst (at) shadowcat.co.uk and let's chat about how our Catalyst commercial support, training and consultancy packages could help your team.
Whats the problem I did a make dist and used that. What is missing?? http://cpansearch.perl.org/src/PYTHIAN/DBD-Oracle-1.24b/META.yml is there??
Subject: Re: [rt.cpan.org #56824] META.yml misses DBI as configure_requires
Date: Fri, 28 May 2010 19:20:01 +0100
To: Pythian Remote DBA via RT <bug-DBD-Oracle [...] rt.cpan.org>
From: Matt S Trout <mst [...] shadowcat.co.uk>
On Fri, May 28, 2010 at 02:12:38PM -0400, Pythian Remote DBA via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=56824 > > > Whats the problem I did a make dist and used that. > > What is missing?? > > http://cpansearch.perl.org/src/PYTHIAN/DBD-Oracle-1.24b/META.yml > > is there??
And STILL DOES NOT CONTAIN a configure_requires key for DBI. Only for ExtUtils::MakeMaker. You need to add META_MERGE, as I already explained. Try adding ... META_MERGE => { configure_requires => { DBI => '1.51' } } to your Makefile.PL's %opts declaration or so. -- Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue http://shadowcat.co.uk/blog/matt-s-trout/ http://twitter.com/shadowcat_mst/ Email me now on mst (at) shadowcat.co.uk and let's chat about how our Catalyst commercial support, training and consultancy packages could help your team.
CC: alex.hartmaier [...] gmail.com
Subject: Re: [rt.cpan.org #56824] META.yml misses DBI as configure_requires
Date: Sat, 5 Jun 2010 14:44:00 +0100
To: Pythian Remote DBA via RT <bug-DBD-Oracle [...] rt.cpan.org>
From: Matt S Trout <mst [...] shadowcat.co.uk>
This is still broken on CPAN and makes DBD::Oracle uninstallable. Please can you either use the META_MERGE approach as described, or: CONFIGURE_REQUIRES => { DBI => '1.51' } - see http://cpansearch.perl.org/src/DAGOLDEN/CPAN-Meta-2.101461/Makefile.PL for an example of doing this for ExtUtils::MakeMaker rather than DBI. -- Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue http://shadowcat.co.uk/blog/matt-s-trout/ http://twitter.com/shadowcat_mst/ Email me now on mst (at) shadowcat.co.uk and let's chat about how our Catalyst commercial support, training and consultancy packages could help your team.