Am Donnerstag, 03.04.03 um 00:58 Uhr schrieb Adriaan van Os:
Eike Lange wrote:
The top of libintl.h shows, that this file is part of GNU C Library:
/* Message catalogs for internationalization. Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. This file is derived from the file libgettext.h in the GNU gettext package. ... */
Do you have 'gettext' and 'glibc' installed? I don't know what Macs come with... Are there *.mo files installed on your system?
There are no *.mo files standard on the system. The *.mo files that I find, seem to belong to software that I added later, like gcc.mo and gnu sed.mo. Also, there is 'gettext' stuff, but only as part of the gpc and gcc sources in the gcc/intl directories.
Here are the relevant parts of gcc/autohost.h from the configure/build of gcc/gpc
/* Define if you have the dcgettext function. */ /* #undef HAVE_DCGETTEXT */
/* Define if you have the <libintl.h> header file. */ /* #undef HAVE_LIBINTL_H */
/* Define if the GNU gettext() function is already present or preinstalled. */ /* #undef HAVE_GETTEXT */
/* Define to use the libintl included with this package instead of any version in the system libraries. */ #define USE_INCLUDED_LIBINTL 1
Here is a relevant part of gcc/intl/libgnuintl.h:
#ifndef _LIBINTL_H #define _LIBINTL_H 1
#include <locale.h>
/* The LC_MESSAGES locale category is the category used by the functions gettext() and dgettext(). It is specified in POSIX, but not in ANSI C. On systems that don't define it, use an arbitrary value instead. On Solaris, <locale.h> defines __LOCALE_H then includes <libintl.h> (i.e. this file!) and then only defines LC_MESSAGES. To avoid a redefinition warning, don't define LC_MESSAGES in this case. */ #if !defined LC_MESSAGES && !defined __LOCALE_H # define LC_MESSAGES 1729 #endif
Regards,
Adriaan van Os
I have on Mac OS X (10.2):
/sw/include/libintl.h
obviously installed through one of the packages in fink - maybe gettext.
All the best
Dr. Karl-Michael Schindler Fachbereich Physik Martin-Luther-Univerisität Halle-Wittenberg D-06099 Halle/Saale
Tel.: ++49 (0) 345-55 25563