Hello,
doesn't works for me.
I'm trying to install on a hpux-11.0 machine. If i compile embperl no *.so file
will
be generated. In the makefile is also no build order for *.so files.
But there is an Embperl.sl but if i load it into apache it will crash with a
core dump.
So i have following statements in httpd.conf included:
...
LoadModule perl_module modules/mod_perl.so
PerlModule Apache2
PerlModule Embperl
...
<Directory ...>
PerlSetVar EMBPERL_OBJECT_BASE base.epl
<FilesMatch ...>
SetHandler perl-script
PerlHandler Embperl::Object
Options ExecCGI
</FilesMatch>
</Directory>
...
It seems to work but not really.
1. It will not found base.epl but _base.epl
2. For example content.epl will not be overwritten by main/content.epl

So something must be wrong.




"Gerald Richter" <[EMAIL PROTECTED]> am 01.07.2002 20:37:54

An:    Wolfgang--ONSYS Leideck/BASF-AG/BASF@EUROPE, [EMAIL PROTECTED]
Kopie:
Thema: Re: Problems with embperl-2.0b8



Hello,
> i have installed emperl-2.0b8 with the latest snapshot of modperl-2.0 and
> apache2.
>
> Everything seems okay but if i try it on my local website i get following
error
> Fehlermeldung:
> Can't locate EmbperlObject.pm in @INC (@INC contains:

It's called Embperl::Object in 2.0. Make sure you have renamed everything
else from HTML::Embperl to Embperl!

Also if you want to use any Embperl configuration directives in your
httpd.conf you need to add the line

LoadModule embperl_module "/path/to/perl/site/arch/auto/Embperl/Embperl.so"

Of course you need to adjust to path to whereever the Embperl.so is
installed on your system.
Add this line directly after the LoadModule for mod_perl. This is necessary
due to the other initialization behaviour of mod_perl 2.0. Otherwise Embperl
would not be able to add any configuration directives to Apache.

This LoadModule is not documented yet, but will be soon go into the docs.

Gerald


------------------------------------------------------------------------
Wolfgang Leideck
ONSYS GmbH
Fon: +49 (0)621/60-44104
Fax: +49 (0)621/60-73744
E-Mail: [EMAIL PROTECTED]




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

Reply via email to