gettext (was: files > 2G under Solaris)

Pavel Roskin proski at gnu.org
Wed Jun 27 18:58:03 UTC 2001


Hi, Maksym!

[Moving discussion to the list with your permission.]

> > Sorry, I meant libintl. I don't know how it's "visible", but for some
> > reason configure decided not to use it.
> >
> probably because of -lintl goues before -L/usr/local/lib
> I tried to replace in Makefiles, but it's probably not enough.

I don't know much about Solaris linker, but it doesn't seem to be a
problem, unless you have a system library that shadows the GNU library. If
that's true, try

./configure CC="gcc -L/usr/local/lib"

. From what I see in your config.log, ENABLE_NLS is defined. This means that
the i18n support is enabled. Maybe the message catalogs weren't installed?
Or maybe they have the *.gmo extension while the library tries to load
*.mo or vice versa?

I'm sorry for all the problems you have with the gettext support. Many (if
not all) of them wouldn't exist if AM_GNU_GETTEXT were used. I did some
reserch on the history of AM_GNOME_GETTEXT, and found this message:

http://mail.gnome.org/archives/gnome-hackers-readonly/2001-May/msg00199.html

which says that AM_GNOME_GETTEXT is needed for libraries (implying _only_
for libraries). MC is not a library. Moreover, this message

http://mail.gnome.org/archives/gnome-hackers-readonly/2001-May/msg00227.html

implies that AM_GNU_GETTEXT should be used in the packages for GNOME-2.

Unless anybody objects, AM_GNOME_GETTEXT will be replaced with
AM_GNU_GETTEXT in the MC sources.

-- 
Regards,
Pavel Roskin





More information about the mc-devel mailing list