10.2. Installing Embperl

Embperl does not come standard on Red Hat (yet), so you need to install it. Get the latest source from ftp://ftp.dev.ecos.de/pub/perl/embperl/. As of this writing, the latest beta release was 2.0b3, [1] so the file we want is HTML-Embperl-2.0b3.tar.gz. Save it in/tmp.

[1] The latest stable release was 1.3.4, but the new release, version 2, will probably be the stable release when this book is printed, so we will install version 2.

Change directory to /tmp and do the following:

$ cd /tmp 
$ tar xzf HTML-Embperl-2.0b3.tar.gz 
$ cd HTML-Embperl-2.0b3 
$ perl Makefile.PL
					

You will then be prompted for some site-specific information. The important information you need is the locations of the following files:

  • httpd.h— located ...

Get Open Source Web Development with LAMP: Using Linux, Apache, MySQL, Perl, and PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.