You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2004/05/22 16:47:26 UTC
cvs commit: httpd-apreq/Request Makefile.PL
joes 2004/05/22 07:47:26
Modified: . INSTALL.MacOSX
Cookie Makefile.PL
Request Makefile.PL
Log:
Finally applied Stas' old patch: yields correct (perl 5.8.1+) EU::MM support, with David Wheeler's accompanying OSX documentation.
Revision Changes Path
1.9 +9 -30 httpd-apreq/INSTALL.MacOSX
Index: INSTALL.MacOSX
===================================================================
RCS file: /home/cvs/httpd-apreq/INSTALL.MacOSX,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- INSTALL.MacOSX 14 Aug 2003 19:32:09 -0000 1.8
+++ INSTALL.MacOSX 22 May 2004 14:47:25 -0000 1.9
@@ -1,33 +1,12 @@
-Mac OS X 10.2
-=============
-
-On Mac OS X 10.2.x Jaguar, the C and Perl libraries must be installed
-separately. Here's how to do it.
-
-% cd libapreq-1.x
-% sh BUILD.sh
-
-Unpack the libapreq tarball, change into the source code directory, and then
-run the BUILD.sh script. This prepares the libapreq sources to build the C
-library. Note that running BUILD.sh is actually optional if the libapreq
-sources are freshly unpacked.
-
-% ./configure --with-apache-includes=/usr/include/httpd
-% make
-% sudo make install
+Mac OS X 10.2 and Later
+=======================
-We need to tell configure where to find the apache includes directory. The
-default Apple install of Apache puts these files in /usr/include/httpd. If
-you've compiled and installed your own Apache, you'll need to point to the
-directory into which you have installed the include files, such as
-/usr/local/apache/include. Once configure is done doing its thing, run "make"
-and then "sudo make install" to install the C library.
-
-Next, the normal Perl build of libapreq should work. Note that you'll need
-Apache::TestMM, libwwwperl, and URI installed in order to run "make test".
-It's also a good idea to use the "-apxs" argument to Makefile.PL so that
-"make test" knows where to find and start your Apache server. This is
-especially true if you've compiled and isntalled your own Apache.
+On Mac OS X 10.2.x Jaguar and laterthe normal Perl build of libapreq should
+work. Note that you'll need Apache::TestMM, libwwwperl, and URI installed in
+order to run "make test". It's also a good idea to use the "-apxs" argument to
+Makefile.PL so that "make test" knows where to find and start your Apache
+server. This is especially true if you've compiled and isntalled your own
+Apache.
% perl Makefile.PL -apxs /usr/sbin/apxs
% make
@@ -70,7 +49,7 @@
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 compile Apache by hand, you'll need to pass the
---without-execstrip option to its ./configure script.
+"--without-execstrip" option to its ./configure script.
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
1.6 +1 -1 httpd-apreq/Cookie/Makefile.PL
Index: Makefile.PL
===================================================================
RCS file: /home/cvs/httpd-apreq/Cookie/Makefile.PL,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Makefile.PL 3 Apr 2001 19:24:08 -0000 1.5
+++ Makefile.PL 22 May 2004 14:47:26 -0000 1.6
@@ -27,7 +27,7 @@
@mm_args,
'INC' => "-I../c ". $src->inc,
'TYPEMAPS' => $src->typemaps,
- 'LIBS' => "-L$root -lapreq",
+ 'OBJECT' => "Cookie.o $root/libapreq.a",
'dynamic_lib' => {
'OTHERLDFLAGS' => $src->otherldflags,
},
1.6 +1 -1 httpd-apreq/Request/Makefile.PL
Index: Makefile.PL
===================================================================
RCS file: /home/cvs/httpd-apreq/Request/Makefile.PL,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Makefile.PL 3 Apr 2001 19:24:09 -0000 1.5
+++ Makefile.PL 22 May 2004 14:47:26 -0000 1.6
@@ -27,7 +27,7 @@
@mm_args,
'INC' => "-I../c ". $src->inc,
'TYPEMAPS' => $src->typemaps,
- 'LIBS' => "-L$root -lapreq",
+ 'OBJECT' => "Request.o $root/libapreq.a",
'dynamic_lib' => {
'OTHERLDFLAGS' => $src->otherldflags,
},