Install gtk 1.2 (gtk1 package name) with macports chokes in the final make line libintl.h 440.
extern locale_t libintl_newlocale (junk, stuff, stuff)
The compiler cannot find locale_t, and I will not be better.
The file imports locale.h, which does not exist, and xlocale.h, which does not define this type.
Where to define locale_t? It may be as simple as a missing dependency, but I don't know what is missing.
Upon request, here is xlocale.h, minus copyright, which is an Open Group.
#include <X11/Xfuncproto.h>
#include <X11/Xosdefs.h>
#ifndef X_LOCALE
#include <locale.h>
#else
#define LC_ALL 0
#define LC_COLLATE 1
#define LC_CTYPE 2
#define LC_MONETARY 3
#define LC_NUMERIC 4
#define LC_TIME 5
_XFUNCPROTOBEGIN
extern char *_Xsetlocale(
int ,
_Xconst char*
);
_XFUNCPROTOEND
#define setlocale _Xsetlocale
#include <stddef.h>
#endif
source
share