Re: Compling mod_perl as a static module....

2003-06-10 Thread Forrest Aldrich
The configure process goes through and shows that it's selected a DSO compilation, and that's not what I want so I just stopped it. The configure process complains about PERL_SSI and says it cannot include that with a DSO, etc. But again, I'm not trying to compile a DSO. I wonder if some

Re: Compling mod_perl as a static module....(shared=max)

2003-06-10 Thread Forrest Aldrich
This is what I found: --enable-shared=max tells the script to include mod_so (needed for dynamic modules, or DSOs) and compile all the standard modules as dynamic modules So I will need to find some way around this for the other things I rely upon. but it seems that mod_perl's

Re: Compling mod_perl as a static module....

2003-06-10 Thread Forrest Aldrich
At 02:55 PM 6/10/2003, Ged Haywood wrote: [ ... ] Try taking out --enable-shared=max [ ... ] This caused the compilation process to bomb: ./libhttpd.so: warning: mktemp() possibly used unsafely; consider using mkstemp()

Re: Compling mod_perl as a static module....

2003-06-10 Thread Forrest Aldrich
Okay, here's what I've done which seems to have worked with a statically-linked mod_perl. o untar all distributions into a working directory o ./configure apache with all the usual options I use (i have a script that has this): ./configure --with-perl=/usr/local/bin/perl

Re: Compling mod_perl as a static module....

2003-06-10 Thread Ged Haywood
Hi Forrest, On Tue, 10 Jun 2003, Forrest Aldrich wrote: seems to have worked [snip] # /usr/apache/bin/httpd -l Compiled-in modules: http_core.c mod_so.c mod_dosevasive.c mod_perl.c [snip] :) building mod_perl is such a pain [snip] thoughts on this one? It isn't usually

Re: Compling mod_perl as a static module....

2003-06-10 Thread Ged Haywood
Hi there, On Tue, 10 Jun 2003, Forrest Aldrich wrote: I wonder if this will affect anything else, especially other things that require DSO support. ? Have you got the Eagle Book? You need --enable-module=so in your configure arguments to put mod_so into Apache, mod_so allows Apache to

Re: Compling mod_perl as a static module....

2003-06-09 Thread Ged Haywood
Hi there, On Sun, 8 Jun 2003, Forrest Aldrich wrote: I want to try compiling mod_perl statically What's the question? 73, Ged.

Re: Compling mod_perl as a static module....

2003-06-09 Thread Forrest Aldrich
At 03:26 AM 6/9/2003, Ged Haywood wrote: Hi there, On Sun, 8 Jun 2003, Forrest Aldrich wrote: I want to try compiling mod_perl statically What's the question? 73, Ged. [ ... ] Referring back to my original post, it with the options I specified, the compile process still insists on compiling

Re: Compling mod_perl as a static module....

2003-06-09 Thread Forrest Aldrich
Ged, This is what the make output shows... I've read the docs. Perhaps I need to try compiling mod_perl with a different method (I recall a build option with apxs, outside of the apache src tree). o perl_module uses ConfigStart/End + mod_perl build type: DSO + setting up mod_perl

Re: Compling mod_perl as a static module....

2003-06-09 Thread Ged Haywood
Hello again, On Mon, 9 Jun 2003, Forrest Aldrich wrote: Referring back to my original post, it with the options I specified, the compile process still insists on compiling mod_perl as a DSO. Even if I explicitly set USE_DSO=0 -- I wonder if one of the other flags (like EVERYTHING=1) is

Compling mod_perl as a static module....

2003-06-08 Thread Forrest Aldrich
I'm finally getting down to trying this out, per Ged's directions. I want to try compiling mod_perl statically - I believe APACI is for DSO only - when I try to run perl Makefile.PL, I get warnings about compiling SSI with a DSO, thus I believe the following might need to be modified (removing