You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by "Beau E. Cox" <be...@beaucox.com> on 2004/08/22 02:13:54 UTC
'boot' problems with embperl(cvs)
Hi -
I am running Linux:
Linux version 2.6.8.1 (Beau E. Cox: beau@beaucox.com ) (gcc version 3.3.3) #2
Sun Aug 15 23:50:50 HST 2004
I have two test servers using Embperl:
1. Apcahe 2.0(cvs)
mod_perl2(cvs)
Embperl(cvs)
2. Apcahe 2.1(cvs)
mod_perl2(cvs)
Embperl(cvs)
The second server (Apache 2.1) works fine.
The first server (Apache 2.0) fails as follows:
[Sat Aug 21 13:00:17 2004] [error] Embperl::Thread object version 2.0b11 does
not match bootstrap parameter 2.0
at /home/test/perl/5.8.5-apache2.0/lib/site_perl/5.8.5/i686-linux-thread-multi/Embperl.pm
line 86.\nCompilation failed in require
at /home/test/httpd/2.0/conf/startup.pl line 46.\nBEGIN failed--compilation
aborted at /home/test/httpd/2.0/conf/startup.pl line 46.\nCompilation failed
in require at (eval 2) line 1.\n
[Sat Aug 21 13:00:17 2004] [error] Can't load Perl
file: /home/test/httpd/2.0/conf/startup.pl for server cathy.beaucox.com:0,
exiting...
[Sat Aug 21 13:45:21 2004] [error] Embperl::Thread object version 2.0b11 does
not match bootstrap parameter 2.0
at /home/test/perl/5.8.5-apache2.0/lib/site_perl/5.8.5/i686-linux-thread-multi/Embperl.pm
line 86.\nCompilation failed in require
at /home/test/httpd/2.0/conf/startup.pl line 46.\nBEGIN failed--compilation
aborted at /home/test/httpd/2.0/conf/startup.pl line 46.\nCompilation failed
in require at (eval 2) line 1.\n
[Sat Aug 21 13:45:21 2004] [error] Can't load Perl
file: /home/test/httpd/2.0/conf/startup.pl for server cathy.beaucox.com:0,
exiting...
Embperl seems to have version problems (2.0 v 2.0b11) booting; if I
change Embperl.pm from:
...
if (!defined(&Embperl::Init))
{
bootstrap Embperl $VERSION ;
Boot ($VERSION) ;
Init ($modperl?Apache -> server:undef, \%initparam) ;
}
...
to:
...
if (!defined(&Embperl::Init))
{
bootstrap Embperl $VERSION ;
Boot ('2.0b11') ;
Init ($modperl?Apache -> server:undef, \%initparam) ;
}
...
It works!
The startup.pl and httpd.conf files are the same (except some
auth changes in httpd.conf for 2.1 - not realted to Embperl).
I'm at a loss.
Any ideas of what I should do next to pinpoint the problem?
Aloha => Beau;
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: 'boot' problems with embperl(cvs)
Posted by Gerald Richter <ri...@ecos.de>.
>
> Embperl seems to have version problems (2.0 v 2.0b11)
> booting;
Just rerun Makefile.PL. If $VERSION changes (which it just had done), then
you always need to rerun Makefile.PL to get the new version number into the
Makefile
Gerald
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org