Bug#435798: gettext: Missing @MKINSTALLDIRS@ substitution in the autotools
Am Freitag, den 03.08.2007, 10:58 +0200 schrieb Emmanuel Fleury: [..] make[2]: Entering directory `bless/debian-pkg/bless-0.5.1/po' /bin/sh @MKINSTALLDIRS@ bless/debian-pkg/bless-0.5.1/debian/bless/usr/share /bin/sh: @MKINSTALLDIRS@: No such file or directory make[2]: *** [install-data-yes] Error 127 make[2]: Leaving directory `bless/debian-pkg/bless-0.5.1/po' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `bless/debian-pkg/bless-0.5.1' make: *** [common-install-impl] Error 2 debuild: fatal error at line 1228: fakeroot debian/rules binary failed It seems that the @MKINSTALLDIRS@ refuse to be substituted in the final po/Makefile file where the original po/Makefile.in.in has been generated by autopoint. Did you re-run aclocal too? Did you check what happens, when you run autoreconf? I saw a SUBST(MKINSTALLDIRS) in m4/nls.m4 but I have no idea if the configure is executing it or not. Well, look into aclocal.m4, which contains copies of all macros, that are used. Then you know, if MKINSTALLDIRS is replaced. Regards, Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#435798: gettext: Missing @MKINSTALLDIRS@ substitution in the autotools
Some updates... Looking at the m4/nls.m4 script: AC_DEFUN([AM_NLS], [ AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE(nls, [ --disable-nls do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT($USE_NLS) AC_SUBST(USE_NLS) ]) AC_DEFUN([AM_MKINSTALLDIRS], [ dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly dnl find the mkinstalldirs script in another subdir but $(top_srcdir). dnl Try to locate it. MKINSTALLDIRS= if test -n $ac_aux_dir; then case $ac_aux_dir in /*) MKINSTALLDIRS=$ac_aux_dir/mkinstalldirs ;; *) MKINSTALLDIRS=\$(top_builddir)/$ac_aux_dir/mkinstalldirs ;; esac fi if test -z $MKINSTALLDIRS; then MKINSTALLDIRS=\$(top_srcdir)/mkinstalldirs fi AC_SUBST(MKINSTALLDIRS) ]) ** I tried to call AM_MKINSTALLDIRS from the configure.ac before running autoreconf and I got: configure.ac:16: warning: macro `AM_MKINSTALLDIRS' not found in library Where calling AM_NLS from configure.ac didn't ring a bell. I have no valid explanation for it but this sounds really strange to me. Regards -- Emmanuel Fleury I always pass on good advice. It is the only thing to do with it. It is never of any use to oneself. -- Oscar Wilde -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#435798: gettext: Missing @MKINSTALLDIRS@ substitution in the autotools
Package: gettext Version: 0.16.1-2 Severity: normal I'm 'flying' around a project using gettext and the autotools, recently I've hit the following problem: Making install in po make[2]: Entering directory `bless/debian-pkg/bless-0.5.1/po' /bin/sh @MKINSTALLDIRS@ bless/debian-pkg/bless-0.5.1/debian/bless/usr/share /bin/sh: @MKINSTALLDIRS@: No such file or directory make[2]: *** [install-data-yes] Error 127 make[2]: Leaving directory `bless/debian-pkg/bless-0.5.1/po' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `bless/debian-pkg/bless-0.5.1' make: *** [common-install-impl] Error 2 debuild: fatal error at line 1228: fakeroot debian/rules binary failed It seems that the @MKINSTALLDIRS@ refuse to be substituted in the final po/Makefile file where the original po/Makefile.in.in has been generated by autopoint. I saw a SUBST(MKINSTALLDIRS) in m4/nls.m4 but I have no idea if the configure is executing it or not. ***This might be bug due to a misuse of gettext/autopoint !*** But, I didn't find anything wrong in the software itself until now... See the bug-report on bless: https://gna.org/bugs/index.php?9660 -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.22.1 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages gettext depends on: ii gettext-base 0.16.1-2 GNU Internationalization utilities ii libc6 2.6-5 GNU C Library: Shared libraries Versions of packages gettext recommends: ii curl 7.16.4-1 Get a file from an HTTP, HTTPS or ii lynx 2.8.6-2Text-mode WWW Browser ii wget 1.10.2-3 retrieves files from the web -- no debconf information -- Emmanuel Fleury You must unlearn what you have learned. -- Yoda, Star Wars (George Lucas) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]