[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make install errors out:
From: |
Aneesh Kumar K.V |
Subject: |
Re: make install errors out: |
Date: |
Mon, 30 Jul 2012 14:27:03 +0530 |
User-agent: |
Notmuch/0.13.2+63~g548a9bf (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) |
"Aneesh Kumar K.V" <address@hidden> writes:
> Jan Djärv <address@hidden> 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