httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wheeler <>
Subject Re: libapreq failures with 1.2 and Mac OS X Server
Date Thu, 14 Aug 2003 18:24:10 GMT
On Thursday, August 14, 2003, at 11:08  AM, Stas Bekman wrote:

>> I didn't post to httpd-dev, since I compiled Apache fine without it 
>> when I didn't compile mod_perl.
> Sorry, but what the problem reported by Chris has to do with 'compile 
> fine'? It's about the symbols being stripped on install of httpd. Do I 
> need more coffee?

That's when Apache was compiled with static mod_perl. I didn't need to 
use --without-execstrip when I compiled Apache w/o third-party modules.

>>> btw, we still need a note in INSTALL.MacOSX in the httpd-apreq 
>>> distro.
>> Why? Since apreq 1.1, apreq no longer needs to be statically compiled 
>> into Apache on Mac OS X. So there shouldn't be any instructions for 
>> compiling Apache at all in that file.
> I lost you, what about the need to have --without-execstrip if 
> mod_perl is not built statically?

I don't know if you need --without-execstrip when mod_perl is built 
dynamically, since I never build mp1 dynamically. At any rate, the 
instructions in apreq's INSTALL.MacOSX are for compiling apreq, not for 
compiling Apache.

Uh, oh, wait, sorry, there are instructions for compiling apreq into 
Apache on Mac OS X 10.1. Here's the patch (apologies if horks 
the line wrapping):

--- INSTALL.MacOSX.~1.6.~	Sun Jun 15 19:24:43 2003
+++ INSTALL.MacOSX	Thu Aug 14 11:23:31 2003
@@ -75,10 +75,14 @@
  % perl -pi.bak -e 's/-lapreq//' Request/Makefile.PL Cookie/Makefile.PL

  And finally, the normal Perl build of libapreq should work. Note that 
-need libwwwperl and URI installed in order to run make test.
+need libwwwperl and URI installed in order to run make test. Be sure 
to pass
+the "--without-execstrip" argument to to the APACI_ARGS; this seems to 
+required to compile Apache with mod_perl on Mac OS X.

-% perl Makefile.PL
+% perl Makefile.PL APACI_ARGS="--without-execstrip"
  % make
  % make test
  % sudo make install

+If you compile Apache by hand, you'll need to pass the 
+option to its configure.

David Wheeler                                     AIM: dwTheory                              ICQ: 15726394                     Yahoo!: dew7e
Kineticode. Setting knowledge in motion.[sm]

View raw message