On Thu, Feb 27, 2020 at 02:55:17PM +0000, synflower--- via isync-devel wrote:
make[1]: Entering directory '/home/user/isync-isync' Can't locate Date/Parse.pm in @INC (you may need to install the Date::Parse module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at -e line 1. BEGIN failed--compilation aborted at -e line 1. make[1]: *** [Makefile:924: log] Error 2 make[1]: Leaving directory '/home/user/isync-isync'
actually, i haven't been paying close enough attention:
make: *** [Makefile:500: install-recursive] Error 1
this means that the 'log' target is re-executed during installation as root, which will of course fail, because the cpan installation is private to the regular user.
try the attached patch.
>From b9fb9ff014f89dcd06fe2ea5728153ebd159e72f Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen <o...@users.sf.net> Date: Fri, 28 Feb 2020 12:10:07 +0100 Subject: [PATCH] don't re-generate ChangeLog if it already exists ... unless the 'log' target is explicitly called. otherwise, we'd re-generate it during 'install' as well. --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 0265667..a0d91ea 100644 --- a/Makefile.am +++ b/Makefile.am @@ -47,7 +47,9 @@ LOG_PL = \ print $$log."\n"; \ } -$(srcdir)/ChangeLog: log +$(srcdir)/ChangeLog: + $(MAKE) log + log: @test -z "$(srcdir)" || cd $(srcdir) && \ ( ! test -d .git || \ -- 2.23.0.1.g9111c1b4df
_______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel