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

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

From: Douglas Mencken <dougmencken_at_gmail.com>
Date: Wed, 3 Aug 2011 21:11:56 +0400

It prints:

checking for APR... yes
checking APR version... 1.4.5
configure: Apache Portable Runtime Utility (APRUTIL) library configuration
checking for APR-util... yes
checking APR-UTIL version... 1.3.12
checking for pkg-config... /usr/bin/pkg-config
configure: checking neon library
checking neon library version... 0.29.6
configure: error: cannot find Neon
ERROR: './configure' error. Abort.

Al least, "cannot find Neon" is an absolutely WRONG message. Some
autoconf stuff needs to be fixed.

From config.log:

configure:4944: checking neon library
configure:5401: checking neon library version
configure:5408: result: 0.29.6
configure:5456: powerpc-gnu-linux-uclibc-gcc -o conftest -g -O2 -g
-O2 -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include/neon
  -D
_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE conftest.c -lneon >&5
/tmp/cckaQroR.o: In function `main':
/root/build-farm/svn-v1.6.17.builddir/conftest.c:16: undefined
reference to `ne_xml_create'
collect2: ld returned 1 exit status
configure:5456: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "subversion"
| #define PACKAGE_TARNAME "subversion"
| #define PACKAGE_VERSION "1.6.17"
| #define PACKAGE_STRING "subversion 1.6.17"
| #define PACKAGE_BUGREPORT "http://subversion.tigris.org/"
| #define PACKAGE_URL ""
| #define SVN_NEON_0_26 1
| #define SVN_NEON_0_27 1
| #define SVN_NEON_0_28 1
| /* end confdefs.h. */
|
| #include <ne_compress.h>
| #include <ne_xml.h>
| int main()
| {ne_xml_create(); ne_decompress_destroy(NULL);}
configure:5470: powerpc-gnu-linux-uclibc-gcc -o conftest -g -O2 -g
-O2 -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include/neon
  -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE conftest.c
-lneon -lintl -lz -lssl -lcrypto -ldl -lneon >&5
/tmp/ccL895Xt.o: In function `main':
/root/build-farm/svn-v1.6.17.builddir/conftest.c:16: undefined
reference to `ne_xml_create'
collect2: ld returned 1 exit status
configure:5470: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "subversion"
| #define PACKAGE_TARNAME "subversion"
Received on 2011-08-03 19:12:27 CEST

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