mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] SDL build error


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] SDL build error
Date: Fri, 7 Jun 2013 20:40:20 +1000

On 07/06/2013, at 7:56 PM, Nikos Chantziaras <address@hidden> wrote:

> On 07/06/13 12:18, Tony Theodore wrote:
>> 
>> On 07/06/2013, at 3:49 AM, Nikos Chantziaras <address@hidden> wrote:
>> 
>>> Anyway, shot in the dark: do a clean git clone of MXE into a directory that 
>>> doesn't contain non-ASCII characters.  Like "/home/barzoque/mxe". Maybe 
>>> that's the issue.
>> 
>> That's certainly the issue, I created a directory with "Документы" in it and 
>> get the same error. I've narrowed it down to "pkg-config" returning 
>> gibberish, but don't know how to fix it.
>> 
>> Any ideas?
> 
> pkg-config just doesn't seem to deal with multi-byte characters at all.  In 
> parce.c it assumes one byte equals one character.  The problem is general; 
> has nothing to do with MXE.  You can try installing some native Linux package 
> in ~/home/Документы and export PKG_CONFIG_PATH accordingly, and you'll get 
> gibberish.
> 
> So, long story short: there's no way to fix the problem from the MXE side.
> 
> One way for the distro where MXE run in to fix this, is to switch to pkgconf 
> instead.  I've tested it, and UTF-8 pathnames, including "Документы" work 
> just fine.  As a bonus, pkgconf has no dependencies; it's pure C.  Gentoo 
> considered switching, but it's not 100% compatible yet (though pretty close):
> 
> http://comments.gmane.org/gmane.linux.gentoo.devel/82470

Thanks for the follow-up, I've heard lots of good things about pkgconf, but had 
to switch back to pkg-config on FreeBSD (for MXE) as it doesn't support 
"Requires.Private" (from memory).

Cheers,

Tony




reply via email to

[Prev in Thread] Current Thread [Next in Thread]