This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"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
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]