SCIM

Differences between revisions 15 and 16
Revision 15 as of 2008-05-11 13:55:10
Size: 3399
Editor: ram94-2-89-85-122-46
Comment:
Revision 16 as of 2008-08-06 16:26:35
Size: 3419
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
NOTE: This page is NOT a user's guide for SCIM. For user's guide, please refer to [https://help.ubuntu.com/community/SCIM], and ["InputMethods/SCIM/Setup"]. NOTE: This page is NOT a user's guide for SCIM. For user's guide, please refer to [[https://help.ubuntu.com/community/SCIM]], and [[InputMethods/SCIM/Setup]].
Line 8: Line 8:
The SCIM package has a gcc C++ ABI incompatibility problem when using with programs that are compiled with a different gcc version. This problem has been confirmed in the official SCIM Wiki [http://www.scim-im.org/wiki/faq/gtk_gnome/why_firefox_mozilla_acrobat_reader_7_other_gtk_2_based_apps_can_not_be_installed_started at here]. More discussions can be found in [https://launchpad.net/distros/ubuntu/+source/acroread/+bug/2246 LaunchPad.net] and [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323216 Debian bug tracking system]. The SCIM package has a gcc C++ ABI incompatibility problem when using with programs that are compiled with a different gcc version. This problem has been confirmed in the official SCIM Wiki [[http://www.scim-im.org/wiki/faq/gtk_gnome/why_firefox_mozilla_acrobat_reader_7_other_gtk_2_based_apps_can_not_be_installed_started|at here]]. More discussions can be found in [[https://launchpad.net/distros/ubuntu/+source/acroread/+bug/2246|LaunchPad.net]] and [[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323216|Debian bug tracking system]].
Line 16: Line 16:
 * [http://www.realbasic.com/ REALbasic] 2006 for Linux  * [[http://www.realbasic.com/|REALbasic]] 2006 for Linux
Line 20: Line 20:
 * Mozilla Firefox binary tarball from [http://www.mozilla.org Mozilla.org]  * Mozilla Firefox binary tarball from [[http://www.mozilla.org|Mozilla.org]]
Line 22: Line 22:
 * OpenOffice.org 2.x binary packages from the official [http://www.openoffice.org OpenOffice.org homepage] (RPM convert to DEB by '''alien''').  * OpenOffice.org 2.x binary packages from the official [[http://www.openoffice.org|OpenOffice.org homepage]] (RPM convert to DEB by '''alien''').
Line 39: Line 39:
For Firefox you can use the instruction above to bypass the problem, but SCIM will be disabled and it wouldn't serve the purpose. You can try to compile your own Firefox build, see CompileFirefoxNewVersion for further detail. Or you can try other third-party gcc4 compiled build such as [http://www.ubuntuforums.org/showthread.php?t=142798 Swiftfox]. For Firefox you can use the instruction above to bypass the problem, but SCIM will be disabled and it wouldn't serve the purpose. You can try to compile your own Firefox build, see CompileFirefoxNewVersion for further detail. Or you can try other third-party gcc4 compiled build such as [[http://www.ubuntuforums.org/showthread.php?t=142798|Swiftfox]].
Line 61: Line 61:
[http://packages.debian.org/unstable/libs/libkmfl0 Upstream Debian]
[http://www.tavultesoft.com/keyman/downloads/keyboards/ Keyboard catalog]
[[http://packages.debian.org/unstable/libs/libkmfl0|Upstream Debian]]
[[http://www.tavultesoft.com/keyman/downloads/keyboards/|Keyboard catalog]]

SCIM is a GTK-based input method engine for inputting non-English / non-ASCII characters in a GNOME/GTK environment. There is a KDE frontend called skim.

NOTE: This page is NOT a user's guide for SCIM. For user's guide, please refer to https://help.ubuntu.com/community/SCIM, and InputMethods/SCIM/Setup.

Program crash when SCIM is running

The SCIM package has a gcc C++ ABI incompatibility problem when using with programs that are compiled with a different gcc version. This problem has been confirmed in the official SCIM Wiki at here. More discussions can be found in LaunchPad.net and Debian bug tracking system.

The problem became obvious when Ubuntu Breezy 5.10 was released. Since Breezy has migrated to gcc 4.x for compiling all packages in the distro, including SCIM of course.

Hence when SCIM is running, the following proprietary programs which are compiled with a different gcc version (most likely gcc 3.2) will crash at start:

This has also plagued OSS packages that are compiled with an incompatible gcc version:

  • Mozilla Firefox binary tarball from Mozilla.org

  • Thunderbird
  • OpenOffice.org 2.x binary packages from the official OpenOffice.org homepage (RPM convert to DEB by alien).

    • Note: In the case of OpenOffice.org, it won't crash like other programs mentioned. But SCIM will be disabled when using this official Linux version.

Workaround

Workaround in general

You can work around this problem temporarily, by exporting the following environment in command line:

export GTK_IM_MODULE=xim

Then start those applications manually.

Workaround for Firefox

For Firefox you can use the instruction above to bypass the problem, but SCIM will be disabled and it wouldn't serve the purpose. You can try to compile your own Firefox build, see CompileFirefoxNewVersion for further detail. Or you can try other third-party gcc4 compiled build such as Swiftfox.

Workaround for OpenOffice.org 2.x Linux binary from the official site

After installation is complete, first, you need to rename the standard C++ library (libstdc++) bundled to something else:

cd /opt/openoffice.org2.0/program
sudo mv libstdc++.so.6 libstdc++.so.6-bak

Then, create a symlink to the C++ library in the current Ubuntu system.

sudo ln -s /usr/lib/libstdc++.so.6

There you go, SCIM will be enabled again when you launch the official version of OpenOffice.org 2.x.

Other packages that use SCIM

a source-compatible Keyman-like smart context-aware keyboard mapper. Upstream Debian Keyboard catalog

Official page

SCIM (last edited 2008-08-06 16:26:35 by localhost)