Trouble installing SCIM m17n in Puppy 3.01

A home for all kinds of Puppy related projects
Message
Author
User avatar
pacchiee
Posts: 28
Joined: Tue 30 Sep 2008, 08:31
Location: Bengaluru, KA, IN

#526 Post by pacchiee »

Am using Puppy Linux 4.0 DINGO and tried to install SCIM following the SCIM, SCIM-Bridge and SCIM-Tables method since I need Kannada language.

I first downloaded the following files:
1. scim-1.4.7-i486.pet
2. scim-bridge-0.4.15.a-i486.pet
3. scim-tables-0.5.8-i486.pet

Clicking on each of them, selected INSTALL PACKAGE; don't know if that was the right way to do it.

SCIM installation gave the following error after installation:

Code: Select all

HOWEVER, these dependencies are missing:
File /usr/local/lib/scim-1.0/1.4.0/FrontEnd/x11.so has these missing library files:
libxcb-xlib.so.0 libxcb.so.1
File /usr/local/lib/scim-1.0/scim-panel-gtk has these missing library files:
libxcb-xlib.so.0 libxcb.so.1
Don't know where to find them!?

SCIM-Bridge gave the following error after installation:

Code: Select all

HOWEVER, these dependencies are missing:
File /usr/bin/scim-bridge has these missing library files:
libscim-1.0.so.8
Found libscim-1.0.so.8 and created a symlink like this

Code: Select all

ln -s /usr/bin/scim-bridge /usr/local/lib/libscim-1.0.so.8
SCIM-Tables gave no error after installation.

Then I added to /etc/gtk-2.0/gtk.immodules

Code: Select all

"/usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so"
"scim" "SCIM Input Method" "" "" ""
and added to ~/.xinitrc

Code: Select all

GTK_IM_MODULE=scim
export GTK_IM_MODULE
Saved and Reboot the system.

Now, I DON'T find SCIM listed in the Menu nor it starts on opening Geany. But if I right-click in Leafpad, the SCIM Input Method is listed and on selecting it, I can't see the option to select language I want.

Please help.

Irihapeti

#527 Post by Irihapeti »

To use Kannada language, you need to install the m17n series of .pet files:
m17n-db-1.5.1-i486.pet, m17n-lib-1.5.1-i486.pet, scim-m17n-0.2.2-i486.pet. They are available from http://www.puppylinux.ca/members/Irihapeti .

As for the errors, it looks to me as though you've installed a version of scim that installs things to /usr/local, and Puppy isn't always good at finding files installed there. The fancy way of dealing with this is to edit your /etc/profile file and add /usr/local/lib to LD_LIBRARY_PATH

The easy way is to get a copy of scim that installs to /usr . The version at the link given above has been compiled this way. Uninstall your current version and install the new one and it should work.

User avatar
pacchiee
Posts: 28
Joined: Tue 30 Sep 2008, 08:31
Location: Bengaluru, KA, IN

#528 Post by pacchiee »

Irihapeti, I removed all the SCIM packages and reinstalled those found on the link you gave. No dependency errors for any package. On rebooting system, I still do not find SCIM in Menu nor found a way to run it. Please help.

Irihapeti

#529 Post by Irihapeti »

pacchiee:

The configuration files need to refer to "scim-bridge" instead of "scim" which you have at present.

That is, /etc/gtk-2.0/gtk.immodules needs to contain the lines:

Code: Select all

"/usr/lib/gtk-2.0/immodules/im-scim-bridge.so"
"scim-bridge" "SCIM Bridge Input Method" "" "" ""
and ~/.xinitrc needs to contain the lines

Code: Select all

export GTK_IM_MODULE="scim-bridge"
or else

Code: Select all

GTK_IM_MODULE="scim-bridge"
export GTK_IM_MODULE
Both these versions do exactly the same thing; it's your choice which one you use. They do need to be near the beginning of the .xinitrc file, just after the line that ends in PUPSTATE.

The scim-bridge package available from puppylinux.ca (the link I posted yesterday) contains a post-install script that adds the lines automatically. If you want to use that, then you need to remove the lines you've already added to the files.

There are further instructions for using scim and scim-bridge here:
http://www.puppylinux.org/wiki/multi-li ... friendly-m

This link has instructions on compiling, if you want to do it the hard way. :)
http://www.puppylinux.org/wiki/multi-li ... dventurous

For setting up after installation, see here: http://www.puppylinux.org/wiki/multi-li ... -installed However, I get the impression that you already have a good idea about how to do these things.

Irihapeti

User avatar
pacchiee
Posts: 28
Joined: Tue 30 Sep 2008, 08:31
Location: Bengaluru, KA, IN

#530 Post by pacchiee »

Irihapeti, I just removed the entries made earlier to /etc/gtk-2.0/gtk.immodules and ~/.xinitrc. Installed the necessary fonts and now everything works just fine.

Thanks a lot for your help.

Irihapeti

#531 Post by Irihapeti »

pacchiee:

You're most welcome. I'm glad to know that everything is working as it should.

Irihapeti

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#532 Post by Aitch »

