Bug 11067 - xdg-user-dirs not installable from cvs
Summary: xdg-user-dirs not installable from cvs
Status: RESOLVED MOVED
Alias: None
Product: xdg-user-dirs
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Alexander Larsson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-28 04:42 UTC by Luca Ferretti
Modified: 2018-10-15 07:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Luca Ferretti 2007-05-28 04:42:03 UTC
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
Comment 1 Luca Ferretti 2007-05-28 05:51:00 UTC
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)
Comment 2 Alexander Larsson 2007-06-11 02:38:00 UTC
I really don't know how to fix this. Any clues would be nice.
Comment 3 chemtech 2013-03-25 09:18:03 UTC
Luca Ferretti,
Do you still experience this issue with newer soft ?
Please check the status of your issue.
Or close this bug.
Comment 4 GitLab Migration User 2018-10-15 07:55:48 UTC
-- 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.