astroboy has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
Is anything special required to compile PHP::Interpreter - say PHP compiled with specific settings? I just configure then compiled PHP v5.1.6 with the following options:
Yet I can't get PHP::Interpreter to compile. During "make test" I get./configure --enable-embed --with-mysql --with-apxs=/usr/local/apache/ +bin/apxs
make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" " +test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1....................NOK 1 # Failed test 'use PHP::Interpreter;' # in t/1.t at line 6. # Tried to use 'PHP::Interpreter'. # Error: Can't load '/usr/local/downloads/PHP-Interpreter-1.0.1/b +lib/arch/auto/PHP/Interpreter/Interpreter.so' for module PHP::Interpr +eter: /usr/local/lib/libphp5.so: undefined symbol: ap_rwrite at /usr/ +local/lib/perl5/5.8.7/i686-linux/DynaLoader.pm line 230. # at (eval 3) line 2 # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at t/1.t line 6.
similar errors follow
I'm not a C programmer and don't know even where to start looking at this. Any advice appreciated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problems installing PHP::Interpreter
by almut (Canon) on Apr 28, 2007 at 07:51 UTC | |
by astroboy (Chaplain) on Apr 28, 2007 at 19:55 UTC | |
by Anonymous Monk on Jul 07, 2008 at 23:33 UTC | |
by astroboy (Chaplain) on Jul 15, 2008 at 17:51 UTC | |
|
Re: Problems installing PHP::Interpreter
by f00li5h (Chaplain) on Apr 28, 2007 at 06:49 UTC | |
by astroboy (Chaplain) on Apr 28, 2007 at 19:56 UTC | |
|
Re: Problems installing PHP::Interpreter
by Khen1950fx (Canon) on Apr 29, 2007 at 00:26 UTC | |
by Anonymous Monk on Jun 15, 2009 at 13:53 UTC |