
waldo at vqronline
Oct 29, 2008, 11:32 AM
Post #1 of 9
(4397 views)
Permalink
|
|
PHP::Interpreter Installation Difficulties
|
|
Folks, The PHP::Interpreter installation process is deeply bad. It's a hurdle that I'm running out of ideas of how to get over (or around), and I'm hoping that somebody here can help me deal with it. The badness of PHP::Interpreter's installation has been well- documented on PerlMonks <http://www.perlmonks.org/?node_id=685156>, and PerlMonks contributor "Andreas" has made a valiant attempt to improve Makefile.PL, but unfortunately it doesn't work any better for me (though it does return more useful status and error messages). The provided Makefile.PL makes a series of terrible assumptions about the location of PHP's assets on the server, which Andreas' changes appear to compensate for. Anyhow, everything starts to go south when creating the makefile, with this line: Note (probably harmless): No library found for -lphp5 Maybe it is harmless, but I suspect not. Then make test goes terribly badly, with all five tests failed. (I am not a Perl guy. These errors don't mean much to me.) When it gets to "deep recursion on anonymous subroutine" I quit the process, because otherwise the processor usage spirals out of control. No particular error message stands out for me; I've simply included the transcript of perl Makefile.PL and make test below. Can anybody advise as to how to proceed? Best, Waldo --- Virginia Quarterly Review One West Range, Box 400223 University of Virginia Charlottesville, VA 22904-4223 # perl Makefile.PL using php version 5.1.6 using prefix /usr using includes -I/usr/include -I/usr/include/php -I/usr/include/php/ main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/ php/ext using lddlflags -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 - fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 - mtune=generic -L/usr/kerberos/lib64 -L/usr/lib -L/usr/lib using libs -L/usr/lib -lphp5 Checking header files... using incdir '/usr/include' using incdir '/usr/include/php' using incdir '/usr/include/php/main' using incdir '/usr/include/php/TSRM' using incdir '/usr/include/php/Zend' using incdir '/usr/include/php/ext' Found /usr/include/php/Zend/zend_compile.h Found /usr/include/php/Zend/zend_ini.h Found /usr/include/php/Zend/zend.h Found /usr/include/php/Zend/zend_API.h Found /usr/include/php/main/php_main.h Found /usr/include/php/main/php_config.h Found /usr/include/php/main/SAPI.h Found /usr/include/php/main/php_ini.h Found /usr/include/php/main/php.h Found /usr/include/php/TSRM/TSRM.h Note (probably harmless): No library found for -lphp5 Writing Makefile for PHP::Interpreter # make test gcc -c -I/usr/include -I/usr/include/php -I/usr/include/php/main -I/ usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack- protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION= \"1.0.1\" -DXS_VERSION=\"1.0.1\" -fPIC "-I/usr/lib64/perl5/5.8.8/ x86_64-linux-thread-multi/CORE" PHP.c In file included from phpinterp.h:10, from PHP.xs:13: /usr/include/php/main/php_config.h:2250:1: warning: "_GNU_SOURCE" redefined In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/ CORE/perl.h:37, from PHP.xs:3: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/config.h:1794:1: warning: this is the location of the previous definition In file included from /usr/include/php/main/php.h:35, from phpinterp.h:11, from PHP.xs:13: /usr/include/php/Zend/zend.h:34:1: warning: "END_EXTERN_C" redefined In file included from PHP.xs:3: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:242:1: warning: this is the location of the previous definition PHP.xs: In function ‘zval_is_assoc’: PHP.xs:49: warning: dereferencing type-punned pointer will break strict-aliasing rules PHP.xs: In function ‘SvZval’: PHP.xs:146: warning: unused variable ‘i’ PHP.xs: In function ‘newSVzval’: PHP.xs:234: warning: dereferencing type-punned pointer will break strict-aliasing rules PHP.xs:247: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘ulong’ PHP.xs: In function ‘my_autoglobal_merge’: PHP.xs:368: warning: dereferencing type-punned pointer will break strict-aliasing rules PHP.xs:372: warning: dereferencing type-punned pointer will break strict-aliasing rules PHP.xs:373: warning: dereferencing type-punned pointer will break strict-aliasing rules PHP.xs: At top level: PHP.xs:396: warning: return type defaults to ‘int’ PHP.xs: In function ‘XS_PHP__Interpreter_new’: PHP.xs:507: warning: implicit declaration of function ‘php_register_variable_ex’ PHP.xs: In function ‘XS_PHP__Interpreter_DESTROY’: PHP.xs:640: warning: implicit declaration of function ‘sandwich_per_interp_shutdown’ PHP.xs: In function ‘XS_PHP__Interpreter__Class_STORE’: PHP.xs:763: warning: unused variable ‘retval’ PHP.xs: In function ‘XS_PHP__Interpreter__Class_FIRSTKEY’: PHP.xs:787: warning: unused variable ‘buf’ PHP.xs: In function ‘XS_PHP__Interpreter__Class_NEXTKEY’: PHP.xs:821: warning: unused variable ‘buf’ PHP.c:1080: warning: unused variable ‘lastkey’ PHP.xs: In function ‘XS_PHP__Interpreter__Class_EXISTS’: PHP.xs:861: warning: passing argument 3 of ‘Perl_sv_2pv_flags’ from incompatible pointer type PHP.xs: In function ‘XS_PHP__Interpreter__Class_DELETE’: PHP.xs:887: warning: passing argument 3 of ‘Perl_sv_2pv_flags’ from incompatible pointer type PHP.xs: In function ‘XS_PHP__Interpreter__Class__AUTOLOAD’: PHP.xs:915: warning: unused variable ‘calling_obj’ PHP.xs:1052: warning: label ‘cleanup’ defined but not used PHP.c: In function ‘XS_PHP__Interpreter__Resource_FETCH’: PHP.c:1438: warning: useless type name in empty declaration PHP.c: In function ‘XS_PHP__Interpreter__Resource_STORE’: PHP.c:1475: warning: unused variable ‘new’ PHP.c: In function ‘XS_PHP__Interpreter_set_output_handler’: PHP.c:744: warning: ‘RETVAL’ may be used uninitialized in this function PHP.c: In function ‘XS_PHP__Interpreter__Class__AUTOLOAD’: PHP.c:1230: warning: ‘RETVAL’ may be used uninitialized in this function PHP.c: In function ‘XS_PHP__Interpreter_instantiate’: PHP.c:864: warning: ‘RETVAL’ may be used uninitialized in this function gcc -c -I/usr/include -I/usr/include/php -I/usr/include/php/main -I/ usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack- protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION= \"1.0.1\" -DXS_VERSION=\"1.0.1\" -fPIC "-I/usr/lib64/perl5/5.8.8/ x86_64-linux-thread-multi/CORE" phpinterp.c In file included from phpinterp.h:10, from phpinterp.c:13: /usr/include/php/main/php_config.h:2250:1: warning: "_GNU_SOURCE" redefined In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/ CORE/perl.h:37, from phpinterp.c:3: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/config.h:1794:1: warning: this is the location of the previous definition In file included from /usr/include/php/main/php.h:35, from phpinterp.h:11, from phpinterp.c:13: /usr/include/php/Zend/zend.h:34:1: warning: "END_EXTERN_C" redefined In file included from phpinterp.c:3: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:242:1: warning: this is the location of the previous definition phpinterp.c: In function ‘sandwich_sapi_ub_write’: phpinterp.c:31: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result phpinterp.c: In function ‘sandwich_php_interpreter_create’: phpinterp.c:119: warning: unused variable ‘tsrm_ls’ phpinterp.c:118: warning: unused variable ‘sapi_globals’ phpinterp.c:117: warning: unused variable ‘core_globals’ phpinterp.c:116: warning: unused variable ‘executor_globals’ phpinterp.c:115: warning: unused variable ‘compiler_globals’ phpinterp.c: At top level: phpinterp.c:21: warning: ‘sandwich_per_thread_info_key’ defined but not used gcc -c -I/usr/include -I/usr/include/php -I/usr/include/php/main -I/ usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack- protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION= \"1.0.1\" -DXS_VERSION=\"1.0.1\" -fPIC "-I/usr/lib64/perl5/5.8.8/ x86_64-linux-thread-multi/CORE" phpfuncs.c In file included from phpinterp.h:10, from phpfuncs.c:5: /usr/include/php/main/php_config.h:2250:1: warning: "_GNU_SOURCE" redefined In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/ CORE/perl.h:37, from phpfuncs.c:2: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/config.h:1794:1: warning: this is the location of the previous definition In file included from /usr/include/php/main/php.h:35, from phpinterp.h:11, from phpfuncs.c:5: /usr/include/php/Zend/zend.h:34:1: warning: "END_EXTERN_C" redefined In file included from phpfuncs.c:2: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:242:1: warning: this is the location of the previous definition phpfuncs.c: In function ‘zm_info_sandwich’: phpfuncs.c:24: warning: implicit declaration of function ‘php_info_print_table_start’ phpfuncs.c:25: warning: implicit declaration of function ‘php_info_print_table_row’ phpfuncs.c:26: warning: implicit declaration of function ‘php_info_print_table_end’ phpfuncs.c: In function ‘zif_perl_setvariable’: phpfuncs.c:149: warning: unused variable ‘retval’ phpfuncs.c: In function ‘_sandwich_call_method’: phpfuncs.c:219: warning: ‘return’ with no value, in function returning non-void phpfuncs.c:212: warning: unused variable ‘n_a’ phpfuncs.c:201: warning: unused variable ‘sparam’ phpfuncs.c:199: warning: unused variable ‘param’ phpfuncs.c:198: warning: unused variable ‘namelen’ phpfuncs.c:197: warning: unused variable ‘name’ phpfuncs.c: In function ‘sandwich_get_method’: phpfuncs.c:290: warning: dereferencing type-punned pointer will break strict-aliasing rules phpfuncs.c:285: warning: unused variable ‘pl’ phpfuncs.c:283: warning: unused variable ‘fptr’ phpfuncs.c:282: warning: unused variable ‘object’ phpfuncs.c: In function ‘zif_perl_getinstance’: phpfuncs.c:311: warning: unused variable ‘pl’ phpfuncs.c: In function ‘my_eval_sv’: phpfuncs.c:327: warning: unused variable ‘mark’ phpfuncs.c:325: warning: unused variable ‘cnt’ phpfuncs.c: In function ‘zif_perl_new’: phpfuncs.c:403: warning: unused variable ‘n_a’ phpfuncs.c:381: warning: unused variable ‘sparam’ phpfuncs.c:379: warning: unused variable ‘param’ phpfuncs.c: In function ‘sv_prop_read’: phpfuncs.c:458: warning: ‘return’ with no value, in function returning non-void phpfuncs.c: In function ‘sv_prop_exists’: phpfuncs.c:536: warning: ‘return’ with no value, in function returning non-void phpfuncs.c: In function ‘_sv_call_method’: phpfuncs.c:575: warning: ‘return’ with no value, in function returning non-void phpfuncs.c:570: warning: unused variable ‘oldscope’ phpfuncs.c:568: warning: unused variable ‘n_a’ phpfuncs.c:557: warning: unused variable ‘sparam’ phpfuncs.c:555: warning: unused variable ‘param’ phpfuncs.c:554: warning: unused variable ‘namelen’ phpfuncs.c:553: warning: unused variable ‘name’ phpfuncs.c: In function ‘sv_get_method’: phpfuncs.c:640: warning: dereferencing type-punned pointer will break strict-aliasing rules phpfuncs.c:635: warning: unused variable ‘pl’ phpfuncs.c:633: warning: unused variable ‘fptr’ phpfuncs.c:632: warning: unused variable ‘object’ phpfuncs.c: In function ‘stderr_dump’: phpfuncs.c:688: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result phpfuncs.c: In function ‘plsv_iter_move_forwards’: phpfuncs.c:789: warning: passing argument 4 of ‘Perl_hv_iternextsv’ from incompatible pointer type phpfuncs.c: In function ‘plobj_new’: phpfuncs.c:883: warning: unused variable ‘obj’ phpfuncs.c: In function ‘plsv_new’: phpfuncs.c:958: warning: unused variable ‘obj’ phpfuncs.c: At top level: phpfuncs.c:687: warning: ‘stderr_dump’ defined but not used phpfuncs.c: In function ‘sv_prop_exists’: phpfuncs.c:536: warning: ‘return_value’ is used uninitialized in this function phpfuncs.c: In function ‘sv_prop_write’: phpfuncs.c:502: warning: ‘return_value’ is used uninitialized in this function phpfuncs.c: In function ‘sv_prop_read’: phpfuncs.c:458: warning: ‘return_value’ is used uninitialized in this function phpfuncs.c: In function ‘plsv_iter_get’: phpfuncs.c:837: warning: ‘my_perl’ is used uninitialized in this function phpfuncs.c: In function ‘plsv_iter_move_forwards’: phpfuncs.c:789: warning: ‘my_perl’ is used uninitialized in this function phpfuncs.c: In function ‘plsv_iter_rewind’: phpfuncs.c:801: warning: ‘my_perl’ is used uninitialized in this function phpfuncs.c: In function ‘zif_perl_getvariable’: phpfuncs.c:99: warning: ‘my_perl’ is used uninitialized in this function Running Mkbootstrap for PHP::Interpreter () chmod 644 Interpreter.bs rm -f blib/arch/auto/PHP/Interpreter/Interpreter.so gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions - fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -L/usr/ kerberos/lib64 -L/usr/lib -L/usr/lib PHP.o phpinterp.o phpfuncs.o -o blib/arch/auto/PHP/Interpreter/Interpreter.so \ \ chmod 755 blib/arch/auto/PHP/Interpreter/Interpreter.so cp Interpreter.bs blib/arch/auto/PHP/Interpreter/Interpreter.bs chmod 644 blib/arch/auto/PHP/Interpreter/Interpreter.bs PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1.................... t/1....................NOK 1# Failed test 'use PHP::Interpreter;' # at t/1.t line 6. # Tried to use 'PHP::Interpreter'. # Error: Can't load '/root/.cpan/build/PHP-Interpreter-1.0.1/blib/ arch/auto/PHP/Interpreter/Interpreter.so' for module PHP::Interpreter: /root/.cpan/build/PHP-Interpreter-1.0.1/blib/arch/ auto/PHP/Interpreter/Interpreter.so: undefined symbol: zend_ce_traversable at /usr/lib64/perl5/5.8.8/x86_64-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 (eval 3) line 2. Died at t/1.t line 6. BEGIN failed--compilation aborted at t/1.t line 7. # Looks like you planned 6 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 255 just after 1. t/1....................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-6 Failed 6/6 tests, 0.00% okay t/10...................# Instantiate an internal class with PHP::Interpreter::instantiate() t/10...................NOK 1 # Failed test 'use PHP::Interpreter;' # at t/10.t line 8. # Tried to use 'PHP::Interpreter'. # Error: Can't load '/root/.cpan/build/PHP-Interpreter-1.0.1/blib/ arch/auto/PHP/Interpreter/Interpreter.so' for module PHP::Interpreter: /root/.cpan/build/PHP-Interpreter-1.0.1/blib/arch/ auto/PHP/Interpreter/Interpreter.so: undefined symbol: zend_ce_traversable at /usr/lib64/perl5/5.8.8/x86_64-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 (eval 3) line 2. Died at t/10.t line 8. BEGIN failed--compilation aborted at t/10.t line 10. # Looks like you planned 5 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 2 just after 1. t/10...................dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-5 Failed 5/5 tests, 0.00% okay t/11................... t/11...................NOK 1# Failed test 'use PHP::Interpreter;' # at t/11.t line 6. # Tried to use 'PHP::Interpreter'. # Error: Can't load '/root/.cpan/build/PHP-Interpreter-1.0.1/blib/ arch/auto/PHP/Interpreter/Interpreter.so' for module PHP::Interpreter: /root/.cpan/build/PHP-Interpreter-1.0.1/blib/arch/ auto/PHP/Interpreter/Interpreter.so: undefined symbol: zend_ce_traversable at /usr/lib64/perl5/5.8.8/x86_64-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 (eval 3) line 2. Died at t/11.t line 6. BEGIN failed--compilation aborted at t/11.t line 7. # Looks like you planned 3 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 255 just after 1. t/11...................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-3 Failed 3/3 tests, 0.00% okay t/12................... t/12...................NOK 1# Failed test 'use PHP::Interpreter;' # at t/12.t line 6. # Tried to use 'PHP::Interpreter'. # Error: Can't load '/root/.cpan/build/PHP-Interpreter-1.0.1/blib/ arch/auto/PHP/Interpreter/Interpreter.so' for module PHP::Interpreter: /root/.cpan/build/PHP-Interpreter-1.0.1/blib/arch/ auto/PHP/Interpreter/Interpreter.so: undefined symbol: zend_ce_traversable at /usr/lib64/perl5/5.8.8/x86_64-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 (eval 3) line 2. Died at t/12.t line 6. BEGIN failed--compilation aborted at t/12.t line 7. # Looks like you planned 6 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 255 just after 1. t/12...................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-6 Failed 6/6 tests, 0.00% okay t/13...................NOK 1 # Failed test 'use PHP::Interpreter;' # at t/13.t line 6. # Tried to use 'PHP::Interpreter'. # Error: Can't load '/root/.cpan/build/PHP-Interpreter-1.0.1/blib/ arch/auto/PHP/Interpreter/Interpreter.so' for module PHP::Interpreter: /root/.cpan/build/PHP-Interpreter-1.0.1/blib/arch/ auto/PHP/Interpreter/Interpreter.so: undefined symbol: zend_ce_traversable at /usr/lib64/perl5/5.8.8/x86_64-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 (eval 3) line 2. Died at t/13.t line 6. BEGIN failed--compilation aborted at t/13.t line 7. # Looks like you planned 3 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 255 just after 1. t/13...................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-3 Failed 3/3 tests, 0.00% okay t/14................... # Failed test 'use PHP::Interpreter;' # at t/14.t line 6. # Tried to use 'PHP::Interpreter'. # Error: Can't load '/root/.cpan/build/PHP-Interpreter-1.0.1/blib/ arch/auto/PHP/Interpreter/Interpreter.so' for module PHP::Interpreter: /root/.cpan/build/PHP-Interpreter-1.0.1/blib/arch/ auto/PHP/Interpreter/Interpreter.so: undefined symbol: zend_ce_traversable at /usr/lib64/perl5/5.8.8/x86_64-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 (eval 3) line 2. Died at t/14.t line 6. BEGIN failed--compilation aborted at t/14.t line 7. # Looks like you planned 7 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 255 just after 1. t/14...................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-7 Failed 7/7 tests, 0.00% okay t/15...................# Testing Perl::call # Failed test 'use PHP::Interpreter;' t/15...................NOK 1# at t/15.t line 7. # Tried to use 'PHP::Interpreter'. # Error: Can't load '/root/.cpan/build/PHP-Interpreter-1.0.1/blib/ arch/auto/PHP/Interpreter/Interpreter.so' for module PHP::Interpreter: /root/.cpan/build/PHP-Interpreter-1.0.1/blib/arch/ auto/PHP/Interpreter/Interpreter.so: undefined symbol: zend_ce_traversable at /usr/lib64/perl5/5.8.8/x86_64-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 (eval 3) line 2. Died at t/15.t line 7. BEGIN failed--compilation aborted at t/15.t line 8. # Looks like you planned 6 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 255 just after 1. t/15...................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-6 Failed 6/6 tests, 0.00% okay t/16...................# Testing passing blessed references into PHP t/16...................NOK 1 # Failed test 'use PHP::Interpreter;' # at t/16.t line 7. # Tried to use 'PHP::Interpreter'. # Error: Can't load '/root/.cpan/build/PHP-Interpreter-1.0.1/blib/ arch/auto/PHP/Interpreter/Interpreter.so' for module PHP::Interpreter: /root/.cpan/build/PHP-Interpreter-1.0.1/blib/arch/ auto/PHP/Interpreter/Interpreter.so: undefined symbol: zend_ce_traversable at /usr/lib64/perl5/5.8.8/x86_64-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 (eval 3) line 2. Died at t/16.t line 7. BEGIN failed--compilation aborted at t/16.t line 8. # Looks like you planned 9 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 255 just after 1. t/16...................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-9 Failed 9/9 tests, 0.00% okay t/17...................# Testing passing resources out of PHP # Failed test 'use PHP::Interpreter;' t/17...................NOK 1# at t/17.t line 7. # Tried to use 'PHP::Interpreter'. # Error: Can't load '/root/.cpan/build/PHP-Interpreter-1.0.1/blib/ arch/auto/PHP/Interpreter/Interpreter.so' for module PHP::Interpreter: /root/.cpan/build/PHP-Interpreter-1.0.1/blib/arch/ auto/PHP/Interpreter/Interpreter.so: undefined symbol: zend_ce_traversable at /usr/lib64/perl5/5.8.8/x86_64-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 (eval 3) line 2. Died at t/17.t line 7. BEGIN failed--compilation aborted at t/17.t line 8. # Looks like you planned 6 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 255 just after 1. t/17...................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-6 Failed 6/6 tests, 0.00% okay t/18...................# Testing Passing interpreter globals # Failed test 'use PHP::Interpreter;' t/18...................NOK 1# at t/18.t line 6. # Tried to use 'PHP::Interpreter'. # Error: Can't load '/root/.cpan/build/PHP-Interpreter-1.0.1/blib/ arch/auto/PHP/Interpreter/Interpreter.so' for module PHP::Interpreter: /root/.cpan/build/PHP-Interpreter-1.0.1/blib/arch/ auto/PHP/Interpreter/Interpreter.so: undefined symbol: zend_ce_traversable at /usr/lib64/perl5/5.8.8/x86_64-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 (eval 3) line 2. Died at t/18.t line 6. BEGIN failed--compilation aborted at t/18.t line 7. # Looks like you planned 6 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 255 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;' t/19...................NOK 1# at t/19.t line 7. # Tried to use 'PHP::Interpreter'. # Error: Can't load '/root/.cpan/build/PHP-Interpreter-1.0.1/blib/ arch/auto/PHP/Interpreter/Interpreter.so' for module PHP::Interpreter: /root/.cpan/build/PHP-Interpreter-1.0.1/blib/arch/ auto/PHP/Interpreter/Interpreter.so: undefined symbol: zend_ce_traversable at /usr/lib64/perl5/5.8.8/x86_64-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 (eval 3) line 2. Died at t/19.t line 7. BEGIN failed--compilation aborted at t/19.t line 8. # Looks like you planned 14 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 255 just after 1. t/19...................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-14 Failed 14/14 tests, 0.00% okay t/2....................# Testing basic function autoloadind # Failed test 'use PHP::Interpreter;' t/2....................NOK 1# at t/2.t line 7. # Tried to use 'PHP::Interpreter'. # Error: Can't load '/root/.cpan/build/PHP-Interpreter-1.0.1/blib/ arch/auto/PHP/Interpreter/Interpreter.so' for module PHP::Interpreter: /root/.cpan/build/PHP-Interpreter-1.0.1/blib/arch/ auto/PHP/Interpreter/Interpreter.so: undefined symbol: zend_ce_traversable at /usr/lib64/perl5/5.8.8/x86_64-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 (eval 3) line 2. Died at t/2.t line 7. BEGIN failed--compilation aborted at t/2.t line 8. # Looks like you planned 5 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 255 just after 1. t/2....................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-5 Failed 5/5 tests, 0.00% okay t/20................... t/20...................NOK 1# Failed test 'use PHP::Interpreter;' # at t/20.t line 5. # Tried to use 'PHP::Interpreter'. # Error: Can't load '/root/.cpan/build/PHP-Interpreter-1.0.1/blib/ arch/auto/PHP/Interpreter/Interpreter.so' for module PHP::Interpreter: /root/.cpan/build/PHP-Interpreter-1.0.1/blib/arch/ auto/PHP/Interpreter/Interpreter.so: undefined symbol: zend_ce_traversable at /usr/lib64/perl5/5.8.8/x86_64-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 (eval 3) line 2. Deep recursion on anonymous subroutine at /root/.cpan/build/PHP- Interpreter-1.0.1/blib/lib/PHP/Interpreter.pm line 46. make: *** wait: No child processes. Stop. make: *** Waiting for unfinished jobs.... make: *** wait: No child processes. Stop. #
|