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

Re: Installation/Compile Issue on AIX 4.3.2

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-03-21 16:47:01 CET

"Derek J. Balling" <dredd@megacity.org> writes:

> On Thursday, March 20, 2003, at 05:52 PM, Philip Martin wrote:
> > My first guess: it's a problem with the UTF-8 conversion. Does AIX
> > have support for UTF-8?
>
> Not a clue.
>
> > Are you using apr-iconv?
>
> Dunno. :)
>
> > If you look at
> > apu.h in apr-util/include what are the values of APU_HAVE_APR_ICONV
> > and APU_HAVE_ICONV?
>
> APU_HAVE_APR_ICONV 0
> APU_HAVE_ICONV 1

You are not using apr-iconv. You are using the system iconv so it is
assumed that UTF-8 support is available--perhaps it doesn't work.

> > Do you have LANG, LC_ALL or LC_CTYPE environment variables set? You
> > might like to try setting LANG="C".
>
> during make? e.g.
>
> $ LANG=C make

No, when running the Subversion binaries.

Something else you could try is to hack Subversion to disable UTF-8
conversion, something like the patch below. Doing this would help to
determine if the problem is the system's iconv stuff. A client hacked
in this way will not be able to handle non-ASCII characters.

Index: subversion/libsvn_subr/utf.c
===================================================================
--- subversion/libsvn_subr/utf.c (revision 5409)
+++ subversion/libsvn_subr/utf.c (working copy)
@@ -46,6 +46,7 @@
 {
   void *old_handle = NULL;
   apr_status_t apr_err;
+ *ret = NULL; return SVN_NO_ERROR;
 
   /* If we already have a handle, just return it. */
   apr_pool_userdata_get (&old_handle, SVN_UTF_NTOU_XLATE_HANDLE, pool);
@@ -84,6 +85,7 @@
 {
   void *old_handle = NULL;
   apr_status_t apr_err;
+ *ret = NULL; return SVN_NO_ERROR;
 
   /* If we already have a handle, just return it. */
   apr_pool_userdata_get (&old_handle, SVN_UTF_UTON_XLATE_HANDLE, pool);

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 21 16:47:41 2003

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.