On Tue, 2010-12-21 at 14:01 +0000, Julian Foad wrote:
> On Tue, 2010-12-21 at 13:43 +0000, Julian Foad wrote:
> > > > 1.5.9 tarballs are up for testing and signing.  [...]
> > 
> > I had some trouble building this but have now got the main tests
> 
> ... working.
> 
> I have not been able to run any of the bindings tests.  Details at
> <http://pastebin.com/z9k8Qp62> or on IRC.

With more help from Philip, now all the bindings tests run and PASS as
well:

  javahl
  swig-py
  swig-pl
  swig-rb


My configuration/build/test script ended up looking like this (I'm
showing just the essentials here):

[[[
# Ubuntu's DB4.8 isn't detected without this...
export LDFLAGS="-ldb-4"

SRC_DIR="$PWD"
BASENAME="`basename "$SRC_DIR"`"
INSTALL_PREFIX="$HOME/local/$BASENAME"
TEST_CONFIGURE_OPTIONS="--prefix=$INSTALL_PREFIX
--with-apache-libexecdir=$INSTALL_PREFIX/lib/apache2/modules
--disable-mod-activation --with-ssl --with-berkeley-db=/usr
--enable-javahl --with-jdk=/usr/lib/jvm/java-6-sun
--with-junit=/usr/share/java/junit4.jar --with-ruby-sitedir=
$INSTALL_PREFIX/site_ruby"

CFLAGS=-DNDEBUG ./configure $TEST_CONFIGURE_OPTIONS

# Make and test the main code
make

make install || true  # ### Ignore failure to install Apache modules: it
tries the system dir and doesn't understand "--with-apache-libexecdir".


[... Not shown: at this point, 8-way combinations of "make check" ...]


# Make and test the bindings
make javahl
make swig-py
make swig-pl
make swig-rb

make install-javahl
make install-swig-py
#make install-swig-pl  # tries to install to system path - need
XXX_PREFIX?
make install-swig-rb

# During all four sets of bindings tests, the in-tree build of Neon
fails to link to libgssapi_krb5 without this...
export LD_PRELOAD=/usr/lib/libgssapi_krb5.so

make check-javahl 2>&1 | tee tests-javahl.log
make check-swig-py 2>&1 | tee tests-py.log
make check-swig-pl 2>&1 | tee tests-pl.log
make check-swig-rb SWIG_RB_TEST_VERBOSE=verbose 2>&1 | tee tests-rb.log

]]]

- Julian


> > 
> > Summary:
> > 
> >   +1 to release (Unix).
> > 
> >   My two signatures were successfully collected by your script.
> > 
> > Tested:
> > 
> >   [ bdb | fsfs ] x [ ra_local | ra_svn | ra_neon | ra_serf ]
> > 
> > Environment:
> > 
> >   OS/Platform:
> >     Ubuntu 10.04, 2.6.32-26-generic i686 GNU/Linux
> > 
> >   Using in-tree build of subversion-deps-1.5.9 packages:
> >     apr
> >     apr-util
> >     neon
> >     serf
> >     zlib
> > 
> >   Using Ubuntu distribution-supplied packages:
> >     libdb4.8-dev 4.8
> >     openssl 0.9.8k-7ubuntu8.5
> > 
> > Results:
> > 
> >   make check ... (8 ways): No failures.
> > 
[...]


Reply via email to