perl-embperl mailing list archives

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

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

I installed

apache_2.2.8-win32-x86-openssl-0.9.8g.msi
ActivePerl-5.8.8.822-MSWin32-x86-280952.msi

LogOut/LogIn (so env.variables are OK)

C:\temp> ppm repo add http://theoryx5.uwinnipeg.ca/ppms
C:\temp> ppm install mod_perl

C:\temp> perl -MLWP::Simple -e "getstore
'http://xmlsoft.org/sources/win32/libxml2-2.6.32+.win32.zip',
'libxml2-2.6.32+.win32.zip'"
C:\temp> perl -MLWP::Simple -e "getstore
'http://xmlsoft.org/sources/win32/libxslt-1.1.23+.win32.zip',
'libxslt-1.1.23+.win32.zip'"

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
libexslt_win32.dll.

C:\temp> ppm install Embperl

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

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

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
C:/perl/bin/perl58.dll
[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
embperl_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

PS:

head mod_perl.ppd
<?xml version="1.0" encoding="UTF-8"?>
<SOFTPKG NAME="mod_perl" VERSION="2,0,3,0">
  <TITLE>mod_perl</TITLE>
  <ABSTRACT>Embed a Perl interpreter in the Apache/2.2 HTTP server</ABSTRACT>
  <AUTHOR>Philippe M. Chiasson ...</AUTHOR>
  <IMPLEMENTATION>
    <OS NAME="MSWin32" />
    <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" />
    <CODEBASE HREF="http://theoryx5.uwinnipeg.ca/ppms/x86/mod_perl.tar.gz" />
    <INSTALL EXEC="PPM_PERL"
HREF="http://theoryx5.uwinnipeg.ca/ppms/scripts/install_modperl">install_modperl</INSTALL>


head Embperl.ppd
<?xml version="1.0" encoding="UTF-8"?>
<SOFTPKG NAME="Embperl" VERSION="2,2,0,0">
  <TITLE>Embperl</TITLE>
  <ABSTRACT>Embed Perl code in HTML documents</ABSTRACT>
  <AUTHOR>Gerald Richter ...</AUTHOR>
  <IMPLEMENTATION>
    <OS NAME="MSWin32"/>
    <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8"/>
    <CODEBASE HREF="http://theoryx5.uwinnipeg.ca/ppms/x86/Embperl.tar.gz"/>
    <INSTALL EXEC="PPM_PERL"
HREF="http://theoryx5.uwinnipeg.ca/ppmpackages/scripts/install_embperl">install_embperl</INSTALL>





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


Mime
View raw message