Hi Adriaan, List!
On Wed, Apr 02, 2003 at 06:57:27PM +0200, Adriaan van Os wrote:
Trying to compile `gettextdemo.pas' on Mac OS X results in an error message: [G4:doc/gpc/demos] adriaan% gpc --automake -o gettextdemo gettextdemo.pas /Developer/Pascal/gpc321d10/lib/gcc-lib/powerpc-apple-darwin6.3/3.2.1/ units/intlc.c:23:21: libintl.h: No such file or directory There is no 'libintl.h' anywhere on my Mac. I looked in contribs/eike at www.gnu-pascal.de for additional files to install, but the README file states "The Unit for internationalisation (i18n) has moved to the official GPC 2.1 source tree."
Yes, this is the intl unit, which I want to improve with you help. See /unit-path/intl.pas and /unit-path/intlc.c where unit-path is you location of GPC's units.
So, can you give me some more information ?
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?
Thank you for your help
Eike