I'm not sure why people are struggling with this so much this week. Here's
what to do in a nutshell:
download and untar apache
download and untar modperl - at the same directory level.
cd modperl
perl Makefile.PL \
EVERYTHING=1 \
APACHE_PREFIX=/usr/apache \
ADD_MODULE=log_referer,rewrite,proxy,so,vhost_alias,mime_magic,expires \
DYNAMIC=1 USE_APACI=1
make
su
make install
To build DSO libraries just make sure you now use apxs from /usr/apache/bin.
On Mon, 31 Jan 2000, Bill Jones wrote:
> After much fighting - 2/3 success :/ Better than nothing :]
>
> > Server Version: Apache/1.3.12-dev (Unix) mod_perl/1.21_01-dev
> > Server Built: Jan 31 2000 10:55:04
> > API Version: 19990320:6
> > Run Mode: standalone
> > User/Group: sneex(69)/69
> > Hostname/port: insecurity.org:80
> > Daemons: start: 5 min idle: 5 max idle: 10 max: 150
> > Max Requests: per child: 0 keep alive: on max per connection: 100
> > Threads: per child: 0
> > Excess requests: per child: 0
> > Timeouts: connection: 300 keep-alive: 15
> > Server Root: /usr/local/apache
> > Config File: conf/httpd.conf
> > PID File: /usr/local/apache/logs/httpd.pid
> > Scoreboard File: /usr/local/apache/logs/httpd.scoreboard
>
>
> Integrating PHP4 is my next battle - wish me luck...
>
> Thanks to all who helped! -Sneex- :]
> ____________________________________________________________________
> Bill Jones * Systems Programmer * http://www.fccj.org/cgi/mail?sneex
>
> ('> Running -
> //\ Perl, Apache, MySQL, PHP3,
> v_/_ Ultra 10, LinuxPPC, BeOS...
>
>
> > From: Bill Jones <[EMAIL PROTECTED]>
> > Date: Mon, 31 Jan 2000 09:42:16 -0500
> > To: <[EMAIL PROTECTED]>
> > Subject: Re: Compiling mod_perl as a DSO?
> >
> >>> Is it possible to compile/install mod_perl as a DSO, on an existing
> >>> pre-compiled copy of apache (with mod_so enabled), yet? If so,
> >>> how? I couldnt find it in the docs... and I'm tired of having to
> >>> statically compile the module in... so any help would be appreciated.
> >>>
> >> I read on the list at one time that the DSO verson has a memory leak.
> >> Don't know if this is still true or not. The static version apparently
> >> did not have that problem. If someone knows the answer to this I'd like
> >> to know myself as the DSO version is considerably easier to put together
> >> with other modules.
> >
> >
> > Plus my studies this weekend indicate that other
> > conflicting issues come up...
> >
> > Better to go hybrid - static mod_perl, and
> > DSO whatever you are able to DSO...
> > ____________________________________________________________________
> > Bill Jones * Systems Programmer * http://www.fccj.org/cgi/mail?sneex
> >
> > ('> Running -
> > //\ Perl, Apache, MySQL, PHP3,
> > v_/_ Ultra 10, LinuxPPC, BeOS...
> >
> >
--
<Matt/>
Details: FastNet Software Ltd - XML, Perl, Databases.
Tagline: High Performance Web Solutions
Web Sites: http://come.to/fastnet http://sergeant.org
Available for Consultancy, Contracts and Training.