You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jon Foster <jo...@jon-foster.co.uk> on 2004/05/02 01:22:27 UTC
Compiler versions & Berkely DB on Windows
Hi,
[[[
Warn in INSTALL not to use Berkely DB compiled with a different
compiler. Correct the download URL for precompiled Berkely DB
and add the URL for TortoiseSVN's precompiled Berkely DB (which
is built with a different compiler).
]]]
When compiling Subversion on Windows, it's important not to mix
different versions of compilers. I was trying to use the prebuilt
Berkely DB provided by TortoiseSVN. However this was built with
Visual Studio .NET 2003 & so I can't use it in Visual Studio .NET
2002. (It's linked against the VS.NET 2003 C runtime DLL, which
isn't even installed on my system).
The Berkely DB from the Subversion website looks like it was built
with Visual Studio 6.0 - I haven't tried to use it, but I don't expect
it to work. It would be useful if someone with access to the web
site could change the description of the file to mention that it's
built with VC 6.
Patch is against the trunk, but something similar is probably needed
for 1.0.x.
Kind regards,
Jon
Re: Compiler versions & Berkely DB on Windows
Posted by Branko Čibej <br...@xbc.nu>.
Arild Fines wrote:
>Branko Cibej wrote:
>
>
>>as far as I know, your assertion is not correct, and it should be
>>possible to use the BDB compiled with VC6 with a Subversion compiled
>>woth VS.NET.
>>
>>
>
>I haven't had any problems with this configuration since you fixed the problem with malloc'ed memory being returned out from the DLL and free'd on the outside(using another version of the runtime).
>
>
Yes, AFAIK the malloc thing was the only problem originally. So now it
should even work the other way around, except that the VC6 runtime is a
better common denominator. I do wish TortoiseSVN would stop shipping its
own version of BDB... then we might actually start sharing bits of the
command line and the TortoiseSVN binaries.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: Compiler versions & Berkely DB on Windows
Posted by Arild Fines <ar...@broadpark.no>.
Branko Cibej wrote:
> as far as I know, your assertion is not correct, and it should be
> possible to use the BDB compiled with VC6 with a Subversion compiled
> woth VS.NET.
I haven't had any problems with this configuration since you fixed the problem with malloc'ed memory being returned out from the DLL and free'd on the outside(using another version of the runtime).
--
Arild
AnkhSVN: http://ankhsvn.tigris.org
Blog: http://ankhsvn.com/blog
IRC: irc://irc.freenode.net/ankhsvn
"We've got to find out what people want from fire, how they relate to it,
what sort of image it has for them.' The crowd were tense. They were
expecting something wonderful from Ford.`Stick it up your nose,' he
said.`Which is precisely the sort of thing we need to know,' insisted the
girl, `Do people want fire that can be fitted nasally?'"
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Compiler versions & Berkely DB on Windows
Posted by Branko Čibej <br...@xbc.nu>.
Jon Foster wrote:
> Hi,
>
> [[[
> Warn in INSTALL not to use Berkely DB compiled with a different
> compiler. Correct the download URL for precompiled Berkely DB
> and add the URL for TortoiseSVN's precompiled Berkely DB (which
> is built with a different compiler).
> ]]]
>
> When compiling Subversion on Windows, it's important not to mix
> different versions of compilers.
Why? Other than the "missing runtime" problem?
> I was trying to use the prebuilt
> Berkely DB provided by TortoiseSVN. However this was built with
> Visual Studio .NET 2003 & so I can't use it in Visual Studio .NET
> 2002. (It's linked against the VS.NET 2003 C runtime DLL, which
> isn't even installed on my system).
Yes, this is a problem with anything built with VS.NET -- the runtime
isn't installed on most existing systems, and IIRC is not freely
distributable (unless it's with you application, or something).
> The Berkely DB from the Subversion website looks like it was built
> with Visual Studio 6.0 - I haven't tried to use it, but I don't expect
> it to work.
Then I suggest you try it first, without making too many assumptions.
> It would be useful if someone with access to the web
> site could change the description of the file to mention that it's
> built with VC 6.
>
> Patch is against the trunk, but something similar is probably needed
> for 1.0.x.
As far as I know, your assertion is not correct, and it should be
possible to use the BDB compiled with VC6 with a Subversion compiled
woth VS.NET.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org