perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch
Date Wed, 07 Apr 2004 06:20:45 GMT
Beau E. Cox wrote:
> On Tuesday 06 April 2004 05:36 pm, Stas Bekman wrote:
>>Beau E. Cox wrote:
>>>On Tuesday 06 April 2004 06:27 am, Stas Bekman wrote:
>>>>Beau E. Cox wrote:
>>>>>-------------8<---------- Start Bug Report ------------8<----------
>>>>>1. Problem Description:
>>>>>When I do a modperl 'make test' and have Embperl enabled, the
>>>>>test does not start:
>>>>>console log:
>>>>>waiting 120 seconds for server to start: .Syntax error on line 48
>>>>>of /home/test/httpd/2.1/src/modperl2/modperl-2.0/t/conf/httpd.conf:
>>>>>l ti/auto/Embperl/ into
>>>>>l ti/auto/Embperl/ undefined symbol: Perl_gv_stashpv
>>>Swaping the modules doesn't help. Investigating further.
>>Please show us the output of:
> Okie Dokie:
> $ 
> ldd /home/test/perl/5.8.3-apache2.1/lib/site_perl/5.8.3/i686-linux-thread-multi/auto/Embperl/
> => /usr/lib/ (0x4008f000)
> => /usr/lib/ (0x40182000)
> => /lib/ (0x401a3000)
> => /lib/ (0x401f4000)
> => /usr/lib/ (0x40217000)
> => /lib/ (0x40248000)
>         /lib/ => /lib/ (0x80000000)
> By the way - same problem in Apache2.0.

So it's not linking against, which probably means that it 
relies on mod_perl to load it. But I'm not sure whether your swapping 
test was right. The thing is: 'make test' overwrites t/conf/httpd.conf 
after you change it. So you need to do the following:

t/TEST -conf
# now change t/conf/httpd.conf to swap the files order

That's would be an equivalent of running 'make test' in the top level 
directory, besides ModPerl-Registry. So once you verify this we will 
find some sort of solution to pull first.

>>>>>NOW, if I skip the test and install modperl, the server WORKS.
>>>>>BUT, using a continuation line in my httpd.conf as such:
>>>>>LoadModule embperl_module \
>>>>>u lti/auto/Embperl/" ...
>>>>>'make test' does NOT try to include in t/conf/httpd.conf, and
>>>>>the tests run FINE.
>>>>>I guess Apache::Test cannot parse httpd.conf continuation syntax.
>>>>Probably. Patches to fix that are welcome, Beau.
>>>But if I fix that, I negate my current work-around ;)
>>That's hiding the problem, not fixing it ;)
> Yes, so true. Guilty :(

If it's too hard, don't worry, let me know and I'll fix it later.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message