[rt-users] mod_perl compiled statically: how?

Rehan van der Merwe Rehan at nha.co.za
Mon Mar 11 09:40:47 EST 2002


The installation of static mod_perl as set out below works great, but how
would I go about installing mod_perl statically, but keeping DSO support for
other modules that I would wish to install later?

Rehan

-----Original Message-----
From: Ashley Gould [mailto:ashley at aslab.com]
Sent: Thursday, August 09, 2001 6:23 AM
To: rt-users at lists.fsck.com
Subject: Re: [rt-users] mod_perl compiled statically: how?



I looked Apache-Toolbox over briefly.  I tried it the hard way instead.
Life story.  I will give it a try next time.  I did learn a lot though.

I finally stummbled upon this good web site:
http://theoryx5.uwinnipeg.ca/guide/install/index.html

Which gives very great detail on installing mod_perl with this one final
jewel:


% tar xzvf apache_x.x.x.tar.gz
  % tar xzvf mod_perl-x.xx.tar.gz
  % cd mod_perl-x.xx
  % perl Makefile.PL APACHE_SRC=../apache_x.x.x/src \
    DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
  % make && make test && make install
  % cd ../apache_x.x.x
  % make install

This builds Apache statically with mod_perl, installs Apache under the
default /usr/local/apache tree and mod_perl into the site_perl hierarchy
of your existing Perl installation. All in one step.


This really worked.  I'm done .  Good night.


ashley

On Wed, Aug 08, 2001 at 09:35:00AM +0200, Bernhard Schmalhofer wrote:
> Ashley Gould wrote:
> > 
> > I've seen on the list hints that Mason works better if Mod_perl is
> > compiled statically into apache.  I have read a good article on
> > compiling it as DSO, but I don't understand what ./configure options I
> > need to compile mod_perl statically.  Can anyone show me the magic
> > incantation?
> > 
> > I am only now overcoming a childhood terror of Makefiles.
> Hi,
> 
> one possible answer to this is tool called Apache-Toolbox.
> Have a look at www.apachetoolbox.com .
> 
> CU, Bernhard
>  
> > ashley
> > 
> > _______________________________________________
> > rt-users mailing list
> > rt-users at lists.fsck.com
> > http://lists.fsck.com/mailman/listinfo/rt-users
> 
> -- 
> *************************************************
> Bernhard Schmalhofer
> Software Engineer
> Biomax Informatics AG
> Lochhamer Str. 11
> 82152 Martinsried, Germany
> Tel:    +49 89 89 55 74 - 39
> Fax:    +49 89 89 55 74 - 25
> mailto:Bernhard.Schmalhofer at biomax.de
> http://www.biomax.de
> *************************************************
> 

_______________________________________________
rt-users mailing list
rt-users at lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users




More information about the rt-users mailing list