perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angus Lees <...@inodes.org>
Subject Re: Undefined synbol embperl_module with Debian packages (was: Configuration Setup)
Date Sun, 25 Apr 2004 03:57:00 GMT
> Marco Scoffier wrote:
> > The libembperl-perl package for debian is broken?

[...]

> > but I get the same error when I try to load a version of embperl I
> > compiled myself into the debian packaged apache-perl :
> >
> >   Syntax error on line 27 of /etc/apache-perl/modules.conf: Can't
> >   locate API module structure `embperl_module' in file
> >   /usr/local/lib/perl/5.8.3/auto/Embperl/Embperl.so:
> >   /usr/sbin/apache-perl: undefined symbol: embperl_module
> >
> > I guess it was comiled against the wrong source?  Like kernel modules?

The debian libembperl-perl package is not compiled with support for
apache2.  In apache1.3 you don't need the LoadModule line.

This works fine for me (libembperl-perl 2.0b10-1, apache 1.3.29.0.2-4,
libapache-mod-perl 1.29.0.2-4):

 LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so
  ...
 PerlModule Embperl
 Alias /embperl/ /home/gus/somepath/embperl/
 AddType text/html .epl
 <Location /embperl>
   SetHandler    perl-script
   PerlHandler   Embperl::Object
   Options       ExecCGI
   Embperl_Appname       embperl_example
   Embperl_Debug         16517
   Embperl_Object_Base   base.epl
   Embperl_UriMatch      "\.(html|epl)$"
 </Location>

-- 
 - Gus


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


Mime
View raw message