emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Paths including spaces fail the installation: Patch


From: Bernd Haug
Subject: Re: [O] Paths including spaces fail the installation: Patch
Date: Mon, 22 Apr 2013 15:33:17 +0200

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 <address@hidden> 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.

----------------------------------------------------------------------------------------------------------------

address@hidden:~/Library/Application Support/Aquamacs
Emacs/org-mode$ git describe --always --long --dirty
release_8.0.1-14-g2e67699
address@hidden:~/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
address@hidden:~/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 via email to

[Prev in Thread] Current Thread [Next in Thread]