WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: SCIM Simple Common Input Method working on tc?  (Read 3351 times)

Offline whoisterence

  • Newbie
  • *
  • Posts: 27
SCIM Simple Common Input Method working on tc?
« on: January 20, 2011, 03:03:24 AM »
Downloaded the latest version of scim, and try to compile with extensions compiletc.tcz, libtool.tcz, libtool-dev.tcz, Xorg-7.5.tcz, Xorg-7.5-dev.tcz, mylocale.tcz, gtk2.tcz, gtk2-dev.tcz, etc...

I can configure/make/install, but nothing happens when I run scim.  First time running scim, so I don't know what to expect?

I am still running Xvesa, maybe that's the problem?

Offline whoisterence

  • Newbie
  • *
  • Posts: 27
Re: SCIM Simple Common Input Method working on tc?
« Reply #1 on: January 20, 2011, 03:55:18 AM »
Seems it stuck at Loading x11 FrontEnd module.

Smart Common Input Method 1.4.7

Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...

------------------------
/var/log/messages shows:

user.info kernel: scim-launcher[26962]: segfault at b703d580 ip b703d580 sp bfc16afc error 4 in locale-archive[b7053000+d0000]

Offline whoisterence

  • Newbie
  • *
  • Posts: 27
Re: SCIM Simple Common Input Method working on tc?
« Reply #2 on: January 21, 2011, 04:05:38 AM »
I try to do a strace to find where it is getting stuck, but I don't understand the output enough to proceed.

Offline whoisterence

  • Newbie
  • *
  • Posts: 27
Re: SCIM Simple Common Input Method working on tc?
« Reply #3 on: January 21, 2011, 11:33:13 PM »
strace didn't really helped, looks like I was stuck at some select() function calling some file that's missing...

I loaded wine.tcz and looks like I got scim pass the X11 frontend problem, looks like some extension was missing, maybe libltdl.tcz.  It now say successfully loaded, but nothing happens...

:~$ scim --no-socket
Smart Common Input Method 1.4.9

Launching a SCIM process with x11...
Loading simple Config module ...
Creating backend ...
Loading x11 FrontEnd module ...
GTK Panel of SCIM 1.4.9

Starting SCIM ...

Not sure if I am still missing some other extension related to GTK Panel?

By the way, I wonder how people try to debug this kind of thing with missing extensions?  What are the general steps in finding out what extension is needed?

Offline Syun

  • Newbie
  • *
  • Posts: 17
Re: SCIM Simple Common Input Method working on tc?
« Reply #4 on: January 22, 2011, 12:16:47 AM »
I always use scim-anthy. Anthy is Japanese dictionary.
I compile it myself and it works fine.
But I don't know the way to solve your problem.
 
My environment:

Locale: ja_JP.utf8
Source: scim_1.4.9.orig.tar.gz from debian package.
Patches: 60_gcc-4.4-const-char.dpatch from debian package.
confflag: LIBS="-liconv" --with-gtk-im-module-dir=/usr/local/lib/gtk-2.0/2.10.0/immodules
build dependency: libiconv perl5 gtk2 gtk2-dev

Make sure create your locale from getlocale.tcz.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11230
Re: SCIM Simple Common Input Method working on tc?
« Reply #5 on: January 22, 2011, 12:29:24 AM »
Hi whoisterence
I'm not familiar with that package but I did find something that I hope will help. If you go to
LinuxQuestions.org and search for "SCIM start to finish for Zenwalk" you will find someone
who compiled it and documented what they did. Maybe it will offer you some clues. He
did it for Zenwalk and not TinyCore but it could serve as a guideline. It's dated 10-26-06
and was posted by kimo_anton.

Offline whoisterence

  • Newbie
  • *
  • Posts: 27
Re: SCIM Simple Common Input Method working on tc?
« Reply #6 on: January 24, 2011, 04:15:34 AM »
Syun, Not sure how to get the debian package?

I tried configure with LIBS="-liconv" --with-gtk-im-module-dir=/usr/local/lib/gtk-2.0/2.10.0/immodules, I get same result.

I tried a lot of different suggestions from online source similar to the one Rich mentioned, still nothing...

I think SCIM is running..  but somehow it's not being called from X?

Any suggestions what I can try?


Offline Syun

  • Newbie
  • *
  • Posts: 17
Re: SCIM Simple Common Input Method working on tc?
« Reply #7 on: January 24, 2011, 06:56:16 AM »
Quote
Syun, Not sure how to get the debian package?
You can download from following link.
http://packages.debian.org/source/sid/scim

Which IMEngine do you use? You need to build IMEngine for SCIM.
http://www.scim-im.org/projects/imengines

Offline whoisterence

  • Newbie
  • *
  • Posts: 27
Re: SCIM Simple Common Input Method working on tc?
« Reply #8 on: January 25, 2011, 01:07:16 AM »
You're right Syun, I do need an IMEngine.  I previously thought SCIM came with some IMEngine, but looks like I do need to install at least one.

I tried the SCIM-googlepinyin and the pinyin and both work.

I needed to follow your configflag.

I also found a debian resource which seems to me the best one.  http://wiki.debian.org.hk/w/Make_Debian_support_Chinese_(eng)

Now I have a problem with urxvtc not being able to show Chinese again,  I thought I had fixed it, see thread about "unicode filenames".

I think it's the scim env settings.