perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: Embperl 2 for Apache 2 on SUSE Linux 9.3
Date Wed, 25 May 2005 03:58:37 GMT
> 
> > Alas, Novell doesn't include Embperl with its distribution. It does 
> > however have Apache 2 and mod_perl 2. How dificult is it to get 
> > Embperl 2 to run on top of that?
> 
> SUSE 9.3 with apache2, apache2-devel. mod_perl 2 and either 
> apache-prefork or apache-worker doesn't seem to like embperl:
> 
> configuration: 
> Found mod_perl  Version 1.999021
> Found LWP::UserAgent  Version 2.033
> Found HTML::HeadParser  Version 2.21
> Apache::Session not installed on this system
> -> Disable tests for persistent data storage
> Found File::Spec  Version 3.01
> Found CGI  Version 3.05
> 
> 
> # make test
> ...
> Testing offline mode...
> 
> #0 ascii...                   make: *** [test_dynamic] Error 127
> 
> # more test/tmp/test.err.log
> 
> /usr/bin/perl: symbol lookup
> error: /root/.cpanplus/5.8.6/build/Embperl-2.0rc3/
> blib/arch/auto/Embperl/Embperl.so: undefined symbol: ap_strchr
> 
> I don't know where ap_strchr is supposed to be. Well, I know 
> there's one in httpd.h but as it's already being included, 
> there must be another problem.
> 

It comes from Apache, but it should not be called here.

Did you try make test from inside cpanplus? If yes, please retry without
cpanplus. This issue arrises when the dynamic linker is forced to directly
resolve symbols, instead of lazy resolving.

Basicly this is not a problem of SuSE 9.3, since it works for me with SuSE
9.3, but with mod_perl and Apache compiled from the sources. I didn't have
tried the binaries that comes with SuSE.

> By the way. If I use apache-worker, the configuration will 
> fail because it's looking for mod_cgi.so. This file is only 
> included in prefork.
> 

Embperl 2 only supports prefork yet

Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message