Here is the log on make install: make install Making install in po make[1]: Entering directory `/home/luca/svn/gnome2/xdg-user-dirs/po' /bin/sh @MKINSTALLDIRS@ /opt/gnome2/share /bin/sh: Can't open @MKINSTALLDIRS@ make[1]: *** [install-data-yes] Error 2 make[1]: Leaving directory `/home/luca/svn/gnome2/xdg-user-dirs/po' make: *** [install-recursive] Error 1
I think this issue is related with gettext. On my jhbuild sandbox with gettext 0.16, the Makefile.in.in files in $prefix/share/gettext/po directory has no MKINSTALLDIRS variable defined. Instead here is MKDIR_P variable. Running `gettextize` before autogen.sh, everything goes fine. Unfortunately, gettextize is designed to be executed just one time by developers when migrating to gettext (or updating to a new gettext version), while glib-gettextize is designed to genereate on every autogen.sh run. On new Makefile.in.in file installed by gettextize 0.16 there is this note: # We use $(mkdir_p). # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, # @install_sh@ does not start with $(SHELL), so we add it. # In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake # versions, $(mkinstalldirs) and $(install_sh) are unused. mkinstalldirs = $(SHELL) @install_sh@ -d install_sh = $(SHELL) @install_sh@ MKDIR_P = @MKDIR_P@ mkdir_p = @mkdir_p@ Maybe the missing MKINSTALLDIRS definition is a bug in gettext 0.16 (I'm downloading 0.16.1 to check updates)
I really don't know how to fix this. Any clues would be nice.
Luca Ferretti, Do you still experience this issue with newer soft ? Please check the status of your issue. Or close this bug.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/xdg-user-dirs/issues/14.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.