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;


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to