The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

INSTALLATION

UNIX

- Unpack the archive

- perl Makefile.PL

You will be asked if you want to compile in support for Apache mod_perl. If you say yes, the source of Apache is searched (for headerfiles). If it can't found, please specify the basepath. Please make sure mod_perl is already installed. If you have installed mod_perl-0.96 or higher, Makefile.PL automatically suggests the same source path as was used to build mod_perl.

- make

- make test

- make install

NOTE 1: (only Embperl-1.2b1 or higher) For using session handling you need Apache::Session-1.00 or higher. If possible use Apache::Session 1.52 or higher. Starting with Embperl 1.3b7 Apache::Session 0.17 is NOT supported anymore.

NOTE 2: Embperl runs without additional Perl modules, but the make test needs the following modules to work:

  • URI

  • MIME::Base64

  • HTML::Parser

  • HTML::HeadParser

  • Digest::MD5

  • libnet

  • libwww

  • libwin32 (only Win32)

NOTE 3: EmbperlObject needs the following modules to work:

  • File::Spec

If you have already successfully build and tested mod_perl all modules will already be there.

Options for make test

make test can take several options, with can be given with the TESTARGS parameter:

  make test TESTARGS="--help"

will show you a list of available option. Most of them you will never need, they are mainly nesseccary for debugging Embperl itself.

WIN 32

I have tested the offline mode on Windows 95 with a Microsoft Visual C++ 4.2 compiler and I have succesfully run Embperl with apache_1.3b5-1.3.9 / mod_perl-1.12-1.21 / perl5.004_04-perl5.005 (without threads) on Windows NT with VC++ 5.0.

NOTE: It was necessary for me to compile perl5.004_04 with the VC++ on my own to get it to run with Apache and mod_perl, while I was able to use the binary distribution (/authors/id/GSAR/perl5.00402-bindist04-bc.tar.gz) of Perl for offline testing under Win 95.

NOTE: You need mod_perl >= 1.12 on win32

On Windows 95/NT you have to do the following:

perl Makefile.PL

nmake (you must have the c compiler in your path)

if you get an error about compiling Embperl.c. Edit Embperl.c and change

-#line "Embperl.xs"

to

+#line 1 "Embperl.xs"

now re-run nmake and it should compile.

nmake test

NOTE: nmake test needs libwin32, libwww and HTML::Parser installed to work

nmake install

NOTE 1: (only Embperl-1.2b1 or higher) For using session handling you need Apache::Session-1.00 or higher. If possible use Apache::Session 1.52 or higher. Starting with Embperl 1.3b7 Apache::Session 0.17 is NOT supported anymore.

NOTE 2: Embperl runs without additional Perl modules, but the make test needs the following modules to work:

  • URI

  • MIME::Base64

  • HTML::Parser

  • HTML::HeadParser

  • Digest::MD5

  • libnet

  • libwww

  • libwin32 (only Win32)

NOTE 3: EmbperlObject needs the following modules to work:

  • File::Spec

If you have already successfully build and tested mod_perl all modules will already be there.

Further Documentation (english)

See "perldoc Features" for list of Embperls features

See "perldoc Intro" for an step by step introduction to Embperl.

See "perldoc Embperl" for complete documentation.

See the "eg/" directory for examples.

See "perldoc Faq" for Frequently Asked Questions.

or you can view it online on http://perl.apache.org/embperl/

Further Documentation (german)

See perldoc FeaturesD for list of Embperls features

See perldoc IntroD for an step by step introduction to Embperl.

See perldoc EmbperlD for complete documentation.

or you can view it online on http://www.ecos.de/embperl/

1 POD Error

The following errors were encountered while parsing the POD:

Around line 159:

alternative text '"eg/"' contains non-escaped | or /