You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jani Monoses <ja...@iv.ro> on 2003/04/02 17:33:31 UTC
building with external APR
Hi
I have come across some building issues and I don't know whether they
are result of omissions or something else.
I tried to build svn with apr and apr-util 0.9.2 preinstalled i.e
without copying them in the src
1)apr by default installs in /usr/local/apr
2)apr-util by default does not search there for it and needs a
--with-apr option .I think this is an oversight in the apr-utils
configure and implicitely in the find-apr script which is used to generate
parts of it.
3)subversions find-apr and find-apu m4 scripts do the same thing:look in
a list of dirs which does not
include the default namely /usr /usr/local /usr/local/apache2 but not
/usr/local/apr .They look like they were originally taken from apr-util
Jani.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: building with external APR
Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
--On Wednesday, April 2, 2003 8:33 PM +0300 Jani Monoses <ja...@iv.ro> wrote:
> Hi
> I have come across some building issues and I don't know whether they
> are result of omissions or something else.
> I tried to build svn with apr and apr-util 0.9.2 preinstalled i.e
> without copying them in the src
> 1)apr by default installs in /usr/local/apr
> 2)apr-util by default does not search there for it and needs a
> --with-apr option .I think this is an oversight in the apr-utils
> configure and implicitely in the find-apr script which is used to generate
> parts of it.
No, it's a conscious decision. If the --with-apr option is not specified, it
will look for a bundled source directory first, then look in the 'normal'
directories for a pre-installed copy.
This is to prevent problems with people compiling new versions of httpd/SVN
with newer bundled apr/apr-util than what they have installed. If we didn't
give precedent to the bundled versions, we'd use the pre-installed versions
which isn't what people want. If you deleted the bundled directory in your
SVN or whatnot, it'd force the use of the installed copy or fail. -- justin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org