[Q] Porting to Mac OS X

Dave Peticolas dave@krondo.com
24 Nov 2001 00:01:31 -0800


--=-7gk1M0Q5PF7mE2H4Wxzo
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2001-11-23 at 16:49, Peter O'Gorman wrote:
> 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 =3D -rpath $(libdir) -module -export-dynamic
> needs the -rpath $(libdir) removed.
>=20
> LC_MESSAGES is not available on Mac OS ( really crap=20
> localization support in their libc), although configure checks=20
> for the definition, it is nevertheless used in paths.scm and=20
> new-user-callbacks.c without #ifdeffing the code.
>=20
> Mac doesn't have localtime_r of strptime (but I can add these to=20
> the build).
>=20
> My question is what to do about LC_MESSAGES. Is there a gettext=20
> function which could be used instead?

Is LC_ALL defined? If so, I would just use that if LC_MESSAGES
isn't defined.

dave


--=-7gk1M0Q5PF7mE2H4Wxzo
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA7/1Pa5effKKCmfpIRApGhAKCalUbXbAmAAzfDJSN2/qA0FdPXWwCfSLZ8
dh2KmwgPwCLrxYwGJZ5u+08=
=J+ir
-----END PGP SIGNATURE-----

--=-7gk1M0Q5PF7mE2H4Wxzo--