Hi, Finaly I have put your patch into the Embperl code and verified that all other places where perl is called sets up the stack correctly.
I send you a patched version via private email and would be happy if you could run the make test to verify that I have done the right thing, before I release the next version. Thanks Gerald > -----Original Message----- > From: Gerald Richter [mailto:[EMAIL PROTECTED] > Sent: Monday, October 30, 2006 9:52 PM > To: 'Doug Rayner'; 'Embperl' > Subject: RE: Build of V2.1.0 fails on FreeBSD V6.1 > > > > > Thanks for the quick reply. I think I have actually found > a solution > > to the problem. I think there is some required > housekeeping that was > > not done before the call to perl_call_pv. I had add the > following two > > line before the call and it seems to have resolved the > problem. Would > > you consider putting this into the next release? > > > > Yes, this seems to make sense > > Gerald > > > > > { > > dSP; > > PUSHMARK(sp) ; > > perl_call_pv ("Embperl::PreLoadFiles", G_DISCARD) ; } > > > > > > Thanks and regards, > > > > Doug Rayner > > Senior System Architect > > Savicom: Next Generation eMail Marketing http://www.savicom.net > > (415) 617-9006 > > > > > > ----- Original Message ----- > > From: "Gerald Richter" <[EMAIL PROTECTED]> > > To: "'Doug Rayner'" <[EMAIL PROTECTED]>; "'Embperl'" > > <embperl@perl.apache.org> > > Sent: Monday, October 30, 2006 12:25 PM > > Subject: RE: Build of V2.1.0 fails on FreeBSD V6.1 > > > > > > >> > > >> I have done some more research on this problem, and it > seems that > > >> this line in epinit.c (#973): > > >> > > >> perl_call_pv ("Embperl::PreLoadFiles", G_DISCARD) ; > > >> > > >> Causes the problem. If I comment it out, everything > seems to work. > > >> > > >> Gerald, if you are seeing this: what is your opinion about why > > >> this might fail? I took a look at the function > > >> Embperl::PreLoadFiles and it seems to be relevany only > if mod_perl > > >> is in play. I am not using mod_perl. Do you think it's safe to > > >> comment out this call permanently? > > >> > > >> > > > > > > Yes, it's safe to comment it out. You just loose the > > ability to preload > > > files during Apache startup, which you don't use if you don't use > > > mod_perl. > > > > > > Thanks for your research, I will try to find out what's > > wrong with this > > > function. > > > > > > Gerald > > > > > > > > > > > > > > > ** Virus checked by BB-5000 Mailfilter ** > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > ** Virus checked by BB-5000 Mailfilter ** > > !DSPAM:45466135107383067195541! > > > > > > ** Virus checked by BB-5000 Mailfilter ** > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > ** Virus checked by BB-5000 Mailfilter ** > !DSPAM:4546661a124401699110656! > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]