perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Beau E. Cox" <b...@beaucox.com>
Subject Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch
Date Wed, 07 Apr 2004 05:36:42 GMT
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:
> >>>Cannot
> >>>load
> >>>/home/test/perl/5.8.3-apache2.1/lib/site_perl/5.8.3/i686-linux-thread-mu
> >>>l ti/auto/Embperl/Embperl.so into
> >>>server:
> >>>/home/test/perl/5.8.3-apache2.1/lib/site_perl/5.8.3/i686-linux-thread-mu
> >>>l ti/auto/Embperl/Embperl.so: undefined symbol: Perl_gv_stashpv
>
> [...]
>
> > Swaping the modules doesn't help. Investigating further.
>
> Please show us the output of:
>
> ldd
> /home/test/perl/5.8.3-apache2.1/lib/site_perl/5.8.3/i686-linux-thread-multi
>/auto/Embperl/Embperl.so

Okie Dokie:

$ 
ldd /home/test/perl/5.8.3-apache2.1/lib/site_perl/5.8.3/i686-linux-thread-multi/auto/Embperl/Embperl.so
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x4008f000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40182000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x401a3000)
        libm.so.6 => /lib/libm.so.6 (0x401f4000)
        libxslt.so.1 => /usr/lib/libxslt.so.1 (0x40217000)
        libc.so.6 => /lib/libc.so.6 (0x40248000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

By the way - same problem in Apache2.0.

>
> >>>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 \
> >>>"/home/test/perl/5.8.3-apache2.1/lib/site_perl/5.8.3/i686-linux-thread-m
> >>>u lti/auto/Embperl/Embperl.so" ...
> >>>
> >>>'make test' does NOT try to include Embperl.so 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 :(

Aloha => Beau;


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


Mime
View raw message