[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: messed up APR location...

From: <cmpilato_at_collab.net>
Date: 2002-05-30 00:52:16 CEST

Greg Stein <gstein@lyra.org> writes:

> Installed copies are Right(tm).
>
> If you want the advantages of a shared library, then everybody has to refer
> to that shared library. It makes no sense to have everybody running around
> with their own copies. Further, if you start linking SVN into programs which
> (themselves) use APR, then you ABSOLUTELY must all refer to the shared,
> installed library.
>
> IMO, we should (even now) *always* try to use an installed library first.
>
> If that poses problems for somebody, then the user can do something like:
>
> ./configure --with-apr=./apr --with-apr-util=./apr-util
>
> Theoretically, the detection code will then recognize those directories as
> the bundled source directories and will use them, in preference to the
> installed copies.

Hm. I think that the very act of checking out apr and apr-util into
my subversion source tree indicates my desire to use *those trees* as
my APR and APRUtil (respectively) of choice, and is therefore nearly
as good as passing the --with-apr[util] flag to configure.

Therefore, I believe the order should be:

1. Check the --with-apr/--with-apr-util flags.
2. Look for apr and apr-util in my subversion source dir.
3. Look in the usual install locations.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 1 14:22:50 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.