Re: _Xsetlocale reference?



Your Xlib was not compiled with -DX_LOCALE.  It is not a problem on a
glibc2 system (at least for non-CJK).

But your GTK+ library was compiled with -DX_LOCALE.  GTK+'s configure
script automatically adds -DX_LOCALE to $(CFLAGS) when the setlocale()
fails.

--------------------------------------------------
AC_TRY_RUN([
#include <stdio.h>
#include <locale.h>

int
main ()
{
  return setlocale (LC_ALL, "${with_locale}") == NULL;
}],
need_x_locale=no,
need_x_locale=yes)
--------------------------------------------------

Check if your locale (data, environment variable) is correct.

-- 
Changwoo Ryu



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