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 72034 - bind_textdomain_codeset / glib_gettext.m4 problem.
bind_textdomain_codeset / glib_gettext.m4 problem.
Status: RESOLVED DUPLICATE of bug 70627
Product: glib
Classification: Platform
Component: general
1.3.x
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2002-02-20 17:40 UTC by Jon Kåre Hellan
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jon Kåre Hellan 2002-02-20 17:40:14 UTC
I  have a problem with bind_textdomain_codeset and glib_gettext.m4:

Gnome2 gnumeric wants bind_textdomain_codeset from gettext. libc on my
system, (RH 6.2) has bindtextdomain, but not bind_textdomain_codeset. I've 
upgraded gettext to 0.10.40, and tweaked it to build libintl, which exports
bind_textdomain_codeset. When I manually add -lintl to the link line,
gnumeric links.

However, the configure script doesn't include '-lintl'.

Gnumeric uses glib_gettext.m4 to configure gettext related stuff. I believe
the macro should look for bind_textdomain_codeset, and look for it in extra
libraries if it can't find it in libc. (Are there other possibilites beside
libintl?) This is why I am assigning the bug report to glib.

gtk+ and some other packages have the config variable
HAVE_BIND_TEXTDOMAIN_CODESET. But gnumeric and, I believe, many other 
Gnome 2 components need bind_textdomain_codeset to work properly. 

This is a problem for all platforms which don't use a very recent gnu libc,
e.g. BSD, Solaris, and old Linuxes.
Comment 1 Morten Welinder 2002-02-20 17:55:28 UTC
Changing OS to all and adding self to CC.  This issue is a problem on
Solaris.
Comment 2 Owen Taylor 2002-02-20 17:59:56 UTC

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