Skip Menu |

This queue is for tickets about the Data-Random CPAN distribution.

Report information
The Basics
Id: 77290
Status: resolved
Priority: 0/
Queue: Data-Random

People
Owner: BAREFOOT [...] cpan.org
Requestors: mst [...] shadowcat.co.uk
Cc:
AdminCc:

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



Subject: Current release fails on vanilla 5.14 due to no YAML::Tiny
Date: Fri, 18 May 2012 21:38:10 +0100
To: bugs-Data-Random [...] rt.cpan.org
From: Matt S Trout <mst [...] shadowcat.co.uk>
I think you meant to bundle it in inc/ for Module::Install::JSONMeta to load. Without doing that, 'perl Makefile.PL' goes boom. After installing YAML::Tiny it's all good. -- 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.
Show quoted text
> I think you meant to bundle it in inc/ for Module::Install::JSONMeta to > load.
Well, yes, but *I* don't bundle up things in inc/ ... Module::Install is supposed to do that for me when I run perl Makefile.PL. I can't seem to figure out how to make it include YAML::Tiny when it does that. I'll try posting on PerlMonks, I suppose. If you have any ideas, feel free to share. :-) Thx for the bug report.
Subject: Re: [rt.cpan.org #77290] Current release fails on vanilla 5.14 due to no YAML::Tiny
Date: Sat, 26 May 2012 03:25:19 +0100
To: Buddy Burden via RT <bug-Data-Random [...] rt.cpan.org>
From: Matt S Trout <mst [...] shadowcat.co.uk>
On Fri, May 25, 2012 at 10:03:28PM -0400, Buddy Burden via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=77290 > >
> > I think you meant to bundle it in inc/ for Module::Install::JSONMeta to > > load.
> > Well, yes, but *I* don't bundle up things in inc/ ... Module::Install is > supposed to do that for me when I run perl Makefile.PL. I can't seem to > figure out how to make it include YAML::Tiny when it does that.
include('YAML::Tiny') or include('YAML/Tiny.pm') but I forget; I'm sure it's called include() though. Shout if it isn't :) -- 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.
Show quoted text
> include('YAML::Tiny') or include('YAML/Tiny.pm') but I forget; I'm sure > it's called include() though. Shout if it isn't :)
Hunh. That was so simple it almost pisses me off that I couldn't find it in the MI docs. Anyway, include('YAML::Tiny') does indeed work insofar as it sticks YAML::Tiny into inc/. However, when I do a make disttest, I'm getting: cd Data-Random-0.7 && /usr/bin/perl "-Iinc" Makefile.PL Unknown function is found at Makefile.PL line 19. Execution of Makefile.PL aborted due to runtime errors. which is stumping me a bit. (Line 19 is the new "include" line, of course.) I _do_ have Module::Install::Include in my inc/, so that's not it. Not sure where to go from here ...
Okay, advice on PerlMonks is to use configure_requires to tell EUMM to have YAML::Tiny installed before installing Data::Random. Do you agree this would work? I'll try to put together a developer version to try it out as soon as I can.
Okay, dev version 0.06_02 uploaded mere seconds ago. Can you take a look and see if that fixes it? Seemed to work on my primitive testing. Failing negative feedback from you (or CPAN Testers), I'll try to promote to full this weekend. Thanx.