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

[cause ID'd, some resolution] Re: perl-bindings test FAIL: BusError @ SVN 13x 'make check-swig-pl'

From: OpenMacNews <openmacnews_at_gmail.com>
Date: 2006-03-20 02:22:13 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

hi all,

it seems that although i'd built up my boxes identically, i did not
previously tear them down identically ...

the BusError occurs in the presence of an 'old' libapr.dylib in
/usr/local, which is NOT the far-more-recent apr i'm building svn
against. it is UNIQUELY present on the box i'm seeing the BusError on.

rm'ing it, then re-running:

        'make check-swig-pl'

the tests still fail, as before. something's linked in ... :-/

rm'ing it, then rebuilding neon, swig & svn 13x, & again re-running:

        'make check-swig-pl'

NOW, all tests pass 100% :

        All tests successful, 7 subtests skipped.
        Files=10, Tests=162, 26 wallclock secs (10.96 cusr + 5.10 csys = 16.06
CPU)

as to WHY the presence of this lib matters, i dunno !?

svn's ./configure provides for:

        --with-apr=PATH prefix for installed APR, path to APR build tree,
                                or the full path to apr-config

and i've config'd with:

        ./configure \
        ...
        --with-apr=/usr/local/apache2/bin/apr-1-config \
        --with-apr-util=/usr/local/apache2/bin/apu-1-config \
        --with-apxs=/usr/local/apache2/sbin/apxs \
        ...

ensuring:

        which apr-1-config
                /usr/local/DarkMatter/apache2/bin/apr-1-config

and:

        apr-1-config --shlib-path-var
                DYLD_LIBRARY_PATH

and, on my system, per frequent recommendation:

        echo $DYLD_LIBRARY_PATH
                su: DYLD_LIBRARY_PATH: Undefined variable

i note in:

        grep DYLD_LIBRARY_PATH ./subversion/bindings/swig/perl/native/Makefile

          FULLPERLRUN=DYLD_LIBRARY_PATH= \

/usr/ports/subversion13x/subversion/bindings/swig/perl/libsvn_swig_perl/.libs:
\
  /usr/ports/subversion13x/subversion/libsvn_client/.libs: \
  /usr/ports/subversion13x/subversion/libsvn_delta/.libs: \
  /usr/ports/subversion13x/subversion/libsvn_fs/.libs: \
  /usr/ports/subversion13x/subversion/libsvn_ra/.libs: \
  /usr/ports/subversion13x/subversion/libsvn_repos/.libs: \
  /usr/ports/subversion13x/subversion/libsvn_wc/.libs: \
  /usr/ports/subversion13x/subversion/libsvn_diff/.libs: \
  /usr/ports/subversion13x/subversion/libsvn_subr/.libs: \
  /usr/ports/subversion13x/subversion/libsvn_ra_local/.libs: \
  /usr/ports/subversion13x/subversion/libsvn_ra_svn/.libs: \
  /usr/ports/subversion13x/subversion/libsvn_ra_dav/.libs: \
  /usr/ports/subversion13x/subversion/libsvn_fs_base/.libs: \
  /usr/ports/subversion13x/subversion/libsvn_fs_fs/.libs \
  $(FULLPERL)

checking, i also note that for my perl build, i'd:

        setenv DYLD_LIBRARY_PATH /usr/ports/perl-5.8.8

i'm guessing here ... but it seems that "something" in the swig perl
bindings' build searches /usr/local/lib and finds (found) the old
libapr.dylib, b4 the svn-configure-specified apr.

richard

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iEYEAREDAAYFAkQeA8UACgkQlffdvTZxCMa2eACfaNk+pTWxqyMwRN/2ZLosfjcK
FIwAoLfOhZWz4exPTgQ82950yBW0vSmP
=A2g6
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 20 02:22:39 2006

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.