unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* make install errors out:
@ 2012-07-30  3:34 T. V. Raman
  2012-07-30  6:06 ` Jan Djärv
  0 siblings, 1 reply; 5+ messages in thread
From: T. V. Raman @ 2012-07-30  3:34 UTC (permalink / raw)
  To: emacs-devel

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 $ 

-- 
Best Regards,
--raman



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: make install errors out:
  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
  0 siblings, 2 replies; 5+ messages in thread
From: Jan Djärv @ 2012-07-30  6:06 UTC (permalink / raw)
  To: raman; +Cc: emacs-devel

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?

	Jan D.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: make install errors out:
  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
  1 sibling, 0 replies; 5+ messages in thread
From: Jan Djärv @ 2012-07-30  6:16 UTC (permalink / raw)
  To: Jan Djärv; +Cc: emacs-devel@gnu.org, raman@google.com



30 jul 2012 kl. 08:06 skrev Jan Djärv <jan.h.d@swipnet.se>:

> 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?
> 

Forget that. The sh -x shall not be there. In my case mkdir was not used but install-sh. I will fix it. 

Thanks. 

    Jan D. 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: make install errors out:
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Aneesh Kumar K.V @ 2012-07-30  8:42 UTC (permalink / raw)
  To: Jan Djärv, raman; +Cc: emacs-devel

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.

-aneesh




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: make install errors out:
  2012-07-30  8:42   ` Aneesh Kumar K.V
@ 2012-07-30  8:57     ` Aneesh Kumar K.V
  0 siblings, 0 replies; 5+ messages in thread
From: Aneesh Kumar K.V @ 2012-07-30  8:57 UTC (permalink / raw)
  To: Jan Djärv, raman; +Cc: emacs-devel

"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




^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-30  8:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).