help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X


From: Jim Meyering
Subject: Re: Compiling coreutils-5.0 on a Mac Powerbook under OS X
Date: Mon, 8 Nov 2004 14:06:25 -0500

John Lowe <jrnl@bytetype.co.uk> wrote:
...
> $ make
> make  all-recursive
> Making all in lib
...
> gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/local/lib\" -I. -I. -I..  -I.. -I.
> -g -O2 -c strftime.c strftime.c:63: header file 'wchar.h' not found
> cpp-precomp: warning: errors during smart preprocessing, retrying in
> basic mode make[3]: *** [strftime.o] Error 1

If you really don't have any wchar.h on that system,
then run `man mbrlen' and see if it tells of some
other .h file that must be included to get a definition
of the mbstate_t type.

Then you can try replacing the #include "wchar.h" in
lib/strftime.c with your new include(s) and run make again.

If all else fails, change this line of strftime.c

#define DO_MULTIBYTE (HAVE_MBLEN && ! MULTIBYTE_IS_FORMAT_SAFE)

to this:

#define DO_MULTIBYTE 0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]