perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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/
> LoadModule apreq_module /home/test/usr/2.1/lib/apache/
> LoadModule cgid_module /home/test/usr/2.1/lib/apache/
> LoadModule embperl_module \
> "/home/test/perl/5.8.3-2.1/lib/site_perl/5.8.3/i686-linux-thread-multi/auto/Embperl/"
> [...]
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 
    SetHandler  perl-script
    Options ExecCGI 

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/
LoadModule embperl_module "/usr/lib/perl5/auto/Embperl/"

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/ /usr/sbin/apache-perl: undefined
symbol: embperl_module


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

View raw message