Problems with i18n under SunOS 4.1.3 - X11R5
- From: Raphael Quinet eed ericsson se
- To: gtk-list redhat com
- Subject: Problems with i18n under SunOS 4.1.3 - X11R5
- Date: Wed, 17 Dec 1997 16:23:37 +0100 (MET)
I would like to compile the latest GTK on a machine running SunOS
4.1.3 and X11R5. Well, it doesn't work... First, I had to make some
patches to glib/glib.h (or more exactly, glib/glib_pre2.h) because the
function atexit() doesn't exist under SunOS and I had to use on_exit()
instead. I think that autoconf provides a macro for that, and it
should be used in this case. But as a quick hack, I changed the
#define to:
#define ATEXIT(proc) (on_exit (proc, NULL))
After that, I ran into some problems with the i18n stuff. The
functions mblen(), mbstowcs(), mbtowc(), wcstombs() and wctomb() do
exist in libc, but for some reason GTK is built with -DX_LOCALE, which
is annoying because X11R5 does not have the correct functions.
I tried to configure GTK with the options "--disable-xim" and
"--without-locale", but this has no effect. It looks like something
is broken in the "configure" script, but I do not know enough about
autoconf (yet) to fix it myself. I see that similar problems occur
with other operating systems and other versions of X11, so hopefully
someone will fix that soon. ;-)
By the way, I managed to compile GTK under Solaris 2.5.1 + X11R6, but
I had to take care of some conflicts between <wchar.h> and <wctype.h>.
-Raphael
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]