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

Re: Some questions about the build process...

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-12-14 19:23:42 CET

George Wieggers wrote:
> Hi,
>
> While trying to develop a VC++ 2005 Express build environment, I noticed
> the following in build.bat
>
> rem first, compile without any network/repository support
> svn_private_config.h is moved around
> first complete rebuild of subversion, devenv is used
> svn_private_config.h is moved again
> second complete rebuild of subversion
>
> Why does it have to be built twice? Oviously there's a good reason, but
> I fail to see it (for now) :-)

The shell extension is linked against Subversion libs which are compiled
without any network support (svn/DAV/file). The reason is that some
programs install the OpenSSL dll not in their programs folder but in the
Windows or System32 folder(!). If that OpenSSL dll doesn't have the same
version as the one TSVN/Subversion is linked against, those programs
then fail or even crash (ZoneAlarm is just one example).
Because if the shell dll loads OpenSSL, other programs which violate
that rule will not load their own OpenSSL dll but the one already loaded
by the shell dll.

Since there are many programmers out there who can't read the docs of
OpenSSL (which *clearly* state that you must not install the dll in a
system folder or any path that's in the PATH env variable but *only* in
the same folder as the exe which needs it) we have to compile Subversion
twice.

Also, those libs are used in TortoiseMerge, SubWCRev - those programs
don't need network support either (just a side effect of this).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Dec 14 19:32:15 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.