Revision: 7345
Author: [email protected]
Date: Sat Oct 29 20:10:22 2011
Log: * InstallUim.wiki
- Add "Development version" section.
- Add more troubleshooting.
http://code.google.com/p/uim/source/detail?r=7345
Modified:
/wiki/InstallUim.wiki
=======================================
--- /wiki/InstallUim.wiki Sat Oct 29 19:41:40 2011
+++ /wiki/InstallUim.wiki Sat Oct 29 20:10:22 2011
@@ -5,16 +5,17 @@
You can download the source code [UimDownload here]. It includes the core
library, many input method modules, GTK-2.x immodule, Qt immodule, XIM
bridge, FEP bridge, Emacs bridge, tools for configuration, and other tools.
= How to build uim =
-
== Requirements ==
-
The requirements for building uim is listed below.
-
* iconv
* gettext
* pkg-config
* intltool
+If you want to install development version (non-release version),
additional requirements are as follows:
+ * libtool
+ * ruby
+
|| *Feature* || *Description* || *Build Requirements* || *Configure
Option* ||
|| Anthy || Japanese Anthy module || anthy || --with-anthy ||
|| Anthy (UTF-8) || UTF-8 version of Japanese Anthy module ||anthy >= 8622
|| --with-anthy-utf8 ||
@@ -56,7 +57,7 @@
* Qt3 tools include uim-chardict-qt, uim-im-switcher-qt, and
uim-toolbar-qt.
* Qt4 tools include uim-chardict-qt4, uim-im-switcher-qt4, and
uim-toolbar-qt4.
-== Compilation ==
+== Compiling ==
=== Release version ===
If you want to use a release version, go to
[http://code.google.com/p/uim/downloads/list Download Page] and download a
tar ball and extract source files from the tar ball.
@@ -72,31 +73,31 @@
Following configure options are disabled by default.
- * --enable-anthy-static : build static library for Anthy
- * --enable-anthy-utf8-static : build static library for UTF-8 version of
Anthy
- * --enable-backtrace : build internal scheme interpreter to show
backtrace
- * --enable-debug : build uim with debug information
- * --enable-dict : enable Japanese dictionary tool
- * --enable-kde4-applet : enable KDE4 Plasma widget
- * --enable-notify : enable notification (libnotify and/or knotify3)
- * --enable-openssl : enable OpenSSL
- * --with-anthy-utf8 : build UTF-8 version of Anthy
- * --with-canna : use Canna
- * --with-curl : build cURL plugin
- * --with-eb : build EB plugin for the annotation system
- * --with-eb-conf : eb.conf (ex. /etc/eb.conf)
- * --with-expat : build expat plugin (used for uim-yahoo-jp, ex.
/usr/lib/x86_64-linux-gnu)
- * --with-ffi : build libffi plugin
- * --with-qt : build qt3 tools
- * --with-qt-immodule : build qt3 immodule. you need the qt3 with the
qt-immodule patch
- * --with-qt4 : build qt4 tools
- * --with-qt4-immodule : build qt4 immodule
- * --with-scim : use SCIM (broken)
- * --with-sj3 : use Sj3
- * --with-sqlite3 : build SQLite3 plugin for the completion input
- * --with-wnn : build Wnn module
- * --with-wnn-libraries : wnn library (ex. /usr/lib)
- * --with-wnn-includes : wnn header files (ex. /usr/include/wnn)
+ * --enable-anthy-static : build static library for Anthy
+ * --enable-anthy-utf8-static : build static library for UTF-8 version of
Anthy
+ * --enable-backtrace : build internal scheme interpreter to show backtrace
+ * --enable-debug : build uim with debug information
+ * --enable-dict : enable Japanese dictionary tool
+ * --enable-kde4-applet : enable KDE4 Plasma widget
+ * --enable-notify : enable notification (libnotify and/or knotify3)
+ * --enable-openssl : enable OpenSSL
+ * --with-anthy-utf8 : build UTF-8 version of Anthy
+ * --with-canna : use Canna
+ * --with-curl : build cURL plugin
+ * --with-eb : build EB plugin for the annotation system
+ * --with-eb-conf : eb.conf (ex. /etc/eb.conf)
+ * --with-expat : build expat plugin (used for uim-yahoo-jp, ex.
/usr/lib/x86_64-linux-gnu)
+ * --with-ffi : build libffi plugin
+ * --with-qt : build qt3 tools
+ * --with-qt-immodule : build qt3 immodule. you need the qt3 with the
qt-immodule patch
+ * --with-qt4 : build qt4 tools
+ * --with-qt4-immodule : build qt4 immodule
+ * --with-scim : use SCIM (broken)
+ * --with-sj3 : use Sj3
+ * --with-sqlite3 : build SQLite3 plugin for the completion input
+ * --with-wnn : build Wnn module
+ * --with-wnn-libraries : wnn library (ex. /usr/lib)
+ * --with-wnn-includes : wnn header files (ex. /usr/include/wnn)
Finally, make and install it.
{{{
@@ -105,14 +106,38 @@
}}}
By default, uim is installed under /usr/local, but this directory may not
be on the system search path. Should that be the case, add the line
/usr/local/lib to /etc/ld.conf and then, run ldconfig.
+
+=== Development version ===
+You need to install Subversion to install development version of uim.
+
+First, obtain development version from the Subversion repository.
+{{{
+$ svn checkout http://uim.googlecode.com/svn/trunk/ uim-read-only
+}}}
+
+Second, run make-wc.sh. This shell script checks out SigScheme and
libgcroots, and runs configure.
+{{{
+$ ./make-wc.sh
+}}}
+
+Finally, make and install it.
+{{{
+$ make
+$ sudo make install
+}}}
== Troubleshooting ==
=== intltool is too old ===
{{{
configure: error: Your intltool is too old. You need intltool 0.36.3 or
later.
}}}
-
-You may forget to install intltool. Install intltool.
+You may forget to install intltool. Install it.
=== xxx feature is disabled even if I enable it
with "--with-xxx"/"--enable-xxx" ===
When build requirements for the xxx feature are missing in your
environments, the feature is disabled. See the table above and check if
build requirements are installed in your environment.
+
+=== fatal error: functable-r5rs-syntax.c: No such file or directory ==
+{{{
+../sigscheme/src/syntax.c:96:35: fatal error: functable-r5rs-syntax.c: No
such file or directory
+}}}
+You may forget to install ruby. Install it.