cht電腦資訊gcin
adm Find login register

你好,我下載了gcin-1.5.5.pre15的源碼在kubuntu上make

tim
joined: 2010-07-29
posted: 1
promoted:
bookmarked:
台中
1subject: 你好,我下載了gcin-1.5.5.pre15的源碼在kubuntu上makePromote 0 Bookmark 02010-07-29quote  

目前好像

./configure 少了一些檢查,

所以在make 階段還是要補上一些套件,

我記錄在

 http://www.sinan-melody.co.cc/wordpress_1/?p=1857

主要是kde ,qt4的環境,

 

一個是moc路徑的問題。 

請問要怎麼更正回源碼呢??

 

不過最後make install 還有一些error,我不太懂要怎麼解,

訊息如下:

 ----------------------------------------------------

 make -C scripts install
make[1]: Entering directory `/home/timloo/gcin-1.5.5.pre15/scripts'
if [ /usr/local = /usr/local ]; then \
           sh modify-XIM; \
        fi
Please modify your XIM settings manually
cd: 34: can't cd to /etc/sysconfig
modify-XIM: 46: Syntax error: Bad fd number
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/timloo/gcin-1.5.5.pre15/scripts'
make: *** [install] Error 2

 --------------------------------------------------------

 /etc/sysconfig,這個的問題,在kubuntu下,沒有這個目錄。

modify-XIM: 46: 

46 行是寫這段,

 egrep '^GTK_IM_MODULE=gcin' i18n >& /dev/null

 

請問一下 Bad fd number是指什麼意思呢?

 

謝謝!!

eliu

joined: 2007-08-09
posted: 11468
promoted: 617
bookmarked: 187
新竹, 台灣
2subject: Promote 0 Bookmark 02010-07-29quote  

modify-XIM 主要的工作有 

  • 把 gcin 加到 X window 啟動 script
  • 使用 gtk-query-immodules-2.0 install gtk im module
目前手動的 install 在 Debian or Ubuntu 可能還有問題,對應的 file path 不對。
或許可以參考 Tetralet 的 .deb build 的 patch,這邊我不清楚。

cht電腦資訊gcin
adm Find login register
views:4812