> Note that the 2.1 tarball does _not_ come prepackaged with APR, you will
> have to get the 1.0 version of apr and apr-util seperately at:
> 
>   http://apr.apache.org/download.cgi

I certainly understand the reason for this.  however, I can't find any
documentation in the RC that notes the separation or gives useful APR
information - 2.0 was compile and go, while shipping 2.1 without APR is not.

so, will there be some information added to the 2.1.0 release that will make
this transition easier for end users?  I guess I would want to see some
notes that APR 1.0 is a prerequisite, and perhaps a pointer to the
appropriate flags in the synopsys.  perhaps something akin to the attached
INSTALL notes - I say something akin because just specifying
--with-apr=/foo/apr-1-config and --with-apu=/foo/apu-1-config isn't
sufficient for me to get it to compile (the config process is somehow
picking up an old /usr/include/apr-0 for me, despite my pointing to
ap(r|u)-1-config files in a fully-functional HEAD install).

also, it might be nice for configure (or some earlier step) to determine
that the required APR foo wasn't found and balk at that step.  or wherever
makes sense to those more familiar with the build system than I am.  at the
moment, since I don't have apr binaries in my path the first I discover
there is something wrong is during make.

just my $0.02.

--Geoff
Index: INSTALL
===================================================================
RCS file: /home/cvs/httpd-2.0/INSTALL,v
retrieving revision 1.19
diff -u -r1.19 INSTALL
--- INSTALL	8 Dec 2002 21:05:55 -0000	1.19
+++ INSTALL	2 Sep 2004 16:22:01 -0000
@@ -7,7 +7,9 @@
   For complete installation documentation, see [ht]docs/manual/install.html or
   http://httpd.apache.org/docs-2.1/install.html
 
-     $ ./configure --prefix=PREFIX
+     $ ./configure --prefix=PREFIX \
+     --with-apr=/path/to/apr-1-config \
+     --with-apu=/path/to/apu-1-config
      $ make
      $ make install
      $ PREFIX/bin/apachectl start
@@ -16,6 +18,11 @@
               Apache should be installed.  A typical installation
               might use "/usr/local/apache2" for PREFIX (without the
               quotes).
+
+            * Unlike with Apache 2.0, a full APR 1.0 installation is required
+              to compile Apache 2.1.  See http://apr.apache.org/ for details
+              on APR and use the --with-apr and --with-apu flags to point
+              to the installation you want to compile Apache against.
 
             * If you are building on FreeBSD, be aware that threads will
               be disabled and the prefork MPM will be used by default,

Reply via email to