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

Re: Remove APR_ICONV dependency on Windows

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-05-16 23:28:40 CEST

Mark Phippard wrote:
> I have been running into some weird ICONV problems with Subclipse on
> Windows. The problem is that we have never been able to deliver the
> ICONV *.so files with Subclipse. So either the user has installed the
> command line and set APR_ICONV_PATH and they get the functionality, or
> they have not and they do not.
>
> Anyway, I am currently building trunk with APR 1.2 and ICONV 1.1. If
> Subclipse is run on a system with environment variable set and pointed
> at 0.9.7 files, then the JVM crashes.

That would even happen if you could deliver the *.so files with
Subclipse. I reported this years ago here and on the apr mailing list, I
even sent a patch to address the issue (guess what happened). I had to
patch the apr-iconv file to change the way it locates the *.so files for
TSVN to avoid the issues.
Because: depending on the compiler version (the version of the c-runtime
to be exact) you build apr-iconv, you get crashes even if you have the
correct version of apr-iconv. For example, if your app is built with
VS2005 (which uses c-runtime v8) but some other app installed apr-iconv
(the same version you're using) built with VC6 (which uses the c-runtime
v6), you get crashes too.

The good thing is, with the patch for the utf.c file in Subversion, I
don't need apr-iconv at all anymore.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 16 23:29:13 2007

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.