Skip to content

Script "mkinstalldirs" used by "make install" but missing? #25

@hartwork

Description

@hartwork
# make && make DESTDIR="$PWD"/DESTDIR install
[..]
make[1]: Entering directory '/tmp/tmp.YwkMPenPzw/ladspa/po'
/bin/sh .././mkinstalldirs /tmp/tmp.YwkMPenPzw/ladspa/DESTDIR/usr/local/share
/bin/sh: .././mkinstalldirs: No such file or directory
Makefile:280: recipe for target 'install-data-yes' failed
make[1]: *** [install-data-yes] Error 127
make[1]: Leaving directory '/tmp/tmp.YwkMPenPzw/ladspa/po'
Makefile:1377: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

On a fix:
Since I found # Origin: gettext-0.14 in po/Makefile.in.in I tried adding AM_GNU_GETTEXT_VERSION([0.14]) (rather than 0.13 of ticket #20) to configure.in and ran autopoint -f which created file mkinstalldirs (and a few other ones); the full output is

# autopoint -f
Copying file config.rpath
Copying file mkinstalldirs
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en@boldquot.header
Copying file po/en@quot.header
Copying file po/insert-header.sin
Copying file po/quot.sed

Now when I use AM_GNU_GETTEXT_VERSION([0.19]) instead (which is still old enough to be in current Debian stable) the output instead is

# autopoint -f
Copying file ABOUT-NLS
Copying file config.rpath
Copying file m4/codeset.m4
Copying file m4/extern-inline.m4
Copying file m4/fcntl-o.m4
Copying file m4/gettext.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intlmacosx.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/lock.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/threadlib.m4
Copying file m4/uintmax_t.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en@boldquot.header
Copying file po/en@quot.header
Copying file po/insert-header.sin
Copying file po/quot.sed

which does not include mkinstalldirs but that's alright since the po/Makefile.in.in produced this time does not rely on file mkinstalldirs any more, but rather reads

mkinstalldirs = $(SHELL) @install_sh@ -d

So for a fix we could either:

  • a) stick to gettext 0.14, generate missing files and add them to Git
  • b) update to gettext 0.19, generate missing files and add them to Git
  • c) integrate autopoint -f into the build system, e.g. into autogen.sh, remove generated files ABOUT-NLS and po/Makefile.in.in from Git. (We could also resolve touch config.rpath in autogen.sh then, which seems to be a problem too.)

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions