Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 16 Jul 2019, 10:30
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Trouble installing SCIM m17n in Puppy 3.01
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 36 of 41 [610 Posts]   Goto page: Previous 1, 2, 3, ..., 34, 35, 36, 37, 38, 39, 40, 41 Next
Author Message
pacchiee


Joined: 30 Sep 2008
Posts: 28
Location: Bengaluru, KA, IN

PostPosted: Wed 01 Oct 2008, 08:29    Post subject:  

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:
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:
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:
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:
"/usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so"
"scim" "SCIM Input Method" "" "" ""


and added to ~/.xinitrc
Code:
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.
Back to top
View user's profile Send private message 
Irihapeti
Guest


PostPosted: Wed 01 Oct 2008, 15:08    Post subject:  

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.
Back to top
pacchiee


Joined: 30 Sep 2008
Posts: 28
Location: Bengaluru, KA, IN

PostPosted: Thu 02 Oct 2008, 11:46    Post subject:  

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.
Back to top
View user's profile Send private message 
Irihapeti
Guest


PostPosted: Thu 02 Oct 2008, 16:52    Post subject:  

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:
"/usr/lib/gtk-2.0/immodules/im-scim-bridge.so"
"scim-bridge" "SCIM Bridge Input Method" "" "" ""


and ~/.xinitrc needs to contain the lines

Code:
export GTK_IM_MODULE="scim-bridge"

or else
Code:
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-lingual-puppy/technical-how-tos/setting-puppy-multi-lingual-operation-beginner-friendly-m

This link has instructions on compiling, if you want to do it the hard way. Smile
http://www.puppylinux.org/wiki/multi-lingual-puppy/how-tos-advanced/compiling-scim-bridge-and-related-packages-adventurous

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

Irihapeti
Back to top
pacchiee


Joined: 30 Sep 2008
Posts: 28
Location: Bengaluru, KA, IN

PostPosted: Thu 02 Oct 2008, 22:01    Post subject:  

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.
Back to top
View user's profile Send private message 
Irihapeti
Guest


PostPosted: Thu 02 Oct 2008, 22:25    Post subject:  

pacchiee:

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

Irihapeti
Back to top
Aitch


Joined: 04 Apr 2007
Posts: 6815
Location: Chatham, Kent, UK

PostPosted: Thu 16 Oct 2008, 15:39    Post subject:  

Hi Irihapeti,

Please see my post here:

http://www.murga-linux.com/puppy/viewtopic.php?p=240563#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 Smile
Back to top
View user's profile Send private message 
pacchiee


Joined: 30 Sep 2008
Posts: 28
Location: Bengaluru, KA, IN

PostPosted: Fri 17 Apr 2009, 11:55    Post subject:  

Hello,

SCIM and m17n which was working fine with 4.1.2 now doesn't work with 4.2. Please help.
Back to top
View user's profile Send private message 
Irihapeti
Guest


PostPosted: Fri 17 Apr 2009, 15:13    Post subject:  

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?
Back to top
Aitch


Joined: 04 Apr 2007
Posts: 6815
Location: Chatham, Kent, UK

PostPosted: Fri 17 Apr 2009, 16:00    Post subject:  

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 Smile
Back to top
View user's profile Send private message 
Irihapeti
Guest


PostPosted: Sun 19 Apr 2009, 21:33    Post subject: How to get scim to work in puppy 4.2  

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
Back to top
Irihapeti
Guest


PostPosted: Mon 20 Apr 2009, 15:28    Post subject: Update  

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.
Back to top
straypup

Joined: 03 Feb 2008
Posts: 47

PostPosted: Thu 23 Apr 2009, 22:07    Post subject:  

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
Back to top
View user's profile Send private message 
Irihapeti
Guest


PostPosted: Thu 23 Apr 2009, 22:32    Post subject:  

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
Back to top
Irihapeti
Guest


PostPosted: Sun 26 Apr 2009, 15:52    Post subject:  

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
Back to top
Display posts from previous:   Sort by:   
Page 36 of 41 [610 Posts]   Goto page: Previous 1, 2, 3, ..., 34, 35, 36, 37, 38, 39, 40, 41 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1298s ][ Queries: 12 (0.0816s) ][ GZIP on ]