Revision: 7348
Author: [email protected]
Date: Sat Oct 29 21:46:18 2011
Log: * InstallUim.wiki
- Add more troubleshooting.
http://code.google.com/p/uim/source/detail?r=7348
Modified:
/wiki/InstallUim.wiki
=======================================
--- /wiki/InstallUim.wiki Sat Oct 29 20:50:40 2011
+++ /wiki/InstallUim.wiki Sat Oct 29 21:46:18 2011
@@ -11,7 +11,6 @@
* GNU make
* iconv
* gettext
- * pkg-config
* intltool
The relations between a feature and build requirements are as follows.
@@ -61,6 +60,8 @@
* libtool
* ruby
* ed
+ * pkg-config
+ * rsvg
== Compiling ==
=== Release version ===
@@ -131,16 +132,47 @@
}}}
== Troubleshooting ==
+
+=== no acceptable C compiler found in $PATH ===
+Q. When I ran configure, the following error occurred:
+{{{
+configure: error: no acceptable C compiler found in $PATH
+}}}
+
+A. You may forget to install gcc. If so, install it.
+
+== GNU make is currently required to run ax_feature_configurator.m4 ==
+Q. When I ran configure, the following error occurred:
+{{{
+configure: error: GNU make is currently required to run
ax_feature_configurator.m4
+}}}
+
+A. You may forget to install GNU make. If so, install it.
+
=== intltool is too old ===
Q. When I ran configure, the following error occurred:
{{{
configure: error: Your intltool is too old. You need intltool 0.36.3 or
later.
}}}
-A. You may forget to install intltool. Install it.
+A. You may forget to install intltool. If so, 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.
+A. 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.
+
+=== relink `libuim-scm.la' with the above command before installing it ===
+Q. When I ran "make install", the following error occurred:
+{{{
+/usr/bin/ld: cannot find -lgcroots
+collect2: ld returned 1 exit status
+libtool: install: error: relink `libuim-scm.la' with the above command
before installing it
+}}}
+
+A. Set the environment variable LIBRARY_PATH:
+{{{
+LIBRARY_PATH=<prefix>/lib/ make install
+}}}
+where the prefix is /usr/local or what you set with --prefix in running
configure.
=== libtoolize: command not found ===
Q. When I ran make-wc.sh to install development version, the following
error occurred:
@@ -148,7 +180,17 @@
./autogen.sh: line 27: libtoolize: command not found
}}}
-A. You may forget to install libtool. Install it.
+A. You may forget to install libtool. If so, install it.
+
+=== possibly undefined macro: AC_MSG_ERROR ===
+Q. When I ran make-wc.sh to install development version, the following
error occurred:
+{{{
+configure.in:300: error: possibly undefined macro: AC_MSG_ERROR
+ If this token and others are legitimate, please use m4_pattern_allow.
+ See the Autoconf documentation.
+}}}
+
+A. You may forget to install pkg-config. If so, install it.
=== ed: command not found ===
Q. When I ran make-wc.sh to install development version, the following
error occurred:
@@ -156,9 +198,9 @@
./autogen.sh: line 27: ed: command not found
}}}
-A. You may forget to install ed. Install it.
-
-=== fatal error: functable-r5rs-syntax.c: No such file or directory ==
+A. You may forget to install ed. If so, install it.
+
+=== functable-r5rs-syntax.c: No such file or directory ==
Q. When I ran make to install development version, the following error
occurred:
{{{
../sigscheme/src/syntax.c:96:35: fatal error: functable-r5rs-syntax.c: No
such file or directory
@@ -171,4 +213,13 @@
../sigscheme/src/module-srfi60.c: In function ‘scm_initialize_srfi60’:
../sigscheme/src/module-srfi60.c:86: error: ‘scm_functable_srfi60’
undeclared (first use in this function)
}}}
-You may forget to install ruby. Install it.
+
+A. You may forget to install ruby. If so, install it.
+
+=== No rule to make target `unknown.png' ===
+Q. When I ran "make install" to install development version, the following
error occurred:
+{{{
+make[1]: *** No rule to make target `unknown.png', needed by `all-am'.
Stop.
+}}}
+
+A. You may forget to install rsvg. If so, install it and run make-wc.sh
again.