Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Windows 7 Install Error: "cannot make pipe for process substitution" #42

Open
ohnosee opened this issue Apr 2, 2015 · 5 comments
Open

Comments

@ohnosee
Copy link

ohnosee commented Apr 2, 2015

On windows 7 64-bit I've been trying to install a local version. It appears there is an issue with the install script on line 9. Output from Git Bash as follows:

$ git clone [email protected]:c9/core.git sdk
...
$ cd sdk

$ ./scripts/install-sdk.sh
From https://github.com/c9/core
 * [new branch]      c9         -> c9/c9
 * [new branch]      master     -> c9/master
Already up-to-date.
  % Total    % Received % Xferd  Average Speed   Time    Time
                                 Dload  Upload   Total   Spent
100 10911  100 10911    0     0   9446      0  0:00bash: canno
Function not implemented:01  0:00
-:--:--bash: cannot make pipe for process substitution: Functi
579
bash: line 9: >(tee /tmp/installlog.txt): ambiguous redirect

I was able to run the second script setup-local-dev.sh but when launching Cloud9.exe, the program hangs and the console in the dev window returns a not found error for ~/.c9/windows.settings

@nightwing
Copy link
Contributor

Googling for this error brings up
http://git.661346.n2.nabble.com/PATCH-completion-fix-issue-with-process-substitution-not-working-on-Git-for-Windows-td6929795.html
Could you try updating you git to a newer version, it works with the latest one (1.9.5)

@ohnosee
Copy link
Author

ohnosee commented Apr 6, 2015

My git is already at 1.9.5

$ git --version
git version 1.9.5.msysgit.0

$ ./scripts/install-sdk.sh
Already up-to-date.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10911  100 10911bash: cannot make pipe for process substitution: Function not implemented
   6661   bash: cannot make pipe for process substitution: Function not implemented
0  0:00:01  0:0bash: line 9: >(tee /tmp/installlog.txt): ambiguous redirect0
01 --:--:--  6661
(23) Failed writing body

@nightwing
Copy link
Contributor

Could you try to change the first line to #!/bin/bash -ex and comment out updateCore || true line to try to find which part of the script causes this issue

@ohnosee
Copy link
Author

ohnosee commented Apr 6, 2015

Here's the output from Git Bash after doing that:

$ ./scripts/install-sdk.sh
++ dirname ./scripts/install-sdk.sh
+ cd ./scripts/..
++ pwd
+ SOURCE=/c/Users/jacka/c9win/sdk
++ uname -a
+ uname='MINGW32_NT-6.1 A10186 1.0.12(0.46/3/2) 2012-07-05 14:56 i686 unknown'
+ os=
++ uname -m
+ arch=i686
+ case "$uname" in
+ os=windows
+ case "$uname" in
+ arch=x86
+ red=''
+ green=''
+ yellow=''
+ blue=''
+ magenta=''
+ resetColor=''
+ NPM=npm
+ NODE=node
+ installGlobalDeps
+ [[ -f /c/Users/jacka/.c9/installed ]]
+ curl https://raw.githubusercontent.com/c9/install/master/install.sh
+ bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10911  100 10911    0     0   8136      0  0:00:01  0bash: cannot make pipe for process substitu
tion: Function not implemented:
:01 --:--bash: cannot make pipe for process substitution: Function not implemented:-
  822bash: line 9: >(tee /tmp/installlog.txt): ambiguous redirect8

@ErnWong
Copy link

ErnWong commented Apr 7, 2015

Is it because git bash doesn't currently support the line exec > >(tee /tmp/installlog.txt)?

I got the same output from my git bash with versions

$ git --version
git version 1.9.5.msysgit.1

$ bash --version
GNU bash, version 3.1.23(6)-release (i686-pc-msys)
Copyright (C) 2005 Free Software Foundation, Inc.

Then I tried using cygwin instead, and those errors vanished, but I can't seem to run Cloud9.exe...

$ ./build/win32-dev/bin/Cloud9.exe
[6408:0403/230520:FATAL:content_main_runner.cc(720)] Check failed: base::i18n::InitializeICU().

Double clicking on cloud9.exe doesn't open either, and logged an error in the Windows Event Viewer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants