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

Re: Apache 2.2.4 and svn 1.4.3 and others

From: Nicolai Scheer <scope_at_planetavent.de>
Date: 2007-05-31 02:57:22 CEST

Hi!

Mark Phippard schrieb:
>> I recently set up a windows 2003 server with apache 2.2.4 (ssl version
>> from apachelounge) and subversion 1.4.3 (version for ap2.2.x).
>> Everything as far as subversion itself is concerned, is fine.
>> I added the APR_ICONV_PATH, so that I get correct german umlauts in the
>> console.
>> And I added the /bin folder to my PATH, such that Apache is able to find
>> the required dlls.
>>
>> Now something strange happens:
>> I use trac for my ticket management. As soon as I try to activate trac's
>> svn capabilities and access the site, trac crashes the whole web server.
>> And when I start eclipse (with its subversion plugin installed), eclipse
>> crashes as well.
>> If I remove the ICONV_PATH and the subversion /bin folder from the path,
>> eclipse works fine. If I copy the needed dlls into the the apache /bin
>> folder, trac's subversion integration works as well (again, without
>> subversion's /bin folder in the PATH).
>> It seems as if those programs crash as soon as they find a
>> APR_ICONV_PATH pointing to a subversion iconv folder with versions for
>> apache 2.2. The /bin folder seems to be somehow involved, too.
>> With apache 2.0.59 everything worked fine.
>>
>> I do not know where I should start my search, any suggestions are
>> greatly appreciated.
>
> I have also seen this problem. Apache 2.0.x includes APR_ICONV 0.9.x
> and Apache 2.2.x includes APR_ICONV 1.1.x. The two are not binary
> compatible so you get a crash if a client compiled against one loads
> the other. In theory, you can get around this by doing the following:
>
> Create envvar APR_ICONV_PATH and point it to the 0.9.x version.
> Create envvar APR_ICONV1_PATH and point it to the 1.1.x version.
>
> As long as the Subversion you are using loads the right apr_iconv.dll
> it should look at the right environment variable to find the
> translation DLL's.
>
> Please let me know if this works.

I changed the environment variable to APR_ICONV1_PATH, pointing to the
subversion 1.4.3 (apache 2.2.x version) iconv folder.
And, yes, eclipse does not crash anymore :)

Just to correct my statement above: eclipse crashes not at startup, but
when a svn specific command is used from subclipse, e.g. update.

I will check tomorrow if this fixes the crashes with trac, too.

Great! Thanks!

bye,

Nico

Received on Thu May 31 02:58:39 2007

This is an archived mail posted to the Subversion Users mailing list.

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