Build scim-1.4.6 on Solaris nevada with SunStudio 11

To build scim and its IME modules on Solaris nevada (build 62), please download and install SunStudio 11 as well as CBE 1.6,

Build scim-1.4.6 

1. checkout scim_1_4_6 branch of scim from scim.cvs.sourceforge.net, and apply the patch
2. $ export LDFLAGS=-lsocket, then execute ./bootstrap
3. $./bootstrap; $ ./configure --prefix=/usr; make
4. # make install (or $ sudo make install)

Note, after make install, you may need modify the /etc/gtk-2.0/gtk.immodules to add the following stuff (returned by gtk-query-immodules-2.0)

"/usr/lib/gtk-2.0/immodules/im-scim.so"
"scim" "SCIM Input Method" "scim" "/usr/share/locale" "ja:ko:zh"

Build scim-pinyin-0.5.91

1. checkout  scim_pinyin_0_5_91 branch of scim-pinyin from scim.cvs.sourceforge.net, and apply the patch
2. $./bootstrap; $ ./configure --prefix=/usr; make
3. # make install (or $ sudo make install)

Build scim-hangul-0.3.1

0. download libhangul 0.4.0, configure it and run make (the test/hangul.c would fail, just ignore it)
1. checkout scim_hangul_0_3_1 branch of scim-hangul from scim.cvs.sourceforge.net, and apply the patch
2. $./bootstrap; $ ./configure --prefix=/usr; make
3. # make install (or $ sudo make install)

Build scim-tables-0.5.7

1. checkout scim_tables_0_5_7 branch of scim-tables from  scim.cvs.sourceforge.net, and apply the patch
2. $./bootstrap; $ ./configure --prefix=/usr; make
3. # make install (or $ sudo make install)

Build scim-anthy-1.2.3

1. download anthy-8700b source tar file from http://sourceforge.jp/projects/anthy, and apply the patch
2. build anthy-8700b and install
3. check out RELEASE_1_2_3 branch of scim-anthy from cvs.sourceforge.jp, and apply the patch
4. build scim-anthy and install.

Build scim-m17n-0.2.2

1. download m17n-lib-1.3.4 and m17n-db-1.3.4 from http://www.m17n.org/m17n-lib-en/download.html
2. To build m17n-lib-core, ./configure --prefix=/usr --with-gui=no, make and make install.
3. To build m17n-db, download glibc-2.3.2.tar.gz from http://ftp.gnu.org/gnu/glibc, extract the tgz file, and ./configure --prefix=/usr --with-charmaps=glibc-2.3.2/localedata/charmaps/, make and make install
4. checkout scim_m17n_0_2_2 branch of scim-m17n from scim.cvs.sourceforge.net, build and install

Build scim-chewing-0.3.1

1. download libchewing-0.3.0 and scim-chewing-0.3.1 from http://chewing.csie.net/download/
2. extract libchewing-0.3.0 and apply the patch, make and make install
3. extract scim-chewing and apply the patch, make and make install

Build scim-bridge-0.4.10

1. checkout stable-0_4_10 branch of scim-bridge from scim.cvs.sourceforge.net, and apply the patch
2. ./configure --prefix=/usr --disable-debug --disable-documents CFLAGS=-DMSG_NOSIGNAL=0 CPPFLAGS=-DMSG_NOSIGNAL=0
3. make and make install

Note, after make install, you may need modify the
/etc/gtk-2.0/gtk.immodules to add the following stuff (returned by
gtk-query-immodules-2.0)

"/usr/lib/gtk-2.0/immodules/im-scim-bridge.so"
"scim-bridge" "SCIM Bridge Input Method" "" "" ""

I will try to build solaris packages, and deliver to our input-method OS.o project.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

To submit your comment, click the image below where it asks you to...
Clickcha - The One-Click Captcha