You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "C. Michael Pilato" <cm...@collab.net> on 2005/03/19 15:52:51 UTC

[PATCH] Fix locking branch BDB-less build?

I'm not sure, but I *think* this patch might be necessary to get a
successful build of the locking branch when BDB isn't on the system.
Basically, .../tests/libsvn_fs/locks-test runs against both BDB and
FSFS, but there's no such thing as optional linking, so I think it
needs to be counted as 'bdb-test' in build.conf.  But I'd rather let
someone else without BDB verify this than to torture my own setup.

<<<
* build.conf
  (locks-test): Group this with bdb-tests instead of just tests, since
    it requires BDB for building.
>>>

Index: build.conf
===================================================================
--- build.conf	(revision 13494)
+++ build.conf	(working copy)
@@ -543,7 +543,7 @@
 type = exe
 path = subversion/tests/libsvn_fs
 sources = locks-test.c
-install = test
+install = bdb-test
 libs = libsvn_test libsvn_test_fs libsvn_fs_base libsvn_fs libsvn_delta
        libsvn_subr aprutil apriconv apr
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] Fix locking branch BDB-less build?

Posted by Greg Hudson <gh...@MIT.EDU>.
On Sat, 2005-03-19 at 10:52, C. Michael Pilato wrote:
> <<<
> * build.conf
>   (locks-test): Group this with bdb-tests instead of just tests, since
>     it requires BDB for building.
> >>>

> -install = test
> +install = bdb-test
>  libs = libsvn_test libsvn_test_fs libsvn_fs_base libsvn_fs libsvn_delta
>         libsvn_subr aprutil apriconv apr

I think the answer is to remove libsvn_fs_base from libs and detect at
runtime if "base" isn't supported.

(We have to be able to deal with this in the build system, or we
wouldn't be able to do builds of the client without DAV or BDB.)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org