|
From: | Robert Jenssen |
Subject: | [Octave-bug-tracker] [bug #48580] Install fails after configuring with --disable-docs |
Date: | Thu, 21 Jul 2016 09:18:16 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?48580> Summary: Install fails after configuring with --disable-docs Project: GNU Octave Submitted by: morgawr Submitted on: Thu 21 Jul 2016 09:18:14 AM GMT Category: Configuration and Build System Severity: 3 - Normal Priority: 5 - Normal Item Group: Build Failure Status: None Assigned to: None Originator Name: Robert Jenssen Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: GNU/Linux _______________________________________________________ Details: I tried to build with --disable-docs: ../octave/configure --prefix=/usr/local/octave-disable-docs --disable-docs make -j 6 && make install The build fails at "make install" with: /usr/bin/mkdir -p /usr/local/octave-disable-docs/share/octave/4.1.0+/etc f=libinterp/DOCSTRINGS; \ if test -f $f; then d=; else d="../octave/"; fi; \ /usr/bin/install -c -m 644 "$d$f" /usr/local/octave-disable-docs/share/octave/4.1.0+/etc/built-in-docstrings /usr/bin/install: cannot stat '../octave/libinterp/DOCSTRINGS': No such file or directory Makefile:27109: recipe for target 'install-built-in-docstrings' failed make[4]: *** [install-built-in-docstrings] Error 1 The following patch fixes the problem: diff -r bbaeaed0c584 libinterp/module.mk --- a/libinterp/module.mk Wed Jul 20 16:33:58 2016 -0400 +++ b/libinterp/module.mk Thu Jul 21 18:53:26 2016 +1000 @@ -323,11 +323,16 @@ endif .PHONY: install-oct uninstall-oct +if AMCOND_BUILD_DOCS install-built-in-docstrings: $(MKDIR_P) $(DESTDIR)$(octetcdir) f=libinterp/DOCSTRINGS; \ if test -f $$f; then d=; else d="$(srcdir)/"; fi; \ $(INSTALL_DATA) "$$d$$f" $(DESTDIR)$(octetcdir)/built-in-docstrings +else +install-built-in-docstrings: + +endif .PHONY: install-built-in-docstrings uninstall-built-in-docstrings: _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?48580> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |