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

Re: configure of svn 1.6.0-rc2 gives misleading "APRUTIL" disgnostic

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Mon, 23 Feb 2009 08:51:30 -0600

On Feb 23, 2009, at 2:31 AM, Robert P. J. Day wrote:

> On Sun, 22 Feb 2009, Ryan Schmidt wrote:
>> On Feb 22, 2009, at 08:22, Robert P. J. Day wrote:
>>> ================================
>>> $ ./configure
>>> ...
>>> configure: Apache Portable Runtime (APR) library configuration
>>> checking for APR... yes
>>> checking APR version... 1.2.12
>>> configure: Apache Portable Runtime Utility (APRUTIL) library
>>> configuration
>>> checking for APR-util... no
>>> configure: WARNING: APRUTIL not found
>>> The Apache Portable Runtime Utility (APRUTIL) library cannot be
>>> found.
>>> Either install APRUTIL on this system and supply the appropriate
>>> --with-apr-util option
>>> or
>>> get it with SVN and put it in a subdirectory of this source:
>>> svn co \
>>> http://svn.apache.org/repos/asf/apr/apr-util/branches/1.2.x \
>>> apr-util
>>> Run that right here in the top level of the Subversion tree.
>>> Afterwards, run apr-util/buildconf in that subdirectory and
>>> then run configure again here.
>>> configure: error: no suitable APRUTIL found
>>> =====================================
>>> however, on this fedora 9 system, it's not apr-util that it's
>>> looking for, it's actually apr-util-devel, which could cost folks a
>>> few minutes wondering why they have apr-util installed and they're
>>> still getting that error msg.
>>> perhaps a slightly more precise diagnostic msg might be in order.
>> What wording would you suggest?
>> Note the message did not say a package called "apr-util" was missing;
>> it said "The Apache Portable Runtime Utility (APRUTIL) library cannot
>> be found", implying the entire Apache Portable Runtime Utility,
>> including all its component parts, regardless of by what means you
>> need to install it on your OS.
>> I would say it's up to you to know the peculiarities and naming
>> conventions of your package manager (i.e. that you need both binaries
>> (in apr-util) and headers (in apr-util-devel)). Not all package
>> managers have that naming convention (e.g. MacPorts does not; it puts
>> everything into one package (apr-util)).
> i'd suggest a wording that is actually *correct*. the error msg
> reads:
> The Apache Portable Runtime Utility (APRUTIL) library cannot be found.
> that was simply not true -- the "library" was, in fact, installed:
> /usr/lib/libaprutil-1.so.0
> /usr/lib/libaprutil-1.so.0.2.12

The libraries may be installed, but in your current configuration,
Subversion could not find them, so the message is correct.



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-23 15:52:38 CET

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

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