Apache Server configuration support - Re: installing mod_perl version 1 -- does not work

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > September 2004 > Re: installing mod_perl version 1 -- does not work





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: installing mod_perl version 1 -- does not work
phil-news-nospam@ipal.net

2004-09-28, 8:49 am

In alt.apache.configuration Davide Bianchi <davideyeahsure@onlyforfun.net> wrote:

| 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/ |
-----------------------------------------------------------------------------
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com