GNOME Bugzilla – Bug 72034
bind_textdomain_codeset / glib_gettext.m4 problem.
Last modified: 2004-12-22 21:47:04 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.
Changing OS to all and adding self to CC. This issue is a problem on Solaris.
*** This bug has been marked as a duplicate of 70627 ***