all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
To: "Jan Djärv" <jan.h.d@swipnet.se>, raman@google.com
Cc: emacs-devel@gnu.org
Subject: Re: make install errors out:
Date: Mon, 30 Jul 2012 14:27:03 +0530	[thread overview]
Message-ID: <87r4rtlj8g.fsf@skywalker.in.ibm.com> (raw)
In-Reply-To: <87txwpljwn.fsf@skywalker.in.ibm.com>

"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> writes:

> Jan Djärv <jan.h.d@swipnet.se> writes:
>
>> Hello.
>>
>> 30 jul 2012 kl. 05:34 skrev T. V. Raman:
>>
>>> This is after a git update:
>>> 
>>> umask 022 ; \
>>> 	  eval sh -x /bin/mkdir -p \
>>> 	    "'`echo /usr/local/share/emacs/24.1.50/site-lisp:/usr/local/share/emacs/site-lisp|sed \"s,:,' ',g\"`'"
>>> /bin/mkdir: 1: Syntax error: "(" unexpected
>>> make: *** [install-arch-indep] Error 2
>>> 20:33:58 labrador emacs $ 
>>
>> Hmm, there is no ( in that line.  What shell are you using?
>>
>
> I am also facing the same issue. using bash shell
>
> $echo $SHELL
> /bin/bash
>
> This is on ubuntu 12.04.

and lrwxrwxrwx 1 root root 4 Mar 30 00:23 /bin/sh -> dash

Reverting the below hunk of commit
f433559302d181c3aef6af02b277beef2bbd10c1 fixes this

diff --git a/Makefile.in b/Makefile.in
index 95b0931..c6df480 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -489,7 +489,8 @@ set_installuser=for installuser in $${LOGNAME} $${USERNAME} $${USER} \
 ## http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00005.html
 install-arch-indep: install-info install-man ${INSTALL_ARCH_INDEP_EXTRA}
 	umask 022 ; \
-	  $(MKDIR_P) $(DESTDIR)`echo ${locallisppath} | sed 's,:, $(DESTDIR),g'`
+	  eval sh -x $(MKDIR_P) \
+	    "'$(DESTDIR)`echo ${locallisppath}|sed \"s,:,' '$(DESTDIR),g\"`'"
 	-set ${COPYDESTS} ; \
 	unset CDPATH; \
 	$(set_installuser); \


-aneesh




      reply	other threads:[~2012-07-30  8:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-30  3:34 make install errors out: T. V. Raman
2012-07-30  6:06 ` Jan Djärv
2012-07-30  6:16   ` Jan Djärv
2012-07-30  8:42   ` Aneesh Kumar K.V
2012-07-30  8:57     ` Aneesh Kumar K.V [this message]

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

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

  git send-email \
    --in-reply-to=87r4rtlj8g.fsf@skywalker.in.ibm.com \
    --to=aneesh.kumar@linux.vnet.ibm.com \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=raman@google.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.