Special_K has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to install Inline::C via CPAN and it's failing. Here is my log file up until the error:
Going to read '/home/user1/.cpan/Metadata' Database was generated on Tue, 12 Mar 2013 15:53:02 GMT Running install for module 'Inline::C' Running make for S/SI/SISYPHUS/Inline-0.52.tar.gz Checksum for /home/user1/.cpan/sources/authors/id/S/SI/SISYPHUS/Inline +-0.52.tar.gz ok CPAN.pm: Going to build S/SI/SISYPHUS/Inline-0.52.tar.gz Checking if your kit is complete... Looks good Inline::C is packaged with Inline.pm because it is the most commonly u +sed Inline Language Support Module (ILSM). See also: Inline::ASM, ::Awk, ::BC, ::Basic, ::Befunge, ::CPP (C++), : +:CPR, ::Foo, ::Guile, ::Java, ::Octave, ::PERL, ::Python, ::Ruby, +::TT, ::Tcl and ::WebChat. Config.pm indicates that your version of Perl was built with this C co +mpiler: gcc-4 I have located this compiler on your system. Do you want to install Inline::C? [y] Writing Makefile for Inline::C Writing MYMETA.yml Writing Makefile for Inline Writing MYMETA.yml cp Inline.pod blib/lib/Inline.pod cp lib/Inline/MakeMaker/Changes blib/lib/Inline/MakeMaker/Changes cp lib/Inline/denter.pm blib/lib/Inline/denter.pm AutoSplitting blib/lib/Inline/denter.pm (blib/lib/auto/Inline/denter) cp Inline.pm blib/lib/Inline.pm AutoSplitting blib/lib/Inline.pm (blib/lib/auto/Inline) cp lib/Inline/Foo.pm blib/lib/Inline/Foo.pm cp Inline-API.pod blib/lib/Inline-API.pod cp lib/Inline/MakeMaker.pm blib/lib/Inline/MakeMaker.pm cp Inline-FAQ.pod blib/lib/Inline-FAQ.pod cp Inline-Support.pod blib/lib/Inline-Support.pod make[1]: Entering directory `/home/user1/.cpan/build/Inline-0.52-9pbT8 +q/C' cp lib/Inline/C/ParseRegExp.pm ../blib/lib/Inline/C/ParseRegExp.pm cp C-Cookbook.pod ../blib/lib/Inline/C-Cookbook.pod cp C.pm ../blib/lib/Inline/C.pm cp C.pod ../blib/lib/Inline/C.pod cp lib/Inline/C/ParseRecDescent.pm ../blib/lib/Inline/C/ParseRecDescen +t.pm Manifying ../blib/man3/Inline.C.ParseRegExp.3pm Manifying ../blib/man3/Inline.C-Cookbook.3pm Manifying ../blib/man3/Inline.C.ParseRecDescent.3pm Manifying ../blib/man3/Inline.C.3pm make[1]: Leaving directory `/home/user1/.cpan/build/Inline-0.52-9pbT8q +/C' Manifying blib/man3/Inline.3pm Manifying blib/man3/Inline-API.3pm Manifying blib/man3/Inline-FAQ.3pm Manifying blib/man3/Inline-Support.3pm SISYPHUS/Inline-0.52.tar.gz /usr/bin/make -- OK 'YAML' not installed, will not store persistent state Running make test make[1]: Entering directory `/home/user1/.cpan/build/Inline-0.52-9pbT8 +q/C' make[1]: Leaving directory `/home/user1/.cpan/build/Inline-0.52-9pbT8q +/C' PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "te +st_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00init.t ............. ok t/01usages.t ........... ok t/02config.t ........... ok t/03errors.t ........... ok t/04create.t ........... ok t/05files.t ............ ok t/06rewrite_config.t ... ok t/07rewrite2_config.t .. ok All tests successful. Files=8, Tests=19, 15 wallclock secs ( 0.08 usr 0.05 sys + 1.24 cusr + 1.66 csys = 3.03 CPU) Result: PASS make[1]: Entering directory `/home/user1/.cpan/build/Inline-0.52-9pbT8 +q/C' PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "te +st_harness(0, '../blib/lib', '../blib/arch')" t/*.t t/00init.t .............. ok t/01syntax.t ............ Dubious, test returned 2 (wstat 512, 0x200) Failed 5/5 subtests t/02config.t ............ Dubious, test returned 2 (wstat 512, 0x200) Failed 1/3 subtests t/03typemap.t ........... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/04perlapi.t ........... Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests t/05xsmode.t ............ Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests t/06parseregexp.t ....... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/07typemap_multi.t ..... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/08taint.t ............. Dubious, test returned 2 (wstat 512, 0x200) Failed 9/10 subtests t/09parser.t ............ Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/10callback.t .......... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/11default_readonly.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests t/12taint_old.t ......... ok t/14void_arg.t .......... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/15ccflags.t ........... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/16ccflagsex.t ......... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/17prehead.t ........... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/18quote_space.t ....... ok t/19INC.t ............... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/20eval.t .............. Failed 1/5 subtests Test Summary Report ------------------- t/01syntax.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 5 tests but ran 0. t/02config.t (Wstat: 512 Tests: 2 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 3 tests but ran 2. t/03typemap.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/04perlapi.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. t/05xsmode.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. t/06parseregexp.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/07typemap_multi.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/08taint.t (Wstat: 512 Tests: 1 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 10 tests but ran 1. t/09parser.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/10callback.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/11default_readonly.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. t/14void_arg.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/15ccflags.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/16ccflagsex.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/17prehead.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/19INC.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/20eval.t (Wstat: 0 Tests: 5 Failed: 1) Failed test: 1 Files=20, Tests=20, 92 wallclock secs ( 0.03 usr 0.08 sys + 29.27 cus +r 51.56 csys = 80.94 CPU) Result: FAIL Makefile:582: recipe for target `test_dynamic' failed make[1]: Leaving directory `/home/user1/.cpan/build/Inline-0.52-9pbT8q +/C' Makefile:814: recipe for target `subdirs-test' failed SISYPHUS/Inline-0.52.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports SISYPHUS/Inline-0.52.tar.gz Running make install make test had returned bad status, won't install without force
Can anyone tell what the problem is from the above? The first problem seems to be with this line:
t/01syntax.t ............ Dubious, test returned 2 (wstat 512, 0x200)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: install fails for Inline::C (hide errors)
by tye (Sage) on Mar 13, 2013 at 05:41 UTC | |
by Anonymous Monk on Mar 14, 2013 at 03:36 UTC | |
by tye (Sage) on Mar 15, 2013 at 14:26 UTC | |
|
Re: install fails for Inline::C
by syphilis (Archbishop) on Mar 13, 2013 at 09:19 UTC | |
by Anonymous Monk on Mar 14, 2013 at 03:33 UTC | |
by syphilis (Archbishop) on Mar 14, 2013 at 05:45 UTC | |
|
Re: install fails for Inline::C
by nagalenoj (Friar) on Mar 13, 2013 at 04:39 UTC | |
|
Re: install fails for Inline::C
by Khen1950fx (Canon) on Mar 13, 2013 at 23:47 UTC | |
by Special_K (Pilgrim) on Mar 14, 2013 at 04:15 UTC | |
by Anonymous Monk on Dec 04, 2014 at 16:43 UTC | |
by davido (Cardinal) on Dec 04, 2014 at 17:21 UTC |