perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabian Aichele <>
Subject Embperl 2.0b10 errors with Apache 2.0.48
Date Tue, 16 Mar 2004 17:57:42 GMT

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

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

LoadModule embperl_module
PerlModule Apache2
PerlModule Apache::compat
PerlModule Embperl
AddType text/html *.epl
DocumentRoot <my document root>
<Directory <my document root>> 
EMBPERL_APPNAME     hilarenhaus-root
EMBPERL_URIMATCH "\.html$|\.epl$"
SetHandler perl-script
PerlHandler Embperl

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/ line 107

I commented out the relevant line(s) in (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/ line 182.

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

Did I miss anything during compilation or configuration?

Fabian Aichele

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message