emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernd Haug <bernd.haug@xaidat.com>
To: emacs-orgmode@gnu.org
Subject: Re: Paths including spaces fail the installation: Patch
Date: Mon, 22 Apr 2013 15:33:17 +0200	[thread overview]
Message-ID: <CAKjxQA3_KWd2=6YQuwFqW9nUd2iSbVi_+9YNiJddRNf2SExf_w@mail.gmail.com> (raw)
In-Reply-To: <87r4jifpcg.fsf@Rainer.invalid>

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 <Stromeko@nexgo.de> wrote:
>> BS-Quoting and Doublequote-ing were the first things I tried:
> […]
>
> 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 = $(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

  reply	other threads:[~2013-04-22 13:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-13 15:03 Bernd Haug
2013-03-13 16:05 ` Bastien
2013-03-13 18:10 ` Achim Gratz
2013-03-14  6:49   ` Achim Gratz
2013-04-22 13:33     ` Bernd Haug [this message]
2013-04-22 15:47       ` Achim Gratz
2013-04-23  6:22         ` Bernd Haug
2013-04-23 16:56           ` Achim Gratz
2013-04-25 10:24             ` Bernd Haug

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKjxQA3_KWd2=6YQuwFqW9nUd2iSbVi_+9YNiJddRNf2SExf_w@mail.gmail.com' \
    --to=bernd.haug@xaidat.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).