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

Re: Attn: Windows Devs -- Need to add missing sqlite build options for Windows (issue #3364)

From: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Wed, 18 Feb 2009 19:26:04 +0300

On Wed, Feb 18, 2009 at 7:02 PM, Bert Huijben <bert_at_qqmail.nl> wrote:
> [Resending this mail as it didn't seem to reach the list or its other
> recipients]
>> -----Original Message-----
>> From: chemodax_at_gmail.com [mailto:chemodax_at_gmail.com] On Behalf Of Ivan
> Zhakov
>> Sent: woensdag 18 februari 2009 14:43
>> To: Paul Burba
>> Cc: dev_at_subversion.tigris.org
>> Subject: Re: Attn: Windows Devs -- Need to add missing sqlite build
> options
>> for Windows (issue #3364)
>> On Thu, Jan 29, 2009 at 7:19 AM, Paul Burba <ptburba_at_gmail.com> wrote:
>> > Right now when building trunk on Windows you have one option when it
>> > comes to sqlite: Use the --with-sqlite option to gen-make.py to point
>> > to a directory with this structure and contents:
>> >
>> > inc/
>> > inc/sqlite3.h
>> > lib/
>> > lib/sqlite3.lib
>> >
>> > So basically, if you haven't built sqlite on your own already then
>> > Subversion won't build. It seems to me we should support sqlite build
>> > options analogous to those on *nix, e.g. just drop the amalgamation
>> > files in .\sqlite-amalgamation and it gets built.
>> >
>> Hi Paul,
>> Thanks for noting that. I've looked to current sqlite build stuff on
>> Windows. It still does not support sqlite-amalgamation.
>> So I propose to implement only amalgamation option for sqlite, without
>> supporting to use "installed" version of library. Since there is no
>> term of installed libraries on Windows. I do not see benefits of using
>> sqlite compiled out of source tree on Windows. It can be only source
>> of problems if different compiler or compiler options will be used.
>> I volunteer to implement support for sqlite amalgamation on Windows,
>> if no one object to drop other sqlite build option on Windows.
> Is it a problem to just keep the current build option?
> (+1 on making the amalgamation default on Windows)
It's just additional code in already messy and overloaded build
system. I'm going to try support both methods if does not require a
lot of code in build system.

> The amalgamation build makes it impossible to re-use Sqlite from
> applications that use both Subversion and Sqlite (Requiring them to link to
> two separate copies).
Good point.

> The current method works for at least my automated build and TortoiseSVN's,
> so why break it?

Ivan Zhakov
VisualSVN Team
Received on 2009-02-18 17:26:20 CET

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.