perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans Ginzel" <>
Subject Embperl on Windows
Date Fri, 16 May 2008 13:36:44 GMT

I have tried to install EmbPerl under Windowsx XP. But not successfully.

I installed


LogOut/LogIn (so env.variables are OK)

C:\temp> ppm repo add
C:\temp> ppm install mod_perl

C:\temp> perl -MLWP::Simple -e "getstore
C:\temp> perl -MLWP::Simple -e "getstore

C:\temp> rem unpack *.dll from zips to dir C:\bin which is in PATH
C:\temp> rem copy libxslt.dll to libxslt_win32.dll and libexslt.dll to

C:\temp> ppm install Embperl

I have added lines to Apache's httpd.conf.

LoadFile	"C:/perl/bin/perl58.dll"
LoadModule	perl_module		modules/

Thats all OK.

But when I add line
PerlModule Embperl
to the httpd.conf, starting of Apache
C:\Apache2.2\bin\httpd.exe -d C:/Apache2.2 -f C:/Apache2.2/conf/httpd.conf
-e debug
crashes with Windows message box like "Application Apache HTTP Server must
be closed. Send message to Microsoft?"

When I add line (number 130):
LoadModule embperl_module C:/Perl/site/lib/auto/Embperl/Embperl.dll
starting of Apache stops:

[Fri May 16 15:23:48 2008] [debug] mod_so.c(328): loaded file
[Fri May 16 15:23:48 2008] [debug] mod_so.c(246): loaded module perl_module
[Fri May 16 15:23:48 2008] [debug] mod_so.c(246): loaded module
httpd.exe: Syntax error on line 130 of C:/Apache2.2/conf/httpd.conf: Can't
locate API module structure `embperl_module' in file
C:/Perl/site/lib/auto/Embperl/Embperl.dll: No error

What I am doing wrong?
Thank you for any help.

Is EmbPerl version 2.2.0 thread safe?

Another question. Am I going right to use Embperl or should I use another
perl "framework"?

Best Regards

Hans Ginzel


head mod_perl.ppd
<?xml version="1.0" encoding="UTF-8"?>
<SOFTPKG NAME="mod_perl" VERSION="2,0,3,0">
  <ABSTRACT>Embed a Perl interpreter in the Apache/2.2 HTTP server</ABSTRACT>
  <AUTHOR>Philippe M. Chiasson ...</AUTHOR>
    <OS NAME="MSWin32" />
    <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" />
    <CODEBASE HREF="" />

head Embperl.ppd
<?xml version="1.0" encoding="UTF-8"?>
<SOFTPKG NAME="Embperl" VERSION="2,2,0,0">
  <ABSTRACT>Embed Perl code in HTML documents</ABSTRACT>
  <AUTHOR>Gerald Richter ...</AUTHOR>
    <OS NAME="MSWin32"/>
    <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8"/>

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

View raw message