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

Re: anyone else seen this assertion error?

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-06-02 04:34:42 CEST

On Jun 1, 2007, at 20:13, Rick Jones wrote:

>>> svn: Unrecognized URL scheme for 'http://www.netperf.org/svn/
>>> sandbox/trunk'
>>
>> That means Subversion couldn't find the Neon library when it was
>> built.
>
> Thanks. I did an apt-get install of the 2.6 neon and of course
> _now_ it won't link-up:
>
> tardy:/home/raj/svn_tot# make
> cd subversion/libsvn_ra_dav && /bin/sh /home/raj/svn_tot/libtool --
> tag=CC --silent --mode=link gcc -g -O2 -pipe -Wall -g -O2 -
> pthread -D_LARGEFILE64_SOURCE -DNE_LFS -rpath /usr/local/lib -o
> libsvn_ra_dav-1.la commit.lo fetch.lo file_revs.lo lock.lo log.lo
> merge.lo mergeinfo.lo options.lo props.lo replay.lo session.lo
> util.lo ../../subversion/libsvn_delta/libsvn_delta-1.la ../../
> subversion/libsvn_subr/libsvn_subr-1.la /usr/lib/libaprutil-1.la /
> usr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl /usr/lib/
> libneon.la
> libtool: link: cannot find the library `/usr/lib/libneon.la' or
> unhandled argument `/usr/lib/libneon.la'
> make: *** [subversion/libsvn_ra_dav/libsvn_ra_dav-1.la] Error 1
> tardy:/home/raj/svn_tot#
>
> tardy:/home/raj/svn_tot# neon-config --version
> neon 0.26.3
>
> raj@tardy:~/svn_tot$ ls -l /usr/lib/*neon*
> -rw-r--r-- 1 root root 527222 2007-03-03 01:45 /usr/lib/libneon.a
> lrwxrwxrwx 1 root root 17 2007-06-01 17:47 /usr/lib/libneon.so -
> > libneon.so.26.0.3
> lrwxrwxrwx 1 root root 17 2005-06-29 09:35 /usr/lib/libneon.so.
> 23 -> libneon.so.23.0.9
> -rw-r--r-- 1 root root 93324 2005-06-08 00:26 /usr/lib/libneon.so.
> 23.0.9
> lrwxrwxrwx 1 root root 17 2006-04-10 11:28 /usr/lib/libneon.so.
> 24 -> libneon.so.24.0.7
> -rw-r--r-- 1 root root 95192 2005-11-14 12:10 /usr/lib/libneon.so.
> 24.0.7
> lrwxrwxrwx 1 root root 17 2007-06-01 17:47 /usr/lib/libneon.so.
> 26 -> libneon.so.26.0.3
> -rw-r--r-- 1 root root 119812 2007-03-03 01:45 /usr/lib/libneon.so.
> 26.0.3
>
> I guess configure managed to find it:
>
> ...
> checking APR-UTIL version... 1.2.7
> configure: checking neon library
> checking for neon-config... /usr/bin/neon-config
> checking neon library version... 0.26.3
> ...

 From the message it seems Subversion wants there to be a /usr/lib/
libneon.la, but the neon package you installed did not include that.
I don't know why. You may need to ask whoever created that neon
package. Or maybe this is something specific to Debian, with which
I'm not familiar.

Here's what I got on Mac OS X with MacPorts:

$ cd /opt/local
$ ls -l {bin,lib}/*neon*
-rwxr-xr-x 2 root admin 1941 Mar 26 16:13 bin/neon-config
-rwxr-xr-x 2 root admin 318800 Mar 26 16:13 lib/libneon.26.0.3.dylib
lrwxr-xr-x 1 root admin 20 Mar 26 16:13 lib/libneon.26.dylib -
> libneon.26.0.3.dylib
-rw-r--r-- 2 root admin 444628 Mar 26 16:13 lib/libneon.a
lrwxr-xr-x 1 root admin 20 Mar 26 16:13 lib/libneon.dylib ->
libneon.26.0.3.dylib
-rwxr-xr-x 2 root admin 947 Mar 26 16:13 lib/libneon.la

There's that .la file.

> Anyway, in other developments, I can confirm that if I remove the
> post-commit hook on the server, I do not get the assertion failure
> reported by the client. At least not with a 1.3.0 client on HP-UX
> or 1.4.2 (r22196) on debian linux.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jun 2 04:35:28 2007

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