perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@metm.org
Subject Re: Configuration Setup
Date Thu, 22 Apr 2004 00:11:08 GMT
On Wed, Apr 21, 2004 at 06:39:56AM -1000, Beau E. Cox wrote:
> [...]
> LoadModule perl_module /home/test/usr/2.1/lib/apache/mod_perl.so
> LoadModule apreq_module /home/test/usr/2.1/lib/apache/mod_apreq.so
> LoadModule cgid_module /home/test/usr/2.1/lib/apache/mod_cgid.so
> LoadModule embperl_module \
> "/home/test/perl/5.8.3-2.1/lib/site_perl/5.8.3/i686-linux-thread-multi/auto/Embperl/Embperl.so"
> [...]
> 
OK I am having trouble with this loading also.  (I got everything to
work when I compiled apache, mod-perl and embperl from source, but I
think I compiled the modules into the server and thus I don't LoadModule
anything) When I try to use the debian packaged version (which I would
prefer cause I spread development onto multiple machines) I have :

PerlModule Embperl 
<Location /hello>
    PerlHandler Embperl::Object 
    EMBPERL_OBJECT_BASE _base.epl
    EMBPERL_URIMATCH "\.html"
    SetHandler  perl-script
    Options ExecCGI 
</Location>

in my httpd.conf, I get :

Syntax error on line 1007 of /etc/apache-perl/httpd.conf:
Invalid command 'EMBPERL_OBJECT_BASE', perhaps mis-spelled or defined by
a module not included in the server configuration

So I added a line to the bottom of /etc/apache-perl/modules.conf so that
it looks like:

[ ... ]
AddModule mod_perl.c
LoadModule session_module /usr/lib/apache/1.3/mod_session.so
LoadModule embperl_module "/usr/lib/perl5/auto/Embperl/Embperl.so"

but I get:

Syntax error on line 27 of /etc/apache-perl/modules.conf:
Can't locate API module structure `embperl_module' in file
/usr/lib/perl5/auto/Embperl/Embperl.so: /usr/sbin/apache-perl: undefined
symbol: embperl_module

-- 
Marco

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message