Hello!

I am currently experimenting with Embperl2 and Apache2. The environment:
- Apache 2.0.48 (Debian package from testing)
- mod_perl 1.99_13 (compiled from source)
- Embperl 2.0b10 (compiled from source)

Both Embperl2 and mod_perl compiled successfully without any error
messages.

Apache is configured like this (only sections relevant to Embperl)

[...]
LoadModule embperl_module
/usr/local/lib/perl/5.8.3/auto/Embperl/Embperl.so
[...]
PerlModule Apache2
PerlModule Apache::compat
PerlModule Embperl
AddType text/html *.epl
[...]
DocumentRoot <my document root>
[...]
<Directory <my document root>> 
EMBPERL_APPNAME     hilarenhaus-root
EMBPERL_DEBUG 2110701
EMBPERL_OBJECT_BASE base.htm
EMBPERL_URIMATCH "\.html$|\.epl$"
SetHandler perl-script
PerlHandler Embperl
</Directory>

After starting the server, this error message appears several about four
to six times when reloading a page containing Embperl code; then,
Embperl code is executed without errors.

Error in Perl code: (in cleanup) Can't call method "app" on an undefined
value at /usr/local/lib/perl/5.8.3/Embperl/Util.pm line 107

I commented out the relevant line(s) in Util.pm (line 107 to 112) and
changed the PerlHandler to Embperl::Object; then the error message
changed to:

ERR: 24: Error in Perl code: Can't call method "execute_component" on an
undefined value at /usr/local/lib/perl/5.8.3/Embperl.pm line 182.

With Embperl, everything works fine from the first page request after
starting the server.

Did I miss anything during compilation or configuration?

Regards,
Fabian Aichele



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

Reply via email to