Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 1503 invoked from network); 7 Apr 2004 05:34:12 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Apr 2004 05:34:12 -0000 Received: (qmail 95496 invoked by uid 500); 7 Apr 2004 05:33:34 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 95457 invoked by uid 500); 7 Apr 2004 05:33:34 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 95373 invoked from network); 7 Apr 2004 05:33:33 -0000 From: "Beau E. Cox" Organization: BeauCox.com To: Stas Bekman Subject: Re: [MP2+Embperl(cvs)] Strange mod_perl 'make test' glitch Date: Tue, 6 Apr 2004 19:36:42 -1000 User-Agent: KMail/1.6.1 Cc: modperl@perl.apache.org, embperl@perl.apache.org References: <200404052052.15628.beau@beaucox.com> <200404061531.22479.beau@beaucox.com> <4073774A.4040205@stason.org> In-Reply-To: <4073774A.4040205@stason.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404061936.42842.beau@beaucox.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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