Re: PHP::Interpreter

[email protected] Mon, 31 Jul 2006 13:43:58 -0700 (PDT)
Newsgroups perl.php.sandwich.dev
Message-ID <[email protected]>
Follow up - I added my php lib directory to ld.config and got a much 
better result, in fact only failing 4 subtests:

t/14...................# Testing basic function autoloadind
t/14...................dubious
         Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 4-7
         Failed 4/7 tests, 42.86% okay

So I'd say that's progress.  Any tips getting past this one?

Thanks,

John





On Mon, 31 Jul 2006, [email protected] wrote:

> Hi There,
>
> I'm trying to get PHP::Interpreter installed, and can't get past make test:
>
>
> meep ~/PHP-Interpreter-1.0.1 % perl Makefile.PL /opt/php-devel
> using phpdir /opt/php-devel
> Checking if your kit is complete...
> Looks good
> Writing Makefile for PHP::Interpreter
> meep ~/PHP-Interpreter-1.0.1 %
>
> make shows a bunch of warnings, then make test barfs with a bunch like:
>
> #   Failed test 'use PHP::Interpreter;'
> #   in t/18.t at line 6.
> #     Tried to use 'PHP::Interpreter'.
> #     Error:  Can't load 
> '/home/john/PHP-Interpreter-1.0.1/blib/arch/auto/PHP/Interpreter/Interpreter.so' 
> for module PHP::Interpreter: libphp5.so: cannot open shared object file: No 
> such file or directory at 
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
> #  at (eval 3) line 2
> # Compilation failed in require at (eval 3) line 2.
> # BEGIN failed--compilation aborted at t/18.t line 6.
> Died at t/18.t line 6.
> BEGIN failed--compilation aborted at t/18.t line 7.
> # Looks like you planned 6 tests but only ran 1.
> # Looks like you failed 1 test of 1 run.
> # Looks like your test died just after 1.
> t/18...................dubious
>        Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 1-6
>        Failed 6/6 tests, 0.00% okay
> t/19...................# Testing Output Buffering
>
> #   Failed test 'use PHP::Interpreter;'
>
>
> Seems to be complaining about being unable to load 
> /opt/php-devel/lib/libphp5.so
>
> Fedora core 5, i386
> PHP 5.1.4
> Perl 5.8.8
>
> Any suggestions welcome.
>
> Thanks,
>
> John
>