in reply to Error while installing JE

Likely, you will need to look into why these tests are failing for your platform. Maybe it is simple newline issues, maybe it depends on your platform or your (old) version of Perl.

Personally, I would try first to use a recent Perl, like Strawberry Perl 5.12 to see whether the problems go away when using that version.

I just did a test of JE 0.55 on 5.12, and likely it doesn't work on anything earlier than 5.12, judging from your problem on 5.8 and another test report on 5.10. It passes all tests except one (t/bind_class.t) for me. And I'm not sure whether that test triggers a JE-internal bug or what happens there. But the results are far more promising than your results.

cpan> test JE Running test for module 'JE' Running make for S/SP/SPROUT/JE-0.055.tar.gz CPAN.pm: Going to build S/SP/SPROUT/JE-0.055.tar.gz Checking if your kit is complete... Looks good Writing Makefile for JE cp lib/JE/Object/Function.pm blib\lib\JE\Object\Function.pm cp lib/JE.pm blib\lib\JE.pm cp lib/JE/Object.pm blib\lib\JE\Object.pm cp lib/JE/_FieldHash.pm blib\lib\JE\_FieldHash.pm cp lib/JE/escape.pl blib\lib\JE\escape.pl cp lib/JE/String.pm blib\lib\JE\String.pm cp lib/JE/Object/Boolean.pm blib\lib\JE\Object\Boolean.pm cp lib/JE/Parser.pm blib\lib\JE\Parser.pm cp lib/JE/Object/Number.pm blib\lib\JE\Object\Number.pm cp lib/JE/LValue.pm blib\lib\JE\LValue.pm cp lib/JE/Code.pm blib\lib\JE\Code.pm cp lib/JE/Object/Date.pm blib\lib\JE\Object\Date.pm cp lib/JE/Object/Error.pm blib\lib\JE\Object\Error.pm cp lib/JavaScript/Engine.pm blib\lib\JavaScript\Engine.pm cp lib/JE/Object/Error/URIError.pm blib\lib\JE\Object\Error\URIError.p +m cp lib/JE/Number.pm blib\lib\JE\Number.pm cp lib/JE/Boolean.pm blib\lib\JE\Boolean.pm cp lib/JE/Object/Error/RangeError.pm blib\lib\JE\Object\Error\RangeErr +or.pm cp lib/JE/Object/Error/TypeError.pm blib\lib\JE\Object\Error\TypeError +.pm cp lib/JE/Null.pm blib\lib\JE\Null.pm cp lib/JE/Object/Error/SyntaxError.pm blib\lib\JE\Object\Error\SyntaxE +rror.pm cp lib/JE/Scope.pm blib\lib\JE\Scope.pm cp lib/JE/Object/Math.pm blib\lib\JE\Object\Math.pm cp lib/JE/Undefined.pm blib\lib\JE\Undefined.pm cp lib/JE/toperl.pl blib\lib\JE\toperl.pl cp lib/JE/Object/RegExp.pm blib\lib\JE\Object\RegExp.pm cp lib/JE/Object/Error/ReferenceError.pm blib\lib\JE\Object\Error\Refe +renceError.pm cp lib/JE/Types.pod blib\lib\JE\Types.pod cp lib/JE/Object/Array.pm blib\lib\JE\Object\Array.pm cp lib/JE/Object/Proxy.pm blib\lib\JE\Object\Proxy.pm cp lib/JE/Object/String.pm blib\lib\JE\Object\String.pm cp lib/JE/Object/Number/maxvalue.pl blib\lib\JE\Object\Number\maxvalue +.pl SPROUT/JE-0.055.tar.gz C:\strawberry\c\bin\dmake.exe -- OK Running make test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib\lib', 'blib\arch')" t/*.t t/07.09-semicolon-insertion.t ............ ok t/08.06.01-attributes.t .................. ok t/08.06.02-internal-properties.t ......... ok t/08.07-reference-type.t ................. ok t/09-type-conversion.t ................... 1/301 # TO DO: Write tests +for number-to-string conversion t/09-type-conversion.t ................... ok t/10.01-execution-context-definitions.t .. ok t/10.02-entering-execution-contexts.t .... ok t/11.01-primary-expressions.t ............ ok t/11.02-left-expressions.t ............... ok t/11.03-postfix.t ........................ ok t/11.04-unary.t .......................... ok t/11.05-multiplicative.t ................. ok t/11.06-additive.t ....................... ok t/11.07-bitshift.t ....................... ok t/11.08-relational.t ..................... ok t/11.09-equality.t ....................... ok t/11.10-binbit.t ......................... ok t/11.11-logical.t ........................ ok t/11.12-conditional.t .................... ok t/11.13-assign.t ......................... ok t/11.14-comma.t .......................... ok t/12-statements.t ........................ ok t/13-functions.t ......................... ok t/15.01-global-object.t .................. ok t/15.01.01-global-vars.t ................. ok t/15.01.02-global-functions.t ............ ok t/15.01.03-uri-functions.t ............... ok t/15.02-objects.t ........................ ok t/15.03-function-objects.t ............... ok t/15.04-array-objects.t .................. ok t/15.05-match.t .......................... ok t/15.05-search.t ......................... ok t/15.05-string-objects.t ................. 1/514 # To do: finish local +e tests t/15.05-string-objects.t ................. ok t/15.06-boolean-objects.t ................ ok t/15.07-number-objects.t ................. 1/175 # TO DO: Finish writi +ng this test script t/15.07-number-objects.t ................. ok t/15.08-math.t ........................... ok t/15.09-dates.t .......................... ok t/15.10-regexp-objects.t ................. ok t/15.11-error-objects.t .................. ok t/B.01-octals.t .......................... ok t/B.02-additional-stuff.t ................ ok t/bind_class.t ........................... 1/203 Can't locate object m +ethod "foo" via package "IO::File" at C:\strawberry\cpan\build \JE-0.055-6yfbSL\blib\lib/JE.pm line 1777. # Looks like you planned 203 tests but ran 164. # Looks like your test exited with 255 just after 164. t/bind_class.t ........................... Dubious, test returned 255 +(wstat 65280, 0xff00) Failed 39/203 subtests t/je-boolean.t ........................... ok t/je-code.t .............................. ok t/je-lvalue.t ............................ ok t/je-null.t .............................. ok t/je-number.t ............................ ok t/je-object-array.t ...................... ok t/je-object-boolean.t .................... ok t/je-object-function.t ................... 1/10 # TO DO: Finish writin +g this script. t/je-object-function.t ................... ok t/je-object-number.t ..................... ok t/je-object-string.t ..................... 1/7 # TODO: Finish writing +this script t/je-object-string.t ..................... ok t/je-object.t ............................ ok t/je-parser.t ............................ ok t/je-scope.t ............................. ok t/je-string.t ............................ 1/5 # TODO: Finish writing +this script t/je-string.t ............................ ok t/je.t ................................... 1/49 # To do: finish writin +g this test script t/je.t ................................... ok t/misc.t ................................. ok t/non-ecma.t ............................. ok t/parse00-strings.t ...................... ok t/parse00.1-long_strings.t ............... ok t/parse01-decimals.t ..................... ok t/parse02-hexadecimals.t ................. ok t/parse03-identifiers.t .................. ok t/parse04-params.t ....................... ok t/parse05-functions.t .................... ok t/parse06-booleans.t ..................... ok t/parse07-null.t ......................... ok t/parse08-regexps.t ...................... ok t/parse09-array-literals.t ............... ok t/parse10-object-literals.t .............. ok t/parse11-subscripts.t ................... ok t/parse12-arguments.t .................... ok t/parse13-left-expr.t .................... ok t/parse14-unary.t ........................ ok t/parse15-multiplicative.t ............... ok t/parse16-additive.t ..................... ok t/parse17-bitshift.t ..................... ok t/parse18-relational.t ................... ok t/parse19-equality.t ..................... ok t/parse20-bitwise-and.t .................. ok t/parse21-bitwise-or.t ................... ok t/parse22-bitwise-xor.t .................. ok t/parse23-logical-and-or.t ............... ok t/parse24-assign-conditional.t ........... ok t/parse25-comma.t ........................ ok t/parse26-var.t .......................... ok t/parse27-for.t .......................... ok t/parse28-block.t ........................ ok t/parse29-empty-statement.t .............. ok t/parse30-if.t ........................... ok t/parse31-while.t ........................ ok t/parse32-with.t ......................... ok t/parse33-switch.t ....................... ok t/parse34-try.t .......................... ok t/parse35-labelled-continue-break.t ...... ok t/parse36-do.t ........................... ok t/parse37-return-throw.t ................. ok t/parse38-empty.t ........................ ok t/parse39-format-chars.t ................. ok t/parse40-white-space.t .................. ok Test Summary Report ------------------- t/bind_class.t (Wstat: 65280 Tests: 164 Failed +: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 203 tests but ran 164. Files=101, Tests=16632, 84 wallclock secs ( 2.39 usr + 0.39 sys = 2. +78 CPU) Result: FAIL Failed 1/101 test programs. 0/16632 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' SPROUT/JE-0.055.tar.gz C:\strawberry\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports SPROUT/JE-0.055.tar.gz Failed during this command: SPROUT/JE-0.055.tar.gz : make_test NO cpan>