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

Re: Question about building APR-UTIL

From: Branko Cibej <brane_at_xbc.nu>
Date: Sat, 27 Jun 2009 03:13:12 +0200

Robert Dailey wrote:
> Reason why I'm asking is because I've setup a couple of CMake scripts
> to provide a means to build APR, APR-UTIL, and APR-ICONV.
> The less files I have to build to meet the requirements of Subversion,
> the better. It would be great if you guys could tell me exactly which
> source files I need to build in all 3 APR libraries. I know that
> Subversion uses apr_pool, but not sure about anything else.
> Unfortunately the only way I'm going to be able to tell is through
> missing symbol linker error later on when I try to link against the
> subversion library.

Uh, sorry, if you're doing your own build scripts, then you're pretty
much on your own ... especially as the list of files you have to compile
will differ from platform to platform. For any one partiular platform,
"nm" or local equivalent will tell you (almost) all you need to know.

AFAIK no-one has ever compiled a list of minimal required sources from
APR; doesn't really make sense, we just recommend a particular set of
apr(-util) versions.

-- Brane

> On Fri, Jun 26, 2009 at 7:36 PM, Branko ─îibej <brane_at_xbc.nu
> <mailto:brane_at_xbc.nu>> wrote:
> Robert Dailey wrote:
> > Hey guys,
> >
> > For Subversion's specific needs, do I need to build every C file
> under
> > apr-util/dbd? There's one C file for every type of database (mysql,
> > sqlite, etc), and it seems like I would be required to have all of
> > those database APIs installed on my system in order to fully build
> > APR-UTIL this way.
> Subversion doesn't use the apr_dbd interface at all, IIRC. We do
> recommend that APR is linked against the same version of BDB as
> Subversion (if you're building the BDB back-end), but that's in
> order to
> avoid nightmares with different runtime versions of BDB loaded by the
> same process.
> -- Brane

Received on 2009-06-27 03:13:45 CEST

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.