httpd-apreq-dev mailing list archives

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

> Hmm, now that I think about it, what APACI_ARGS= has to do with 
> libapreq? they need to be passed when building mod_perl, not 
> Apache::Request. I believe these instructions were for building 
> Apache::Request.

Yes, exactly the point I was trying to make earlier. Silly me for 
patching the wrong part of the docs. Here's a revision:

--- INSTALL.MacOSX.~1.7.~	Thu Aug 14 11:42:51 2003
+++ INSTALL.MacOSX	Thu Aug 14 11:43:24 2003
@@ -65,7 +65,10 @@
  mod_perl's Makefile build Apache, configure it like this:

  % cd mod_perl-1.xx
-% perl Makefile.PL USE_APACI=1  EVERYTHING=1
+% perl Makefile.PL USE_APACI=1  EVERYTHING=1 
APACI_ARGS="--without-execstrip"
+
+Be sure to pass the "--without-execstrip" argument to to the 
APACI_ARGS; this
+seems to be required to compile Apache with mod_perl on Mac OS X.

  If you want to use Apache::Request and Apache::Cookie, you'll also 
need to
  remove the -lapreq linking flags within Request/Makefile.PL and
@@ -75,11 +78,9 @@
  % perl -pi.bak -e 's/-lapreq//' Request/Makefile.PL Cookie/Makefile.PL

  And finally, the normal Perl build of libapreq should work. Note that 
you'll
-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 
be
-required to compile Apache with mod_perl on Mac OS X.
+need libwwwperl and URI installed in order to run make test.

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

-- 
David Wheeler                                     AIM: dwTheory
david@kineticode.com                              ICQ: 15726394
http://www.kineticode.com/                     Yahoo!: dew7e
                                                Jabber: Theory@jabber.org
Kineticode. Setting knowledge in motion.[sm]


Mime
View raw message