develooper Front page | perl.php.sandwich.dev | Postings from July 2006

PHP::Interpreter

Thread Next
From:
john
Date:
July 31, 2006 12:11
Subject:
PHP::Interpreter
Message ID:
Pine.LNX.4.64.0607311207480.25702@meep.spaceegg.net
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

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About