I used to be recommended by Ruevain Lerner in the Linux Journal
that to use EMBPERL under modperl we needed to compile embperl under mod perl:
<QUOTING>
Before you can start to compile the components, you will have to set some of
the configurations and modify
Makefiles. First of all, go into the mod_perl directory and edit
src/modules/perl/Makefile:
/downloads/mod_perl-1.12/src/modules/perl/Makefile
You will have to make three changes to this file. First, add the HTML::Embperl
to the definition of
STATIC_EXTS that will be grabbed by the mod_perl configuration system. That is,
edit the line (line 98, in
mod_perl-1.12):
#STATIC_EXTS = Apache Apache::Constants
and change it to:
#STATIC_EXTS = Apache Apache::Constants HTML::Embperl
Next, look for the line that begins with OBJS= (line 131 in mod_perl-1.12).
Just before that line, define the
variable EPDIR so that it points to your Embperl build directory. For instance,
assuming that we are building
Embperl in /downloads/HTML-Embperl-1.0.0, we will set it to:
EPDIR=/downloads/HTML-Embperl-1.0.0
We will now modify the OBJS variable such that it creates the object files for
Embperl as well as mod_perl:
OBJS=$(PERLSRC:.c=.o) $(EPDIR)/Embperl.o \
$(EPDIR)/epmain.o $(EPDIR)/epio.o \
$(EPDIR)/epeval.o $(EPDIR)/epcmd.o \
$(EPDIR)/epchar.o $(EPDIR)/eputil.o
Don't forget to put backslashes at the end of each continued line, so that make
doesn't think the second and
third lines should stand on their own.
___________________________________
Which essentially put some parts of the embperl objects into the modperl
compile. Any idea would he recommend that? Is it needed today?
Ruben
--
Brooklyn Linux Solutions
http://www.mrbrklyn.com
http://www.brooklynonline.com
1-718-382-5752
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]