[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: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Sun, 22 Feb 2009 20:15:00 -0600

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)).

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1212113

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-23 03:16:41 CET

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