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?


Thanks and regards,

Doug Rayner
Senior System Architect
Savicom: Next Generation eMail Marketing
http://www.savicom.net
(415) 617-9006

Oringal post:

I am trying to build Embperl V2.1.0 on:

FreeBSD d0102 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Wed Aug 30 16:36:17 UTC
2006  amd64

Has anyone successfully built Embperl for this environment?


I have searched through the archives and have found some discussions on this
subject, and have resolved one problem.  The make on FreeBSD does not seem
to perform the step of recusive makes in the sub-directories.  I have solved
this problem by doing a:

   make subdirs

followed by:

   make

The show stopper problem is that the tests fail immediately as follows:

make test
PERL_DL_NONLAZY=0 /usr/local/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl

loading...                    panic: memory wrap at
/home/drayner/perlbuild/Embperl-2.1.0/blib/lib/Embperl.pm line 108.
Compilation failed in require at test.pl line 1809.
BEGIN failed--compilation aborted at test.pl line 1809.

Test terminated with fatal error
Use of uninitialized value in string ne at test.pl line 1209.
*** Error code 1

Stop in /home/drayner/perlbuild/Embperl-2.1.0.

I know Gerald Richter worked on this problem for a while more than a year
ago, but from the mail thread in the archive, it was not resolved.  Any
information beyond that point would be most appreciated.


Thanks and regards,

Doug Rayner
Senior System Architect
Savicom: Next Generation eMail Marketing
http://www.savicom.net
(415) 617-9006






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to