On 02/13/14 21:29, Peeters Simon wrote:
hello all,
I usually run systemd from git using the arch aur package systemd-git
and yaourt to compile and install this, but this currently fails with
LN dbus1-generator-install-hook
what="" && wants=runlevel3.target && dir=/usr/lib/systemd/system &&
[ -z "$what" ] || (
dir=/tmp/yaourt-tmp-simon/aur-systemd-git/pkg/systemd-git$dir/$wants.wants
&& /usr/bin/mkdir -p -m 0755 $dir && cd $dir && rm -f $what && for i
in $what; do ln -s ../$i . || exit $? ; done )
ln: failed to create symbolic link
'/tmp/yaourt-tmp-simon/aur-systemd-git/pkg/systemd-git/usr/lib/systemd/user-generators/systemd-dbus1-generator':
No such file or directory
Makefile:15631: recipe for target 'dbus1-generator-install-hook' failed
make[4]: *** [dbus1-generator-install-hook] Error 1
make[4]: *** Waiting for unfinished jobs....
Which appears to be because nothing in the build system creates
"/usr/lib/systemd/user-generators".
Unfortunately I am really bad with build systems, so could somebody
check and fix this?
Thanks.
Simon
this appears to be simpler then I tought.
diff --git a/Makefile.am b/Makefile.am
index 181b346..41171fa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1749,6 +1749,7 @@ systemd_dbus1_generator_LDADD = \
libsystemd-internal.la
dbus1-generator-install-hook:
+ $(MKDIR_P) $(DESTDIR)$(usergeneratordir)
$(AM_V_LN)$(LN_S) -f
$(systemgeneratordir)/systemd-dbus1-generator
$(DESTDIR)$(usergeneratordir)/systemd-dbus1-generator
dbus1-generator-uninstall-hook:
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel