Re: courier-unicode fails to build on Mac OS 10.10.5

Christian Ebert <[email protected]> Thu, 24 Dec 2015 22:08:42 +0000
Newsgroups gmane.mail.maildrop
Organization Black Trash Productions http://www.blacktrash.org
Message-ID <[email protected]>
* Sam Varshavchik on Tuesday, December 22, 2015 at 06:55:03 -0500
> xlocale.h is probably the correct include file.
> 
> Recently I removed the internal code that uses
> unicode_local_chset_l(). You can patch this out of the header file,

Sorry, for being dense: patch out what and how?

> and the entire function from unicode.c, and this should work fine.

You've lost me completely here ;-)

I have no clue what I'm doing or what I should do; when I replace

#include        <locale.h>

with

#include        <xlocale.h>

I get:

make[1]: Entering directory '/Users/chris/src/courier-unicode-1.4'
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -I.. -I./.. -g -O2 -Wall -fexceptions -MT unicode.lo -MD -MP -MF .deps/unicode.Tpo -c -o unicode.lo unicode.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -g -O2 -Wall -fexceptions -MT unicode.lo -MD -MP -MF .deps/unicode.Tpo -c unicode.c  -fno-common -DPIC -o .libs/unicode.o
In file included from unicode.c:8:
./courier-unicode.h:44:43: error: unknown type name 'locale_t'
extern const char *unicode_locale_chset_l(locale_t l);
                                          ^
1 error generated.
Makefile:748: recipe for target 'unicode.lo' failed
make[1]: *** [unicode.lo] Error 1
make[1]: Leaving directory '/Users/chris/src/courier-unicode-1.4'
Makefile:556: recipe for target 'all' failed
make: *** [all] Error 2



-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
free movies       --->>> http://www.blacktrash.org/underdogma
http://itunes.apple.com/podcast/underdogma-movies/id363423596

------------------------------------------------------------------------------