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

Re: [build error] configure error when using libneon build with no xml support

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Thu, 04 Aug 2011 10:07:59 +0100

Peter Samuelson wrote:
> [Peter Samuelson]
> > (It's news to me, in fact, that it was even possible to build a
> > recent version of neon in such a way that it doesn't support the
> > features we use.)
>
> Followup from IRC: we determined that the reason Doug's neon library
> didn't support XML functions is, he used 'configure --without-webdav'.
> If you don't say --without-webdav, the neon configure script will
> indeed find an appropriate XML library or die trying.
>
> Now ... it would be possible to detect, explicitly, that neon was built
> --without-webdav, and tailor our error appropriately. But it'd be ugly
> code. Is it worth it? Do other users run into this problem?

I'd say, don't look for this specific problem, just change our error
message to be more honest. 'configure' has already printed

    "checking neon library version... 0.29.6"

and the problem with the current error message

    "cannot find Neon"

was simply that it contradicts the earlier message. So, on failure to
compile and link a test program, just make the message say something
like

    "failed to compile and link a test program"

instead. That's enough to make the user look at 'config.log' for more
details.

- Julian
Received on 2011-08-04 11:23:29 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.