Hi Irihapeti,

Please see my post here:

http://www.murga-linux.com/puppy/viewto ... 563#240563

How are you, long time no see?

Have you heard from Swarup/RR Koothady?

[Couldn't send this by pm due to forum difficulties]

Aitch :)

User avatar
pacchiee
Posts: 28
Joined: Tue 30 Sep 2008, 08:31
Location: Bengaluru, KA, IN

#533 Post by pacchiee »

Hello,

SCIM and m17n which was working fine with 4.1.2 now doesn't work with 4.2. Please help.

Irihapeti

#534 Post by Irihapeti »

pacchiee wrote:Hello,

SCIM and m17n which was working fine with 4.1.2 now doesn't work with 4.2. Please help.
Yes, I found that out myself recently, and I don't know what the reason is. I tried compiling new versions in 4.2 and that didn't help. I posted a message in the "4.2 bugs" thread and so far have had no replies.

Does anyone else reading this thread have any suggestions?

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#535 Post by Aitch »

Hi

Know-nothing-me can only suggest, it seems like the dependencies may have changed i.e. different file versions, somewhere

Are you dependant on QT3/gtk2/python or anything which has been updated maybe?

Perhaps Jay [puppyluvr] or NathanF may have an idea?

Aitch :)

Irihapeti

How to get scim to work in puppy 4.2

#536 Post by Irihapeti »

Here is a way to get scim to work in puppy 4.2.

You need to replace the file /usr/lib/libgtk-x11-2.0.so.0.1200.1 with the version from Puppy 4.1.2

If you don't have one available, you can download it from http://www.puppylinux.asia/members/Irihapeti (to log in, username=puppy, password=linux). It should soon also be available from http://www.puppylinux.ca/members/Irihapeti

Once you have replaced the file, reboot and scim should now work.

In due course, I hope to upload a package that will do the job automatically i.e. a bit more beginner-friendly.

HTH
Irihapeti

Irihapeti

Update

#537 Post by Irihapeti »

The file libgtk-x11-2.0.so.0.1200.1 is now available from http://www.puppylinux.ca/members/Irihapeti . No password is currently needed to access this server.

straypup
Posts: 47
Joined: Mon 04 Feb 2008, 00:17

#538 Post by straypup »

A heart-felt thank you. I got SCIM working in 3.02 and now 4.2. makes it all worth while. Thanks once again.
stray

Irihapeti

#539 Post by Irihapeti »

straypup wrote:A heart-felt thank you. I got SCIM working in 3.02 and now 4.2. makes it all worth while. Thanks once again.
stray
You're most welcome. It makes it all worth while to me as well.

Irihapeti

Irihapeti

#540 Post by Irihapeti »

I have uploaded the replacement libgtk-x11-2.0.so.0.1200.1 in .pet package form to puppylinux.asia. It should appear on puppylinux.ca in due course.

There are four files: the library package, the DEV package, documentation and native language support. If you aren't using the devx .sfs, you probably only need the first one.

Thanks to pizzasgood for compiling and packaging the files.

Irihapeti

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#541 Post by Aitch »

Image
Courtesy: xkcd.com/comics

:lol: :lol:

Hi, Irihapeti, have you seen the localization thread?

http://www.murga-linux.com/puppy/viewtopic.php?t=38371

I'm sure you could add something of the efforts of the team from this thread, as localization's now mainstream Puppy

Aitch :)

Irihapeti

#542 Post by Irihapeti »

I had a quick look at that, Aitch, but it's rather over my head. I'm not a developer; I only compile other people's programs.

One thing I believe still needs attention: that ordinary, unlocalised Puppy be able to display non-Latin characters in dialogue boxes and window title bars. (Assuming, of course, that the necessary fonts have been installed.) I have an idea that it has to do with the "C locale" - some programs can't use the locale files and use the default, and the default is not compiled to handle non-Latin characters. At least, that's what I think it is; a developer would be able to clarify that.

Irihapeti

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#543 Post by Aitch »

Hi Irihapeti

Thanks, update courtesy of MU
MU wrote:how to use arab, chinese etc. in messageboxes using "gxmessage" instead of "xmessage":
http://murga-linux.com/puppy/viewtopic.php?t=25319

Replacing "yaf-splash":
http://www.murga-linux.com/puppy/viewtopic.php?t=25536

Mark
HTH

Aitch :)

straypup
Posts: 47
Joined: Mon 04 Feb 2008, 00:17

SCIM Patch

#544 Post by straypup »

Just d/l and burned 4.2.1rc2. SCIM installed without a hitch and worked without patching. Have been using UTF=8 character set for Thai without problems. Also works in e-mail for me. :D
stray

Irihapeti

Re: SCIM Patch

#545 Post by Irihapeti »

straypup wrote:Just d/l and burned 4.2.1rc2. SCIM installed without a hitch and worked without patching. Have been using UTF=8 character set for Thai without problems. Also works in e-mail for me. :D
stray
Yes, the patch is only needed for Puppy 4.2. There have been some changes made in the 4.2.1 version -glad to know it's working.

Post Reply