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
The Apache Portable Runtime Utility (APRUTIL) library cannot be found.
that was simply not true -- the "library" was, in fact, installed:
it was the development *header files* that were missing. yes, i
appreciate your point that it's your responsibility to know thine
distro, but i don't see the value in generating technically incorrect
disgnostics that are *guaranteed* to trip people up.
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-23 09:32:56 CET