How exactly do I install scim so it would work? I followed the scim handbook but it doesn't not work.

[root@localhost ~]# scim
Smart Common Input Method 1.0.2

Launching a SCIM process with x11...
it does not launch properly.

[root@localhost ~]# scim-panel-kde -d -f
[root@localhost ~]# Cannot create SocketServer. Maybe a panel is still running...
Even after I kill the processes, I always get this message when I try to load it up.