Mailing List Archive

Can't locate embperl_log.al
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>[Thu Jul 27 22:28:07 2000] [error] [Thu Jul 27 22:28:07 2000] null:
>Can't locate auto/HTML/Embperl/embperl_log.al in @INC (@INC
>contains: /usr/local/apache/lib/perl
>/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
>/usr/lib/perl5/site_perl/5.005/i386-linux
>/usr/lib/perl5/site_perl/5.005 . /usr/local/apache/
>/usr/local/apache/lib/perl) at
>/usr/lib/perl5/site_perl/5.005/i386-linux/HTML/Embperl.pm line 1264

Any idea why I'm getting this error? The line in question is:

> if (defined (&{"$package\:\:CLEANUP"}))
> {
> #$package =~ /^([a-zA-Z0-9\:\:\_]+)$/ ;
> #eval "\&$1\:\:CLEANUP;" ;
> eval "\&$package\:\:CLEANUP;" ;
> print LOG "[$$]CUP: Call \&$package\:\:CLEANUP;\n" if
>($Debugflags & dbgShowC
>leanup);
> embperl_logevalerr ($@) if ($@) ;
> }

the embperl_logevalerr call there. dbgShowCleanup is not set
(leastwise, not by me). I do have a CLEANUP function in my my
EmbperlObject template though.

This is with 1.3b4, mod_perl 1.24, DSO

P.S. I also got the bareword error that someone else reported. I
solved it by doing a quick edit of the code and wrapping "no strict"
around the lines. I don't know if there is a better fix.
- --

Kee Hinckley - Somewhere.Com, LLC - Cyberspace Architects

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>

iQA/AwUBOYD+TiZsPfdw+r2CEQKXCwCgggKhLaLxvZjnuzMAeEQLYL1OjVsAoLpC
5671TpSQgLxgJZnaGzUI9O3Q
=kDhK
-----END PGP SIGNATURE-----
RE: Can't locate embperl_log.al [ In reply to ]
>
> >[Thu Jul 27 22:28:07 2000] [error] [Thu Jul 27 22:28:07 2000] null:
> >Can't locate auto/HTML/Embperl/embperl_log.al in @INC (@INC

That's normaly because the Embperl.so (shared library) can't be loaded for
any reason

First make sure the Embperl is correctly compiled and maybe recompile and
reinstall it. Then you should load Embperl at server startup time, with a
PerlModule HTML::Embperl at the top of your httpd.conf, or with a "use" in
your startup.pl.

Does this change anything?

Gerald

>
> P.S. I also got the bareword error that someone else reported. I
> solved it by doing a quick edit of the code and wrapping "no strict"
> around the lines. I don't know if there is a better fix.

That should also went away be perloading HTML::EMbperl at server startup
time


-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
RE: Can't locate embperl_log.al [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 7:21 AM +0200 7/28/00, Gerald Richter wrote:
> >
>> >[Thu Jul 27 22:28:07 2000] [error] [Thu Jul 27 22:28:07 2000] null:
>> >Can't locate auto/HTML/Embperl/embperl_log.al in @INC (@INC
>
>That's normaly because the Embperl.so (shared library) can't be loaded for
>any reason

If that's the case, would all the rest of the Embperl and
EmbPerlObject stuff work fine? Because it certainly seems to.

>First make sure the Embperl is correctly compiled and maybe recompile and
>reinstall it. Then you should load Embperl at server startup time, with a
>PerlModule HTML::Embperl at the top of your httpd.conf, or with a "use" in
>your startup.pl.
>
>Does this change anything?

Not sure yet, because of my %fdat problems when I load it directly.

> > P.S. I also got the bareword error that someone else reported. I
>> solved it by doing a quick edit of the code and wrapping "no strict"
>> around the lines. I don't know if there is a better fix.
>
>That should also went away be perloading HTML::EMbperl at server startup
>time

It didn't seem to, but we'll take it one at a time for now.
- --

Kee Hinckley - Somewhere.Com, LLC - Cyberspace Architects

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>

iQA/AwUBOYEohiZsPfdw+r2CEQKmpwCfa2Nlw2DDiOa/UEikrEWyMoHgKlIAn2rK
cbtjfePvWHWxV1Q2dG/xoepZ
=ux8X
-----END PGP SIGNATURE-----
RE: Can't locate embperl_log.al [ In reply to ]
>
> At 7:21 AM +0200 7/28/00, Gerald Richter wrote:
> > >
> >> >[Thu Jul 27 22:28:07 2000] [error] [Thu Jul 27 22:28:07 2000] null:
> >> >Can't locate auto/HTML/Embperl/embperl_log.al in @INC (@INC
> >
> >That's normaly because the Embperl.so (shared library) can't be
> loaded for
> >any reason
>
> If that's the case, would all the rest of the Embperl and
> EmbPerlObject stuff work fine? Because it certainly seems to.
>

No, either Embperl.so is loaded or not and Embperl.so is needed for
everything inside Embperl. So there must be another problem.

Oops, I just taken a second look to your first mail, and I see that I was a
little bit to fast hitting the send button.

You have found a bug in Embperl 1.3b4!

The line 1264 in Embperl.pm must be

logevalerr ($@) if ($@) ;

instead of

embperl_logevalerr ($@) if ($@) ;

and line 229 in Embperl.xs must be

embperl_logevalerr(sText)

instead of

embperl_logevalerr(r,sText)


Hope that solves your problem now really

Gerald