On Sat, Sep 01, 2007 at 12:06:25AM -0400, Mike Frysinger wrote: > looks like autotools were generated incorrectly or something ... $(localedir) > is referenced via -DLOCALEDIR=$(localedir) in the Makefile.in files, but > configure and Makefile.in fail to actually setup localedir and > @localedir@ ... You have autoconf 2.59, right? ------------- Major changes in Autoconf 2.59c Released 2006-04-12, by Ralf Wildenhues. ** Directory variables adjusted to recent changes in the GNU Coding Standards. The following directory variables are new: datarootdir read-only architecture-independent data root [PREFIX/share] localedir locale-specific message catalogs [DATAROOTDIR/locale] docdir documentation root [DATAROOTDIR/doc/PACKAGE] htmldir html documentation [DOCDIR] dvidir dvi documentation [DOCDIR] pdfdir pdf documentation [DOCDIR] psdir ps documentation [DOCDIR] -------------- > any ideas of what went wrong ? running autogen.sh on my side in the git It's already known and stupid bug from old util-linux-2.13-pre7. I've forgot to fix it in util-linux-ng... :-( I don't think that we have to require autoconf >=2.60. Too many people still use distributions with 2.59. The patch below is simple bugfix. I'll try to write anything better (we can test existence of $localedir in configure.ac, ....) Thanks! Karel diff --git a/config/include-Makefile.am b/config/include-Makefile.am index 59f40b9..eebb364 100644 --- a/config/include-Makefile.am +++ b/config/include-Makefile.am @@ -1,6 +1,7 @@ # The original default vaues of bindir and sbindir: usrbinexecdir = ${exec_prefix}/bin usrsbinexecdir = ${exec_prefix}/sbin +localedir = $(datadir)/locale AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include \ -DLOCALEDIR=\"$(localedir)\" -- Karel Zak <kzak@xxxxxxxxxx> - To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html