[SCIM] Patch for Mac OS X
James Lan
flyingboy at gmail.com
Sun Sep 12 19:44:39 PDT 2004
Great!
And can it work with cocoa/carbon application?
On Sun, 5 Sep 2004 23:26:15 +0900, Etsushi Kato <ekato at ees.hokudai.ac.jp> wrote:
> First of all, congratulation on the 1.0.0 release!
>
> Now I managed to make SCIM compile and work fine on Mac OS X 10.3.5.
> First, I needed to remove -lstdc++ from src/Makefile.in to make it
> compile because of multiple definition of symbols which causes
> MacOSX's linker error. I think -lstdc++ in src/Makefile.in is also
> redundant for other platforms since g++ implicitly adding this for
> linking.
>
> Second problem is that Mac OS X lacks definition of suseconds_t in
> sys/types.h. I need to add typedef int suseconds_t; for
> module/Config/scim_gconf_config.cpp, scim_simple_config.cpp, and
> scim_socket_config.cpp. On Mac OS X, timeval.tv_usec is defined as
> int32_t, so it's OK to use int for suseconds_t. Is it possible to
> check the existence of suseconds_t in configure script?
>
> With these changes, SCIM-1.0.0 compiles without problem on Mac OS X,
> but loading x11 FrontEnd module fails because x11.so module cannot be
> loaded by ltdl. I'm not sure about the detailed reason, but removing
> "-all_load" from whole_archive_flag_spec of configure script enable
> ltdl load that module fine. This may be a libtool problem about
> convenience library (static libXimd.a) linking for shared module for
> Mac OS X.
>
> Cheers,
> --
> Etsushi Kato
> ekato at ees.hokudai.ac.jp
>
> P.S. Please cc me if you reply to this mail. I'm not subscribed to
> this list.
>
>
>
> _______________________________________________
> scim mailing list
> scim at freedesktop.org
> http://freedesktop.org/mailman/listinfo/scim
>
>
>
>
>
More information about the scim
mailing list