On Saturday 30 May 2009, William A. Rowe, Jr. wrote: > Stefan Fritsch wrote: > > On Friday 29 May 2009, William A. Rowe, Jr. wrote: > >> [ ] Release apr-util 1.3.5 as GA > > > > apr-util's "make check" fails in testdbm because test/Makefile.in > > misses ../dbm/.libs when setting LD_LIBRARY_PATH. > > Patches hugely appreciated.
Attached. I guess it only happens if you do "make check" before "make install", or if you did "make install DESTDIR=..." like package build scripts do.
Index: test/Makefile.in =================================================================== --- test/Makefile.in (Revision 780289) +++ test/Makefile.in (Arbeitskopie) @@ -62,7 +62,7 @@ for prog in $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE); do \ if test "$$prog" = 'dbd'; then \ for driver in @apu_dbd_tests@; do \ - @apr_shlibpath_...@="`echo "../dbd/.libs:../ldap/.libs:$...@apr_shlibpath_var@" | sed -e 's/::*$$//'`" \ + @apr_shlibpath_...@="`echo "../dbm/.libs:../dbd/.libs:../ldap/.libs:$...@apr_shlibpath_var@" | sed -e 's/::*$$//'`" \ ./$$prog $$driver; \ status=$$?; \ if test $$status != 0; then \ @@ -71,7 +71,7 @@ fi; \ done; \ else \ - @apr_shlibpath_...@="`echo "../dbd/.libs:../ldap/.libs:$...@apr_shlibpath_var@" | sed -e 's/::*$$//'`" \ + @apr_shlibpath_...@="`echo "../dbm/.libs:../dbd/.libs:../ldap/.libs:$...@apr_shlibpath_var@" | sed -e 's/::*$$//'`" \ ./$$prog; \ status=$$?; \ if test $$status != 0; then \