[Q] Porting to Mac OS X

Peter O'Gorman peter@pogma.com
Sat, 24 Nov 2001 09:49:30 +0900


Hi,
I am attempting to port gnucash-1.6.4 to Mac OS. Some problems:
g-wrap multiple rpaths causes compile failure. In ./g-
wrapped/Makefile.in
-libgw_runtime_la_LDFLAGS = -rpath $(libdir) -module -export-dynamic
needs the -rpath $(libdir) removed.

LC_MESSAGES is not available on Mac OS ( really crap 
localization support in their libc), although configure checks 
for the definition, it is nevertheless used in paths.scm and 
new-user-callbacks.c without #ifdeffing the code.

Mac doesn't have localtime_r of strptime (but I can add these to 
the build).

My question is what to do about LC_MESSAGES. Is there a gettext 
function which could be used instead?

Thanks,
Peter