This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
"make install" is incomplete
- From: Bruno Haible <bruno at clisp dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Thu, 16 May 2002 13:21:44 +0200 (CEST)
- Subject: "make install" is incomplete
Hi,
After "make install", iconv will not handle the encodings that were added
since the previously installed glibc version (assuming that was 2.2.4 or
newer). Instead it will complain about an unsupported conversion. The
reason is that the gconv-modules file has been replaced by the new one,
but gconv-modules.cache is still the old one - and when iconv finds the
cache file, it doesn't bother looking at the gconv-modules file (not even
to check its modification time). The fix is obviously to run iconvconfig
during "make install".
2002-05-16 Bruno Haible <bruno@clisp.org>
* Makefile (install): Depend on install-run-iconvconfig.
(install-run-iconvconfig): New rule.
--- glibc-20020425/Makefile.bak Mon Apr 22 13:44:46 2002
+++ glibc-20020425/Makefile Thu May 16 01:54:46 2002
@@ -124,6 +124,15 @@
endif
endif
+# Update the $(prefix)/lib/gconv/gconv-modules.cache file. This is necessary
+# if this libc has more gconv modules than the previously installed one.
+ifeq (no,$(cross-compiling))
+install: install-run-iconvconfig
+.PHONY: install-run-iconvconfig
+install-run-iconvconfig: subdir_install
+ LC_ALL=C LANGUAGE=C $(common-objpfx)iconv/iconvconfig
+endif
+
# Build subdirectory lib objects.
lib-noranlib: subdir_lib