On Sat, Jul 18, 2009 at 3:11 PM, yarringt@agora-net.com via
RT<bug-JSON-Any@rt.cpan.org> wrote:
Show quoted text> Sat Jul 18 15:11:39 2009: Request 47996 was acted upon.
> Transaction: Ticket created by yarringt@agora-net.com
> Queue: JSON-Any
> Subject: Dependencies changed?
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: yarringt@agora-net.com
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=47996 >
>
>
> I was using JSON-Any in CYGWIN on Windows XP, but was forced to
> upgrade to Windows 7 (what comes after Vista). In reinstalling
> JSON-Any-1.21,
> I successfully installed the updated version of JSON::XS and JSON (which
> is what I needed to install Any before) and then tried to install the
> upgraded version
> of Any. Upon installing, it will create a makefile but it says it is
> missing
> JSON::DWIW and JSON::SYCK. "make" works, but then make test fails
> because of a whole bunch of things missing. My best summation is that
> it thinks
> it's missing DWIW and SYCK (I've included the results of make test below).
>
> My understanding is that Any looks in XP first, then JSON second, then DWIW,
> and then SYCK. I did not install DWIW or SYCK before. This is a problem
> because DWIW won't install and SYCK says clearly, "Use XS instead".
>
> What has changed? Is there a way around it? Please help - I've now
> spent days
> trying to figure this out.
> Thanks,
> -Debra Yarrington
>
>
> /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-load.t t/01-JSON.t t/02-JSON-XS.t t/03-JSON-DWIW.t t/04-ENV.t t/05-JSON-Syck.t t/10_unicode.t t/11-string-escape.t t/12-boolean.t
> t/00-load...............Can't open perl script ""-I/home/Debra Yarrinton/JSON-Any-1.21/inc'": No such file or directory
> t/00-load............... Dubious, test returned 2 (wstat 512, 0x200)
> No subtests run
> t/01-JSON...............1/19 # Testing JSON.pm backend
> t/01-JSON...............ok
> t/02-JSON-XS............Can't open perl script ""I/home/Debra Yarrington/JSON-Any-1.21/inc"": No such file or directory
> t/02-JSON-XS............ Dubious, test returned 2 (wstat 512, 0x200)
> No subtests run
> t/03-JSON-DWIW..........Can't open perl script ""-I/home/Debra yarrington/JSON-Any-1.21/inc"": No such file or directory
> t/03-JSON-DWIW.......... Dubious, test returned 2 (wstat 512, 0x200)
> No subtests run
> t/04-ENV................ok
> t/05-JSON-Syck..........skipped: JSON::Syck not installed: Couldn't find a JSON package. Need XS, JSON, or DWIW at (eval 2) line 2
> t/10_unicode............1/? # handler is JSON::XS
> # handler is JSON::Backend::XS::Supportable
> # DWIW: Couldn't find a JSON package. Need XS, JSON, or DWIW at t/10_unicode.t line 18
> # Syck: Couldn't find a JSON package. Need XS, or JSON at t/10_unicode.t line 18
> t/10_unicode............ok
> t/11-string-escape......1/? # handler is JSON::XS
> # handler is JSON::Backend::XS::Supportable
> # DWIW: Couldn't find a JSON package. Need XS, JSON, or DWIW at t/11-string-escape.t line 46
> Exiting subroutine via next at t/11-string-escape.t line 52.
> Exiting subroutine via next at t/11-string-escape.t line 52.
> t/11-string-escape......ok
> t/12-boolean............1/24 # handler is JSON::XS
> #handler is JSON
> t/12-boolean............ok
>
> Test Summary Report
> -------------------
> t/00-load.t (Wstat: 512 Tests: 0 Failed: 0)
> Non-zero exit status: 2
> Parse errors: No plan found in TAP output
> t/02-JSON-XS.t (Wstat: 512 Tests: 0 Failed: 0)
> Non-zero exit status: 2
> Parse errors: No plan found in TAP output
> t/03-JSON-DWIW.t (Wstat: 512 Tests: 0 Failed: 0)
> Non-zero exit status: 2
> Parse errors: No plan found in TAP output
> Files=9, Tests=95, 2 wallclock secs ( 0.02 usr 0.05 sys + 0.54 cusr 0.24 csys = 0.85 CPU)
> Result: FAIL
> Failed 3/9 test programs. 0/95 subtests failed.
> make: *** [test-dynamic] Error 255
>
>
Are you still using Cygwin? This error:
Can't open perl script ""-I/home/Debra Yarrinton/JSON-Any-1.21/inc'":
No such file or directory
Makes me think if something else is going on. I haven't changed the
way dependencies are detected or installed recently. I have mucked
about a little with JSON::Syck being deprecated but it shouldn't cause
these kinds of errors.
For what it's worth on one of my test boxes I intentionally do not
have JSON::DWIW installed to make sure this passes for me, but I have
not attempted testing installation on Windows 7.
-Chris