INSTALL encourages a "dive in and do it" approach to bootstrapping, and
this mostly works. I found, however, that I lost a lot of time learning
the two subtlties noted below. Yes, if I'd actually *read* all of
INSTALL, I'd have known these things. But, OK, I didn't; all I read
was:
On Unix systems, the './configure' script will tell you if you are
missing the correct version of any of the required libraries or
tools, so if you are in a real hurry to get building, you can skip
straight to section II.
I don't think I'm so very unusual in this!
The two tricks:
- even though it's configure telling you that you're missing stuff, once
you suck it down from cvs you have to back up to autogen.sh.
- if you're missing apr, you're almost certain to be missing apr-util as
well. Why not fetch 'em both at once?
-===-
DOROTHY: Follow the Yellow Brick Road? Follow the Yellow Brick . . .?
Well now, which way do we go?
SCARECROW: Pardon me. That way is very nice.
DOROTHY: Who said that? Don't be silly, Toto. Scarecrows don't talk.
SCARECROW: It's pleasant down that way, too.
DOROTHY: That's funny. Wasn't he pointing the other way?
SCARECROW: Of course, people do go both ways!
Jack Repenning
CollabNet, Inc.
o: 650.228.2562
c: 408.835.8090
Log:
Improve the helpful hints for those missing apr*.
* build/ac-macros/aprutil.m4
(SVN_DOWNLOAD_APRUTIL): note that autogen.sh needs to be rerun
if you download apr-util.
* build/ac-macros/apr.m4
(SVN_DOWNLOAD_APR): note that autogen.sh needs to be rerun
if you download apr; note that you may need apr-util as well.
Index: build/ac-macros/aprutil.m4
===================================================================
--- build/ac-macros/aprutil.m4 (revision 5945)
+++ build/ac-macros/aprutil.m4 (working copy)
@@ -98,7 +98,8 @@
echo ""
echo " cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co
apr-util"
echo ""
- echo "Run that right here in the top-level of the Subversion tree."
+ echo "Run that right here in the top level of the Subversion tree,"
+ echo "then run autogen.sh again."
echo ""
AC_MSG_ERROR([no suitable APRUTIL found])
])
Index: build/ac-macros/apr.m4
===================================================================
--- build/ac-macros/apr.m4 (revision 5945)
+++ build/ac-macros/apr.m4 (working copy)
@@ -101,7 +101,15 @@
echo ""
echo " cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co
apr"
echo ""
- echo "Run that right here in the top-level of the Subversion tree."
+ echo "Run that right here in the top level of the Subversion tree,"
+ echo "then run autogen.sh again."
echo ""
+ echo "Whichever of the above you do, you probably need to do"
+ echo "something similar for apr-util, either providing both"
+ echo "--with-apr and --with-apr-util to 'configure', or"
+ echo "getting both from CVS with:"
+ echo ""
+ echo " cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co
apr apr-util"
+ echo ""
AC_MSG_ERROR([no suitable apr found])
])
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 15 19:54:41 2003