[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] CVS compile error: LC_CTYPE undeclared
From:       mangosoft () comhem ! se (Mikael Magnusson)
Date:       2006-08-19 13:49:40
Message-ID: Pine.LNX.4.64.0608191549180.15816 () localhost
[Download RAW message or body]

On Sat, 19 Aug 2006, Kacper Wysocki wrote:

> On 8/19/06, Mikael Magnusson <mangosoft at comhem.se> wrote:
>>  On Sat, 19 Aug 2006, Kacper Wysocki wrote:
>> 
>> >  Hi all,
>> >  render/font.c has
>> > 
>> > #  if USE_PANGO && !ENABLE_NLS
>> > #  include <locale.h>
>> > #  endif
>
>> >  Including locale.h unconditionally in font.c fixes the problem.
>>
>>  Could you try with cvs now? I added defined() around the names like it
>>  should be. Maybe your system just defines them without assigning a value.
>
> No, same problem. Some checking shows that ENABLE_NLS is defined yet
> doesn't provide LC_CTYPE and friends.
>
> This is a vanilla debian sid system, nothing esoteric, but libs might
> be rather new.

Okay, i'll just remove the check for ENABLE_NLS, it doesn't hurt to 
include the file twice.

--
Mikael Magnusson


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic