On Tuesday 06 April 2004 08:20 pm, Stas Bekman wrote: > 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: > >>>>>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-mul > >>ti /auto/Embperl/Embperl.so > > > > Okie Dokie: > > > > $ > > ldd > > /home/test/perl/5.8.3-apache2.1/lib/site_perl/5.8.3/i686-linux-thread-mul > >ti/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. > > So it's not linking against libperl.so, 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 > t/TEST > > 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 mod_perl.so first.
Yes, you are correct sir! After following the above steps, 'make test' runs fine. > > >>>>>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 :( > > If it's too hard, don't worry, let me know and I'll fix it later. No, it's on my TODO list :) (too hard for moi?) 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