Build SunPinyin
- For Solaris environment, download and install the SunStudio 11 and CBE
- SunStudio 12 is bounded in Solaris Nevada, you don't need to download and install SunStudio 11.
- Checkout the input method repository, or latest repository snapshot, refer to Repository page:
$ hg clone ssh://anon_@_hg.opensolaris.org/hg/nv-g11n/inputmethod
- Change directory to inputmethod/sunpinyin, and launch the build script
$ ./build-sunpinyin.sh
Or
$ cd inputmethod/sunpinyin/ime
$ ./autogen.sh \-\-prefix=/usr
$ make
# make install
This will build an IM module for cle (Simplified Chinese Language Engine).
- To build the standalone Gtk+ based test program
$ cd inputmethod/sunpinyin/ime
$ ./autogen.sh \-\-disable-cle \-\-enable-gtkstandalone
$ make
- To build the SCIM wrapper
$ cd inputmethod/sunpinyin/ime
$ ./autogen.sh \-\-prefix=/usr \-\-disable-cle \-\-enable-scim
$ make
# make install
- To build the Mac (Leopard) wrapper
- Install Xcode 3.0 and MacPorts on your box
$ /opt/local/bin/port install glib2
$ cd inputmethod/sunpinyin/ime
$ ACLOCAL_FLAGS=-I/opt/local/share/aclocal ./autogen.sh \-\-disable-cle
$ cd wrapper/macos
$ make release
$ make install
on 2009/10/26 12:14