09-28-04 01:49 PM
In alt.apache.configuration Davide Bianchi <davideyeahsure@onlyforfun.net> w
rote:
| On 2004-09-24, phil-news-nospam@ipal.net <phil-news-nospam@ipal.net> wrote
:
|> Apache version: 1.3.31
|> mod_perl version: 1.29
|> I am trying to build Apache with mod_perl (and mod_php and mod_ssl) with
|> these modules (and others) built statically.
|
| This is what I did:
|
| 1. modified config.layout to add a "Slackware" layout, so every bit goes
| in the right place. Skip this if you don't want your httpd.conf in
| /etc/apache and so on.
It's going into a different place because the machine will also be
running a copy of Apache 2 on different IPs.
| 2. created src/modules/perl and copied the whole source tree of perl
| from mod_perlX/src/modules/perl in it.
That was one of the steps.
| 3. run
| ./configure ---with-layout=Slackware \
| --enable-module=rewrite \
| --activate-module=src/modules/perl/libperl.a
| Add more options if you need them.
Did that and plenty more.
| 4. make; make install
Some permutations died here with various errors like mod_perl_version.h
not being found the most common. Apparently it is to be generated by
Makefile.PL but that doesn't always happen.
| Results:
| httpd -l
| Compiled-in modules:
| http_core.c
| mod_env.c
| mod_log_config.c
| ....
| mod_perl.c
I get the other modules. But mod_perl never shows up in the list.
--
----------------------------------------------------------------------------
-
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/
|
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/
|
----------------------------------------------------------------------------
-
[ Post a follow-up to this message ]
|