From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernd Haug Subject: Re: Paths including spaces fail the installation: Patch Date: Mon, 22 Apr 2013 15:33:17 +0200 Message-ID: References: <87ip4vnpau.fsf@Rainer.invalid> <87r4jifpcg.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUGsJ-0005cv-Qv for emacs-orgmode@gnu.org; Mon, 22 Apr 2013 09:33:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUGsG-0007KV-3m for emacs-orgmode@gnu.org; Mon, 22 Apr 2013 09:33:43 -0400 Received: from mail-bk0-x230.google.com ([2a00:1450:4008:c01::230]:59940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUGsF-0007Jt-Ol for emacs-orgmode@gnu.org; Mon, 22 Apr 2013 09:33:40 -0400 Received: by mail-bk0-f48.google.com with SMTP id jf3so2644415bkc.35 for ; Mon, 22 Apr 2013 06:33:38 -0700 (PDT) In-Reply-To: <87r4jifpcg.fsf@Rainer.invalid> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello Achim! Finally got to it; pulled up to current (cf shell output below), appended your snippet to local.mk and did a clean install: On 14 March 2013 07:49, Achim Gratz wrote: >> BS-Quoting and Doublequote-ing were the first things I tried: > [=E2=80=A6] > > Yes I see, that is due to inadvertent double quoting. Try this > definition in local.mk (not the extra two single quotes around > $(datadir)): > > --8<---------------cut here---------------start------------->8--- > # How to generate org-version.el > MAKE_ORG_VERSION =3D $(BATCHL) \ > --eval '(load "org-compat.el")' \ > --eval '(load "../mk/org-fixup.el")' \ > --eval '(org-make-org-version "$(ORGVERSION)" "$(GITVERSION)" "= '$(datadir)'")' > --8<---------------cut here---------------end--------------->8--- > > Please test, I'll push the fix if it solves your problem. ---------------------------------------------------------------------------= ------------------------------------- bernd.haug@sliver:~/Library/Application Support/Aquamacs Emacs/org-mode$ git describe --always --long --dirty release_8.0.1-14-g2e67699 bernd.haug@sliver:~/Library/Application Support/Aquamacs Emacs/org-mode$ make clean install rm -f make -C lisp clean rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc org-install.elc rm -f *.elc make -C doc clean rm -f org *.pdf *.html *_letter.tex org-version.inc \ *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs \ *.toc *.tp *.tps *.vr *.vrs *.log *.html *.ps make -C doc install org-version: 8.0.1 (release_8.0.1-14-g2e6769) makeinfo --no-split org.texi -o org if [ ! -d /Users/bernd.haug/Library/Application Support/Aquamacs Emacs/org/info ]; then install -m 755 -d /Users/bernd.haug/Library/Application Support/Aquamacs Emacs/org/info; else true; fi ; /bin/sh: line 0: [: too many arguments install -m 644 -p org /Users/bernd.haug/Library/Application Support/Aquamacs Emacs/org/info usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... make[1]: *** [install] Error 64 make: *** [install-doc] Error 2 bernd.haug@sliver:~/Library/Application Support/Aquamacs Emacs/org-mode$ ---------------------------------------------------------------------------= ------------------------------------- Problem seems to be, as before, that without proper quoting in the right places *in the shell commands* paths with spaces fall apart into separate arguments. My (tiny and trivial) patch from back in Mar addressed only that and the installation went off without a hitch with it. Of course you're entirely right that the makefiles themselves do not care, and the elisp doesn't have problems with it either. Sorry for the delay and thank you for your consideration, Bernd