在linux中安裝google拼音IME

來源:互聯網
上載者:User

載自:http://code.google.com/p/scim-googlepinyin/wiki/install
並修改了一些內容

 

install  
how to build and install scim-googlepinyin

    * Introduction
    * grab the source
    * build depends
    * runtime depends
    * build and install

Introduction

This document is intended to help you to build and install scim-googlepinyin from scratch.
grab the source

Scim-googlepinyin still has some critical bugs. And it is still under active development. I'd like to suggest you always try the latest version by:

 $ git clone git://github.com/tchaikov/scim-googlepinyin.git
 $ cd scim-googlepinyin.git

If the git command is not available in your system, you may want to install it to continue checking out the source.
build depends

You will need install following package before building this software:

    * automake
    * libtool
    * autotools-dev
    * libgtk2.0-dev
    * libscim-dev

Although these packages' names vary, they are available on most GNU/Linux distribution. On Debian or Ubuntu, following command should work for you.

 $ sudo aptitude install automake libtool autotools-dev libgtk2.0-dev libscim-dev

//建議經常使用aptitude而不是apt-get,因為前者在發現缺少依賴的時候會自動安裝缺失的內容。昨天在配置android編譯環境時因為需要安裝libsdl-dev,媽的死活找不到依賴的包,我甚至都下了個deb包安裝,結果也不行。到今天早上才看到一個文章中用aptitude安裝,果然解決了問題

runtime depends
    * scim

 $ sudo aptitude install scim

build and install
Following commands installs scim-googlepinyin into your system.

 $ ./autogen.sh
 $ make
 $ sudo make install
 
最後在scim中配置一下就好了,發現一個小大bug,就是候選字翻頁後,候選字會向左位移一位。試著將候選字個數由預設的8改為7後解決問題,不過候選字列表中還是顯示9個字,這不影響什麼。

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.