Problem to install Parse::Lex, all tests fails

Problem to install Parse::Lex, all tests fails

am 24.10.2005 20:15:30 von tonl

Hello,

I have a problem to install Parse::Lex with Perl 5.8.3. I tried on other
systems (Cygwin, Fedora 2) as well, and run into the same issue:

Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/test1....FAILED test 1
Failed 1/1 tests, 0.00% okay
t/test2....FAILED test 1
Failed 1/1 tests, 0.00% okay
t/test3....FAILED test 1
Failed 1/1 tests, 0.00% okay
t/test4....FAILED test 1
Failed 1/1 tests, 0.00% okay
t/test5....FAILED test 1
Failed 1/1 tests, 0.00% okay
t/test6....FAILED test 1
Failed 1/1 tests, 0.00% okay
t/test7....FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------ -------------------
t/test1.t 1 1 100.00% 1
t/test2.t 1 1 100.00% 1
t/test3.t 1 1 100.00% 1
t/test4.t 1 1 100.00% 1
t/test5.t 1 1 100.00% 1
t/test6.t 1 1 100.00% 1
t/test7.t 1 1 100.00% 1
Failed 7/7 test scripts, 0.00% okay. 7/7 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK

Other modules install without any problem, e.g. Parse::Yapp

Anybody came accros this issue, and knows the cause. Thanks.

Best Regards,
Ton 't Lam

Re: Problem to install Parse::Lex, all tests fails

am 26.10.2005 10:37:07 von tonl

Ton 't Lam wrote:
> Hello,
>
> I have a problem to install Parse::Lex with Perl 5.8.3. I tried on other
> systems (Cygwin, Fedora 2) as well, and run into the same issue:
>



Okay ...
In Template.pm make the next changes

line 1
old: use strict
new: use strict;

line 135
old: $expr = $1;
new: my $expr = $1;

# pwd
/root/.cpan/build/ParseLex-2.15
t/test4....FAILED test 1
Failed 1/1 tests, 0.00% okay

# cd /root/.cpan/build/ParseLex-2.15
# make install

Apparently perl 5.8.3 is more strict with the syntax.
I have given feedback at search.cpan.org on the above.

Best Regards,
Ton 't Lam