mentaldivergence has asked for the wisdom of the Perl Monks concerning the following question:

Hello all, i am trying to install inline::ccp (version 0.24) for perl 5.8, and i get the following error when i do a 'make test':

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')"
t/*.t t/01basic.....Can't use an undefined value as an ARRAY reference at (eval 69) line 7973.
BEGIN failed--compilation aborted at t/01basic.t line 64.
t/01basic.....dubious
Test returned status 29 (wstat 7424, 0x1d00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/02prefix...
Can't use an undefined value as an ARRAY reference at (eval 69) line 7973.
INIT failed--call queue aborted.
t/02prefix....dubious
Test returned status 29 (wstat 7424, 0x1d00) DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
-------------------------------------------------------------------------------

what is going on? i can't figure out why this error is occuring... However, i can install it fine for perl 5.6.1..

thanks.

Replies are listed 'Best First'.
Re: inline::CPP + perl 5.8
by Joost (Canon) on Jun 05, 2003 at 09:07 UTC
    How is your perl configured, what OS and which C++ compiler do you use? With cross-language modules (Inline or XS) this kind of information is usually important to determine the source of the problem.

    On my version of perl, v5.8.0 built for i386-linux-thread-multi on Linux (RH 8.0 with redhat updates: kernel 2.4.20-13.8), with gcc/g++ version 3.2 20020903 it installes and tests just fine.

    However,
    this message suggests that you might be having trouble with some versions of Parse::RecDescent, so maybe installing an older or newer version of that module might also help.

    HTH,

    -- Joost
      OS: Mandrake Linux release 8.2 (Bluebird) for i586
      GCC: gcc version 2.96 20000731

      I did try installing an earlier version of RecDescent(1.90), but alas, there was not success.

        Probably a little late to answer the Anonymous Monk's question, but Joost was on the right track. I had similar problems and based off a lead on the Inline mailing list, I downgraded Parse::RecDescent to 1.80 and everything works fine now.

        --
        notsoevil
        --
        Jeremiah 49:32 - And their camels shall be a booty. . .