Stefan Sperling wrote:
> On Wed, Aug 20, 2008 at 02:19:25PM -0500, Steve Whitson wrote:
>
>> Stefan Sperling wrote:
>>
>> On Wed, Aug 20, 2008 at 11:22:10AM -0500, Steve Whitson wrote:
>>
>>
>> [Wed Aug 20 11:01:25 2008] [error] [client 10.10.10.175] Can't convert
>> string from native encoding to 'UTF-8': [500, #22]
>>
>>
>> Just a guess, because I had similar problems with character
>> set conversions in my custom Subversion builds once, which
>> made unit tests fail even though they were passing for everyone
>> else:
>>
>> Make sure Subversion is linked with libiconv.
>>
>> Stefan
>>
>>
>>
>> How would I go about doing or ensuring this? I see that the apr-util
>> has a -liconv in the SVN_APRUTIL_EXPORT_LIBS noted in the config.log
>> file.
>> I didn't find libiconv on my system, so I just built and installed it
>> (to /usr/local). I cleaned up my subversion build, rebuilt and didn't
>> get any different results.
>>
>
> You can check with ldd. On one of my systems, I get:
> $ ldd /usr/local/bin/svn | grep iconv
> 0593a000 25a19000 rlib 0 17 0 /usr/local/lib/libiconv.so.5.0
>
> If Subversion can't find an iconv() implementation on your system,
> you could also try installing apr-iconv from apr.apache.org and
> then recompiling subversion. You can pass the --with-apr-iconv
> option to Subversion's configure script to point it to your
> apr-iconv installation. See also the INSTALL file which comes with
> Subversion's source code distribution. It also talks about apr-iconv.
>
> Stefan
>
Its definitely finding the iconv I just installed:
ldd svn | grep iconv
libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x00c34000)
Still the same errors.
Thanks much!
-Steve
Received on 2008-08-20 22:43:10 CEST