Mod_perl compiled statically: how?

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.

ashley

This is for anyone that wants some help with compiling Apache and mod_perl
and MySQL and PHP, with all the options you’d ever need…

Get Apache Tool Box from http://www.apachetoolbox.com

It’ll help you compile apache and any modules you might need… (ps, don’t
go crazy with options, just makes it tougher to debug sutff… and there
are incompatibilities between things that you don’t recognize… heh… I’ve
run into a couple with dynamic hosting and directory based dynamic hosting
plugins and stuff… sucks to be me :wink:

Jay
(this ones for the archives!)

Jay –

Some of us are trying to track down a problem with Segmentation Faults
appearing in the error_log when using RT 2.0.4/Apache 1.3.19/mod_perl
(statically compiled).

Can you confirm or deny that you’re seeing any of these msgs, along with
the associated CSS failure?

Thanks,
Dave

David C. Troy [dave@toad.net] 410-544-6193 Sales
ToadNet - Want to go fast? 410-544-1329 FAX
570 Ritchie Highway, Severna Park, MD 21146-2925 www.toad.netOn Thu, 9 Aug 2001, Jay Kramer wrote:

This is for anyone that wants some help with compiling Apache and mod_perl
and MySQL and PHP, with all the options you’d ever need…

Get Apache Tool Box from http://www.apachetoolbox.com

It’ll help you compile apache and any modules you might need… (ps, don’t
go crazy with options, just makes it tougher to debug sutff… and there
are incompatibilities between things that you don’t recognize… heh… I’ve
run into a couple with dynamic hosting and directory based dynamic hosting
plugins and stuff… sucks to be me :wink:

Jay
(this ones for the archives!)

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.

ashley


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


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

I am not seeing any segfaults whatsoever… everything is working fine
here…

Jay Kramer

Jay –

Some of us are trying to track down a problem with Segmentation Faults
appearing in the error_log when using RT 2.0.4/Apache 1.3.19/mod_perl
(statically compiled).

Can you confirm or deny that you’re seeing any of these msgs, along with
the associated CSS failure?

Thanks,
Dave

=====================================================================
David C. Troy [dave@toad.net] 410-544-6193 Sales
ToadNet - Want to go fast? 410-544-1329 FAX
570 Ritchie Highway, Severna Park, MD 21146-2925 www.toad.net

This is for anyone that wants some help with compiling Apache and
mod_perl

and MySQL and PHP, with all the options you’d ever need…

Get Apache Tool Box from http://www.apachetoolbox.com

It’ll help you compile apache and any modules you might need… (ps,
don’t

go crazy with options, just makes it tougher to debug sutff… and
there

are incompatibilities between things that you don’t recognize… heh…
I’ve

run into a couple with dynamic hosting and directory based dynamic
hosting

I am using RT 2.0.4/Apache 1.3.19/Mod_perl compiled statically and I also
am seeing Seg faults every so often. Also experiencing the CSS failure at
random times. I have not looked closely enough to say that the seg faults
and the CSS happen at the same time or not…

System: Solaris 8
Hardware: Sun Netra T1
Perl 5.6.0
Browser is IE 5 on Win2k.On Thu, 9 Aug 2001, David C. Troy wrote:

Jay –

Some of us are trying to track down a problem with Segmentation Faults
appearing in the error_log when using RT 2.0.4/Apache 1.3.19/mod_perl
(statically compiled).

Can you confirm or deny that you’re seeing any of these msgs, along with
the associated CSS failure?

Thanks,
Dave

=====================================================================
David C. Troy [dave@toad.net] 410-544-6193 Sales

I confirm that.
[Thu Aug 9 12:07:15 2001] [notice] child pid 21627 exit signal Segmentation
fault (11)

This happen exactly when the CSS file does not load properly.

Steve Poirier
Directeur d�veloppement / Projet Manager
Inet Technologies Inc.From: “David C. Troy” dave@toad.net
To: “Jay Kramer” jay@mojomole.com
Cc: “Ashley Gould” agould@aslab.com; rt-users@fsck.com
Sent: August 9, 2001 10:55
Subject: Re: [rt-users] mod_perl compiled statically: how?

Jay –

Some of us are trying to track down a problem with Segmentation Faults
appearing in the error_log when using RT 2.0.4/Apache 1.3.19/mod_perl
(statically compiled).

Can you confirm or deny that you’re seeing any of these msgs, along with
the associated CSS failure?

Thanks,
Dave

=====================================================================
David C. Troy [dave@toad.net] 410-544-6193 Sales
ToadNet - Want to go fast? 410-544-1329 FAX
570 Ritchie Highway, Severna Park, MD 21146-2925 www.toad.net

This is for anyone that wants some help with compiling Apache and
mod_perl

and MySQL and PHP, with all the options you’d ever need…

Get Apache Tool Box from http://www.apachetoolbox.com

It’ll help you compile apache and any modules you might need… (ps,
don’t

go crazy with options, just makes it tougher to debug sutff… and
there

are incompatibilities between things that you don’t recognize… heh…
I’ve

run into a couple with dynamic hosting and directory based dynamic
hosting

plugins and stuff… sucks to be me :wink:

Jay
(this ones for the archives!)

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.

ashley


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


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


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

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.

ashleyOn 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@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@biomax.de
http://www.biomax.de


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?

RehanFrom: Ashley Gould [mailto:ashley@aslab.com]
Sent: Thursday, August 09, 2001 6:23 AM
To: rt-users@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

Quoting Rehan van der Merwe Rehan@nha.co.za [Mar 11, 2002 09:45]:

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?

None of the install docs cover this, but it’s pretty simple. You
know that you can pass arbitrary APACI args to the apache build
process using APACI_ARGS, right? Add something like:

APACI_ARGS=’–enable-module=so’

(Or add --enable-module=so to your existing APACI_ARGS argument
to Makefile.PL). This will build mod_so into your httpd, which
you can then use to load other modules. You can also add
–enable-shared=modname to your APACI_ARGS; if you do
–enable-shared=all be sure to also add a --disable-shared=perl.

(darren)

Westheimer’s Discovery: A couple of months in the laboratory can
save a couple of hours in the library.
– Frank H. Westheimer