You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Collins-Sussman <su...@red-bean.com> on 2007/06/12 14:31:45 UTC

clunky build bug

I checked out svn trunk onto a virgin ubuntu box today, and started
building.  Our configure script couldn't find a sqlite library, but it
didn't throw an error.  Consequently, I ended up hitting a bunch of
compiler errors later on.  This is not cool.

We need to do one of these things:

(1) Decide sqlite is absolutely mandatory, and make configure throw
error if not found.

(2) Change our build system to avoid all libsvn_fs targets if sqlite
isn't found.  (And warn the user.)

I'm in favor of #2, simply because we have a precedent.  In pre-FSFS
days, our configure script would warn when BDB wasn't found, and
simply say "I'm not going to build anything related to libsvn_fs".
We've always had a policy that the smallest legitimate build target is
a network-only svn client.

Thoughts?

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

Re: clunky build bug

Posted by David Glasser <gl...@mit.edu>.
On 6/12/07, Ben Collins-Sussman <su...@red-bean.com> wrote:
> (2) Change our build system to avoid all libsvn_fs targets if sqlite
> isn't found.  (And warn the user.)
>
> I'm in favor of #2, simply because we have a precedent.  In pre-FSFS
> days, our configure script would warn when BDB wasn't found, and
> simply say "I'm not going to build anything related to libsvn_fs".
> We've always had a policy that the smallest legitimate build target is
> a network-only svn client.

Wacky, I could have sworn that *was* the behavior.  I've definitely
seen it say "hey, you can't use ra_local because you don't have
sqlite" on trunk builds.  (On the other hand, I'm finding this hard to
test, because --without-sqlite and --with-sqlite=/some/bad/path don't
seem to do anything.)

--dave

-- 
David Glasser | glasser@mit.edu | http://www.davidglasser.net/

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