After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 17834 - locale not supported by Xlib
locale not supported by Xlib
Status: RESOLVED DUPLICATE of bug 1087
Product: gtk+
Classification: Platform
Component: .General
1.2.x
Other other
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2000-07-24 14:07 UTC by Jack Zvonik
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jack Zvonik 2001-01-27 19:48:34 UTC
Package: gtk+
Version: 1.2.7


 Hi,

 I was trying to get abiword to compile under hpux11 on a c3600
box and kept getting the following (or similar) message so I 
downloaded and compiled gtk+1.2.7 and installed it. I tried
running the testgtk program but saw the same results. Abiword
now makes the exact same result. I don't have a clue as
to what I've got here. I've put the configure output inline
with this email as well. I see some stuff in the gmake output: 

  It looks like X11R4 might have been used for a -L and 

libtool: link: warning: this platform does not like uninstalled shared libraries
libtool: link: `simple' will be relinked during installation

and the glib package may have been compiled with hpux10.2

 Thanks,

Jack

zvonik@ccrl.mot.com

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 

[kronos:~/temp_abi/gtk+-1.2.7/gtk] testgtk

Gdk-WARNING **: locale not supported by Xlib, locale set to C

Gdk-WARNING **: can not set locale modifiers
Segmentation fault

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

[kronos:~/temp_abi/gtk+-1.2.7] ./configure
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... hppa2.0w-hp-hpux11.00
checking build system type... hppa2.0w-hp-hpux11.00
checking for ranlib... (cached) /bin/true
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -O -D_HPUX_SOURCE -O) works... yes
checking whether the C compiler (gcc -O -D_HPUX_SOURCE -O) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) no
checking for ld used by GCC... (cached)
/usr/local/gcc-2.8.1/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/ld
checking if the linker (/usr/local/gcc-2.8.1/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/ld)
is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /bin/nm -p
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/local/gcc-2.8.1/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/ld)
is GNU ld... no
checking whether the linker
(/usr/local/gcc-2.8.1/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/ld) supports shared
libraries... yes
checking command to parse /bin/nm -p output... ok
checking how to hardcode library paths into programs... relink
checking for /usr/local/gcc-2.8.1/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/ld option to
reload object files... -r
checking dynamic linker characteristics... hpux11.00 dld.sl
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... hppa2.0w-hp-hpux11.00
checking whether build environment is sane... yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -O -D_HPUX_SOURCE -O) works... yes
checking whether the C compiler (gcc -O -D_HPUX_SOURCE -O) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) no
checking for POSIXized ISC... no
checking for gcc option to accept ANSI C... (cached) none needed
checking for a BSD compatible install... ./install-sh -c
checking whether make sets ${MAKE}... (cached) yes
checking for mawk... (cached) gawk
checking for perl5... (cached) perl
checking for indent... no
checking whether make is GNU Make... no
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for argz.h... (cached) no
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) no
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for __argz_count... (cached) no
checking for __argz_stringify... (cached) no
checking for __argz_next... (cached) no
checking for LC_MESSAGES... (cached) yes
checking whether NLS is requested... no
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed
checking for glib-config... (cached) /home/zvonik/bin/glib-config
checking for GLIB - version >= 1.2.7... yes
checking for X... (cached) libraries /usr/lib/X11R4, headers /usr/include/X11R6
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) no
checking for XOpenDisplay in -lX11... (cached) yes
checking for XShmAttach in -lXext... (cached) yes
checking for XShapeCombineMask in -lXext... (cached) yes
checking for XConvertCase in -lX11... (cached) no
checking for XUnregisterIMInstantiateCallback in -lX11... (cached) no
checking for sys/ipc.h... (cached) yes
checking for sys/shm.h... (cached) yes
checking X11/extensions/XShm.h... no
checking need -DX_LOCALE... no
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking return type of signal handlers... (cached) void
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for fd_set... yes, found in sys/types.h
checking for wchar.h... yes
checking for wctype.h... no
checking for iswalnum... (cached) yes
checking if iswalnum() and friends are properly defined... yes
creating ./config.status
creating gtk+.spec
creating docs/gtk-config.1
creating Makefile
creating gtk-config
creating po/Makefile.in
creating docs/Makefile
creating gdk/Makefile
creating gtk/Makefile
creating gtk/gtkfeatures.h
creating config.h
config.h is unchanged




------- Additional Comments From otaylor@redhat.com 2000-11-29 21:38:30 ----

Subject: locale not supported by Xlib
From: Owen Taylor <otaylor@redhat.com>
To: 17834@bugs.gnome.org
Message-Id: <ybesnoab2vt.fsf@fresnel.labs.redhat.com>
Date: 29 Nov 2000 21:38:30 -0500


The segfault is most likely unrelated to the warning messages, which
either indicate:

 a) Your locale is not supported by Xlib
or
 b) Your X setup is not properly configured.

Setting your locale to C should distinguish between them.

For the segfault, you'd probably need to get a backtrace of the
segfault in a debugger to have any hope of figuring out what is going
on.

I don't think it is possible to compile GTK+ with X11R4 at all, so I
don't think that happend.


I'd try to compile fresh copies of GTK+ and GLib with X11R6 if at all
possible and see if that works better. (X11R6 came out in, I think,
1994. HP must be shipping it now, right? right? ....)

Regards,
                                        Owen




------- Bug moved to this database by debbugs-export@bugzilla.gnome.org 2001-01-27 14:48 -------
This bug was previously known as bug 17834 at http://bugs.gnome.org/
http://bugs.gnome.org/show_bug.cgi?id=17834
Originally filed under the gtk+ product and general component.

The original reporter (zvonik@ccrl.mot.com) of this bug does not have an account here.
Reassigning to the exporter, debbugs-export@bugzilla.gnome.org.
Reassigning to the default owner of the component, gtk-bugs@gtk.org.

Comment 1 Havoc Pennington 2001-01-28 04:51:37 UTC

*** This bug has been marked as a duplicate of 1087 ***