[openbox] CVS compile error: LC_CTYPE undeclared

Mikael Magnusson mangosoft at comhem.se
Sat Aug 19 09:49:40 EDT 2006


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



More information about the openbox mailing list