Giter Club home page Giter Club logo

install's Introduction

Cloud9 SSH installer

The SSH workspace type of Cloud9 IDE allows to connect the IDE to any SSH server. This repository contains the scripts to install all the required dependencies.

curl -L https://raw.githubusercontent.com/c9/install/master/install.sh | bash

or

wget -O - https://raw.githubusercontent.com/c9/install/master/install.sh | bash

install's People

Contributors

adibalcan avatar aureliojargas avatar clashthebunny avatar dmalan avatar fno2010 avatar gergely-marko avatar iliabv avatar johnkday avatar justin8 avatar keyboarddrummer avatar lennartcl avatar mastrolinux avatar naufraghi avatar nightwing avatar pike avatar timjrobinson avatar timkalinowski avatar uniibu avatar zacharysang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

install's Issues

Compile error for ncurses

When I ran the script on my Arch Linux server, it gave me a compile error for ncurses:

In file included from ../ncurses/curses.priv.h:283:0,
                 from ../ncurses/lib_gen.c:19:
_24568.c:835:15: error: expected ‘)’ before ‘int’
../include/curses.h:1594:56: note: in definition of macro ‘mouse_trafo’
 #define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
                                                        ^
Makefile:785: recipe for target '../objects/lib_gen.o' failed
make[1]: *** [../objects/lib_gen.o] Error 1
make[1]: Leaving directory '/home/account/.c9/ncurses-5.9/ncurses'
Makefile:109: recipe for target 'all' failed
make: *** [all] Error 2

Installing tmux by myself fixes this problem, but for the people that don't have tmux installed by default, this is a big issue.


make:

GNU Make 4.1
Built for x86_64-unknown-linux-gnu
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Proxy Support

Would be great if corporate proxy support could be added. I've got HTTPS_PROXY set but it doesn't look like it is being honored.

Install fails on Ubuntu 14.04 if gyp is system installed

There is a chicken-egg problem on line 76, if a system gyp is found $NPM is supposed to be installed, but it is not yet:

But it fails later too, after removing the system gyp, with:

/home/admin/.c9/node/lib/node_modules/npm/bin/node-gyp-bin/node-gyp: line 2: node: command not found
npm ERR! Linux 3.13.0-44-generic
npm ERR! argv "/home/admin/.c9/node/bin/node" "/home/admin/.c9/node/bin/npm" "install" "[email protected]"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the pty.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls pty.js
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/admin/.c9/npm-debug.log
admin@cloud9:~$ sudo apt-get remove gyp

After investigating bit the problem is that the just downloaded pty.js package has still the normal shebang #!/usr/bin/env node and so an easy fix is to add $(dirname $NODE) to the PATH as done for the node_modules/.bin.

Installation fails in CentOS 7

Steps to reproduce:

  1. Fresh install a vm running centos 7
  2. enter this into command line:
curl -L https://raw.githubusercontent.com/c9/install/master/install.sh | bash

expected: .c9 dir should be full and install should be complete.without switching to root or sudo

result: Error: intall fails because dependencies are not found for curses, livbevent, and sudo was needed to complete install

Fix: The Following command fixed the issue for me:

sudo yum install libevent-devel ncurses-devel glibc-static

This is because of tmux, more details found here: https://groups.google.com/forum/#!topic/iterm2-discuss/wfYur0iSXdQ

Can't install / upgrade on Ubuntu 14.04 LTS (GNU/Linux 3.13.0-29-generic x86_64)

I have a previous installation of c9 and would like to update because the debugger is not working.

Steps:

Errors:


...
> [email protected] install /root/.c9/node_modules/pty.js
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.30"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/root/.c9/node_modules/pty.js/.node-gyp"
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.c9/node_modules/pty.js/.node-gyp/0.10.30"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/root/.c9/node_modules/pty.js/.node-gyp"
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.c9/node_modules/pty.js/.node-gyp/0.10.30"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/root/.c9/node_modules/pty.js/.node-gyp"
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.c9/node_modules/pty.js/.node-gyp/0.10.30"

Those directories don't even exist.

Problem installing on Centos 6.5

Build fails on 6.5

[email protected] install /home/dev/.c9/node_modules/sqlite3
node build.js

[sqlite3]: Checking for http://node-sqlite3.s3.amazonaws.com/Release/node_sqlite3-v2.1.a-node-v11-linux-x64.tar.gz
[sqlite3]: Downloaded to: /home/dev/.c9/tmp/node-sqlite3-Release/node_sqlite3-v2.1.a-node-v11-linux-x64.tar.gz
[sqlite3]: Checking for http://node-sqlite3.s3.amazonaws.com/Release/node_sqlite3-v2.1.a-node-v11-linux-x64.sha1.txt
[sqlite3]: Sha1sum matches! 822cc5103a2d6788ff2b6882ea98675a387bd45e
[sqlite3]: Extracting to lib/binding/Release
[sqlite3]: Testing the binary failed: "Command failed:
module.js:356
Module._extensions[extension](this, filename);
^
Error: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/dev/.c9/node_modules/sqlite3/lib/binding/Release/node-v11-linux-x64/node_sqlite3.node)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/dev/.c9/node_modules/sqlite3/lib/sqlite3.js:7:15)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
"

Problem compiling tmux on Arch Linux

Error:

configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
:Compiling Tmux
depbase=`echo arguments.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DPACKAGE_NAME=\"tmux\" -DPACKAGE_TARNAME=\"tmux\" -DPACKAGE_VERSION=\"1.9\"-\
DPACKAGE_STRING=\"tmux\ 1.9\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" - \
DPACKAGE=\"tmux\" -DVERSION=\"1.9\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 - \
DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 - \
DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 - \
DHAVE_CURSES_H=1 -DHAVE_DIRENT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 - \
DHAVE_NCURSES_H=1 -DHAVE_PATHS_H=1 -DHAVE_PTY_H=1 -DHAVE_STDINT_H=1 - \
DHAVE_SYS_DIR_H=1 -DHAVE_TERM_H=1 -DHAVE_BSD_TYPES=1 -DHAVE_PROC_PID=1 -I.  \ 
-I/home/kusayu/.c9/local/include -I/home/kusayu/.c9/local/include -\
I/home/kusayu/.c9/local/include/ncurses -DTMUX_CONF="\"/etc/tmux.conf\""  -iquote. -\
I/usr/local/include     -I/home/kusayu/.c9/local/include -I/home/kusayu/.c9/local/include/ncurses -\
D_GNU_SOURCE -std=gnu99  -O2   -MT arguments.o -MD -MP -MF $depbase.Tpo -c -o arguments.o \
arguments.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from /usr/include/string.h:634:0,
                 from arguments.c:22:
compat.h:196:8: error: expected identifier or ‘(’ before ‘__extension__’
 char  *strsep(char **, const char *);
        ^
compat.h:196:8: error: expected identifier or ‘(’ before ‘)’ token
 char  *strsep(char **, const char *);
        ^
Makefile:842: recipe for target 'arguments.o' failed                                                                                                                          
make: *** [arguments.o] Error 1

UPD:

>>>tmux -V   
tmux 1.9a
>>>which tmux
/usr/bin/tmux

Wrong arch value in install.sh on Raspbery PI

The logic to figure out the os and arch for binary fetching in install.sh is flawed.
On my RaspberryPi uname -a looks like this:
Linux greenpi 4.1.20-v7+ #862 SMP Sat Mar 19 20:37:37 GMT 2016 armv7l GNU/Linux
the case for the x86 architecture *i*86* matches my kernel version in error and the script thinks my arch is x86 rather than arm-pi due to armv71.
so this case block must be improved:

  case "$uname" in
    *x86_64*) arch=x64 ;;
    *i*86*) arch=x86 ;;
    *armv6l*) arch=arm-pi ;;
    *armv7l*) arch=arm-pi ;;
  esac


(sorry it's my first entry on github. That's the best i can explain it)

MacOS tmux install error

When installing on MacOS Mojave, the installer downloads tmux through homebrew, but it installs version 2.8. In the script, it checks that tmux is between 1.9 and 2.2, so the installer never passes. I added @2.2 on the brew install line of the script:

370: brew install [email protected] > /dev/null || (brew remove tmux &>/dev/null && brew install [email protected] >/dev/null)
371: ln -sf "$(which tmux)" "$C9_DIR"/bin/tmux

However, this does not work because homebrew does not have a version 2.2 of tmux. Should I install 2.8 and override the restrictions?

if [ "$("$PYTHON" -c "print 1.7<=$tmux_version and $tmux_version <= 2.2")" == "True" ]; then
  return 0
else
  return 1
fi

It seems to have worked (replace 2.2 with 2.8 in the version max), but I wanted to post this in case others are having this problem.

Error: "curses not found"

.. when install script runs :Configuring Tmux. Amazon Linux AMI 2016.03.h x86_64 ECS HVM GP2.

Solution: sudo yum install glibc-static

Bug: working directory is not reset after compile_tmux()

After compile_tmux(), the working directory will be under $C9_DIR/tmux-1.9. It will make ptyjs() failed.

install.sh: 115

      # make sure dirs are around
      mkdir -p "$C9_DIR"/bin
      mkdir -p "$C9_DIR"/tmp
      mkdir -p "$C9_DIR"/node_modules
      cd "$C9_DIR"

      # install packages
      while [ $# -ne 0 ]
      do
        if [ "$1" == "tmux" ]; then
          time tmux_install $os $arch
          shift
          continue
        fi
        #===================================
        # somtimes, CWD is not $C9_DIR here
        #===================================
        time eval ${1} $os $arch
        shift
      done

Timeout triggered on new SSH workspace having nodejs v6.4.0

I'm getting a "Timeout" error message when trying to create a new SSH workspace. I've looked at into a workspace I successfully created a week ago, and I realized that I'm running nodejs 6.3.1 on that server.
On the current server, I downgraded nodejs from v6.4 to v6.3.1, and successfully proceeded with a new workspace installation. Problem solved after noticing the different version.
Cheers

Cloud9 installer always fails at "Installing SAM Local" stage

No matter what server is used, I always get this error:

Package c9.ide.lambda 5
-----------------------
Installing SAM Local
-
> [email protected] postinstall /root/.c9/node/lib/node_modules/aws-sam-local
> go-npm install

Downloading from URL: https://github.com/awslabs/aws-sam-local/releases/download/v0.2.11/sam_0.2.11_linux_amd64.tar.gz
[email protected] /root/.c9/node/lib/node_modules/aws-sam-local
└── [email protected] ([email protected], [email protected], [email protected])
npm ERR! Linux 4.15.0-23-generic
npm ERR! argv "/root/.c9/node/bin/node" "/root/.c9/node/bin/npm" "explore" "-g" "[email protected]" "--" "ln -sfv $(pwd)/bin/* /usr/bin/"
npm ERR! node v4.8.7
npm ERR! npm  v2.15.11

npm ERR! It doesn't look like [email protected] is installed.
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>


Failed npm-g. Exit code 1

One or more errors occured. Please try to resolve them and restart AWS Cloud9 or visit https://forums.aws.amazon.com/forum.jspa?forumID=268

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

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

It doesn't works for me on Ubuntu 10.04.4 Server 64b

Following are three attempts that failed, am I the only one having these problems?

root@me:~# curl https://raw.github.com/c9/install/master/install.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
root@me:~# wget -O - https://raw.github.com/c9/install/master/install.sh | bash
--2014-05-14 00:07:16--  https://raw.github.com/c9/install/master/install.sh
Resolving raw.github.com... 185.31.16.133
Connecting to raw.github.com|185.31.16.133|:443... connected.
ERROR: certificate common name `www.github.com' doesn't match requested host name `raw.github.com'.
To connect to raw.github.com insecurely, use `--no-check-certificate'.
root@me:~# wget -O --no-check-certificate - https://raw.github.com/c9/install/master/install.sh | bash
--2014-05-14 00:08:44--  http://-/
Resolving -... failed: Name or service not known.
wget: unable to resolve host address `-'
--2014-05-14 00:08:44--  https://raw.github.com/c9/install/master/install.sh
Resolving raw.github.com... 185.31.16.133
Connecting to raw.github.com|185.31.16.133|:443... connected.
ERROR: certificate common name `www.github.com' doesn't match requested host name `raw.github.com'.
To connect to raw.github.com insecurely, use `--no-check-certificate'.

Small improvement suggestions

  • force ncurses to use the dynamic version of libutl by taking out the -static flag and letting it pick which one to use itself. I linked the systems libutil.so into ncurses-5.9/lib.
  • The script should be able to test to see if python 2.7 is on a system with the name python2, or python2.7.

Urgent pty issue

We are having an issue when attempting to install C9 we are getting:
--2018-04-09 19:21:19-- https://github.com/c9/install/releases/download/bin/pty-v4.8.7-linux-x64.tar.gz
Resolving github.com (github.com)... 192.30.255.112, 192.30.255.113
Connecting to github.com (github.com)|192.30.255.112|:443... connected.
HTTP request sent, awaiting response... 404 Not Found

Which we were able to confirm that pty is no longer available in this repo. Please update the installer to point to a new version or reload the repo with the version requested in the code.

Thank you

Install c9dsk in opensuse 13.2

I try to install c9 in opensuse, and i get an error during the phase compiling tmux

  • built new /home/Elie/.c9/local/share/terminfo
    ln: impossible de créer le lien symbolique « /home/Elie/.c9/local/lib/terminfo »: Aucun fichier ou dossier de ce type
    ** could not sym-link /home/Elie/.c9/local/lib/terminfo for compatibility
    installing std
    installing stdcrt
    installing vt100
    installing vt300
    /usr/bin/install -c ncurses-config /home/Elie/.c9/local/bin/ncurses5-config
    make[1]: Leaving directory '/home/Elie/.c9/ncurses-5.9/misc'
    :Compiling tmux...
    :Configuring Tmux
    configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for gcc... gcc
    checking whether the C compiler works... no
    configure: error: in /home/Elie/.c9/tmux-1.9': configure: error: C compiler cannot create executables Seeconfig.log' for more details

Thanks for your help

How To Run Docker container for HTML work space inorder to migrate C9 workspace to local computer?

Hello Team,

We are trying to do the migration of C9 workspace on to Local computer. Following is the link which we have followed till now. For that, I downloaded my project using workspace image option. Now we are trying to run docker container for HTML project using Docker ToolBox. Here is the command which we have used.

docker run --privileged -e "IP=192.168.99.100" -e "PORT=8080" --name myc9ws --mount type=bind,source="$(pwd)"/home/workspace,target=/var/www/html -d -t -p 5050:5050 -p 8080-8082:8080-8082 cloud9/ws-html5

Container status showing as running. but I didn’t get my HTML Project while hitting the URL in the browser .

How could I access the workspace(dashboard)?

I am new to C9. so, Can you please suggest(any preferable links) regarding on what might be the exact paths(source, target) we should give at mount options for HTML workspace with an example?

Is it the workspace image option right for downloading the C9 workspace?

build err

OS : Ubuntu 18.10
Openssl V : 1.1

Build fails because libevent 2.0.22 doesn't support openssl 1.1, compile went well after using libevent 2.1.8

Depends on compiling sources

It is unusual to recompile code on a server platform. It is preferred to use installed packages, either using apt-get or yum. This way no compiler toolchain is needed on the targeted platform.

BeagleBone Black not supported

Apparently there is no BeagleBone black build of Node 0.10.28+, therefore the installer currently doesn't support it. See #16 (comment) for an attempted fix. A better fix might be to make the installer install 0.10.3 only on BeagleBone, but it's unclear if that version has the chjj/pty.js#68 bug.

Terminal doesn't start

Because of unknown reason my cloud9 terminal session doesn't start after project loading. It's not possible to type a single symbol. Looks like a GUI is frozen, but the left side of IDE with folders structure still responsive. I can navigate through folders and edit files. When I try to load a new terminal window via Alt+T combination I've got a new tab with icon of loading process and then nothing happens. In one of attempts after a while I got a message to configure some parameter with some value but it disappeared so fast so I can't describe what was that message about exactly. Looks like it's not only my very issue as I found out after some googling but there is now valid resolve of this problem. Looking forward for your help, guys. Thanks!

Use on NixOS

How do I use it on NixOS? It downloads and runs dynamic binaries.

Cannot connect to terminal

I tried to get the SDK working on a linux machine (Ubuntu Server).
When I start up the application I cannot use the terminal.

It constantly reconnects to the server opening and closing the session immediately. I noticed this because I receive emails when a new user session on that server is opened.
When looking into the browser console I noticed the following trace entry coming up with each failed try to connect the terminal:

tmux_connection.js:202 --> Disregard terminal: devel_288

Any ideas on how to resolve the problem?

problem compiling ncurses

I'm trying to install but after


./scripts/install-sdk.sh script

During ncurses compiling appear this error:


ar -curv ../lib/libform_g.a ../obj_g/f_trace.o ../obj_g/fld_arg.o ../obj_g/fld_attr.o ../obj_g/fld_current.o ../obj_g/fld_def.o ../obj_g/fld_dup.o ../obj_g/fld_ftchoice.o ../obj_g/fld_ftlink.o ../obj_g/fld_info.o ../obj_g/fld_just.o ../obj_g/fld_link.o ../obj_g/fld_max.o ../obj_g/fld_move.o ../obj_g/fld_newftyp.o ../obj_g/fld_opts.o ../obj_g/fld_pad.o ../obj_g/fld_page.o ../obj_g/fld_stat.o ../obj_g/fld_type.o ../obj_g/fld_user.o ../obj_g/frm_cursor.o ../obj_g/frm_data.o ../obj_g/frm_def.o ../obj_g/frm_driver.o ../obj_g/frm_hook.o ../obj_g/frm_opts.o ../obj_g/frm_page.o ../obj_g/frm_post.o ../obj_g/frm_req_name.o ../obj_g/frm_scale.o ../obj_g/frm_sub.o ../obj_g/frm_user.o ../obj_g/frm_win.o ../obj_g/fty_alnum.o ../obj_g/fty_alpha.o ../obj_g/fty_enum.o ../obj_g/fty_generic.o ../obj_g/fty_int.o ../obj_g/fty_ipv4.o ../obj_g/fty_num.o ../obj_g/fty_regex.o
r - ../obj_g/f_trace.o
r - ../obj_g/fld_arg.o
r - ../obj_g/fld_attr.o
r - ../obj_g/fld_current.o
r - ../obj_g/fld_def.o
r - ../obj_g/fld_dup.o
r - ../obj_g/fld_ftchoice.o
r - ../obj_g/fld_ftlink.o
r - ../obj_g/fld_info.o
r - ../obj_g/fld_just.o
r - ../obj_g/fld_link.o
r - ../obj_g/fld_max.o
r - ../obj_g/fld_move.o
r - ../obj_g/fld_newftyp.o
r - ../obj_g/fld_opts.o
r - ../obj_g/fld_pad.o
r - ../obj_g/fld_page.o
r - ../obj_g/fld_stat.o
r - ../obj_g/fld_type.o
r - ../obj_g/fld_user.o
r - ../obj_g/frm_cursor.o
r - ../obj_g/frm_data.o
r - ../obj_g/frm_def.o
r - ../obj_g/frm_driver.o
r - ../obj_g/frm_hook.o
r - ../obj_g/frm_opts.o
r - ../obj_g/frm_page.o
r - ../obj_g/frm_post.o
r - ../obj_g/frm_req_name.o
r - ../obj_g/frm_scale.o
r - ../obj_g/frm_sub.o
r - ../obj_g/frm_user.o
r - ../obj_g/frm_win.o
r - ../obj_g/fty_alnum.o
r - ../obj_g/fty_alpha.o
r - ../obj_g/fty_enum.o
r - ../obj_g/fty_generic.o
r - ../obj_g/fty_int.o
r - ../obj_g/fty_ipv4.o
r - ../obj_g/fty_num.o
r - ../obj_g/fty_regex.o
ranlib ../lib/libform_g.a
make[1]: uscita dalla directory "/home/pietro/.c9/ncurses-5.9/form"
cd test && make DESTDIR="" all
make[1]: ingresso nella directory "/home/pietro/.c9/ncurses-5.9/test"
gcc -I. -I. -I../test -DHAVE_CONFIG_H  -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/pietro/.c9/local/include/ncurses -O2 --param max-inline-insns-single=1200  -c ../test/background.c -o ../objects/background.o
gcc -O2 --param max-inline-insns-single=1200  -o background ../objects/background.o  -I. -I. -I../test -DHAVE_CONFIG_H  -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/pietro/.c9/local/include/ncurses -O2 --param max-inline-insns-single=1200  `echo "-static -L../lib -lform -lmenu -lpanel -lncurses  -dynamic  -ldl " | sed -e 's/-lform.*-lpanel[^ ]*//'` -lutil  -lm
/usr/bin/ld: impossibile trovare -lutil
collect2: error: ld returned 1 exit status
Makefile:229: set di istruzioni per l'obiettivo "background" non riuscito
make[1]: *** [background] Errore 1
make[1]: uscita dalla directory "/home/pietro/.c9/ncurses-5.9/test"
Makefile:109: set di istruzioni per l'obiettivo "all" non riuscito

On archLinux

Timeout scripts?

With vscode now having a remote ssh option the IDE functionality of Cloud9 is largely deprecated since most will be using the vscode progressive web app or whatever AWS editor PWA eventually gets released. I really want to stay on AWS and not spin up Github Workers and Github Codespaces on Azure.

Any way you could make the Cloud9 timeout scripts public or reference the directory they are at so I can pop a Cloud9 instance and look? I would like to have a CloudFormation script that booted an EC2 Ubuntu 20.04 with the IDE timeout scripts. If they are too tightly coupled with Cloud9 I could probably refactor to include a simple timer daemon and figure out how to trigger it via SSH use. To lower costs I would like to have two EC2s on the same EBS volume - a smaller one for day to day - and a full metal when I need a beast to compile something like Chrome.

CentOS 7 install fails at multiple parts

If you spin up an AWS EC2 Instance running the CentOS 7 AMI and choose to have Cloud9 install into that instance, the install will fail at various parts.

Issue 1: "Can't install gcc,g++"
solution: sudo yum install gcc gcc-g++

Issue 2: Can't compile tmux. "curses not found"
Solution: sudo yum install glibc-static ncurses-devel

Issue 3 "Group 'docker' not found"
Solution: sudo grouped docker && sudo usermod -aG docker $USER

Issues with pylint

If another python is installed by default (like anaconda in the path),
install script failed (conflict wiht /usr/bin/python )

Security Concern about downloading packages from github

Context:

DOWNLOAD https://raw.githubusercontent.com/c9/install/master/packages/*

Problem:

  1. Download is not locked down to a particular revision (master)
  2. Download integrity is not verified.

I am no security expert but I would be happy to elaborate on why these are problems if desired.

Can not install Package Cloud9 CLI

Hi there,

I am a c9.io user since years and now I want to migrate to AWS: Since hours I am trying to get the AWS Cloud9 running through SSH to my DigitalOcean droplet. Unfortunely I always get this error while installing C9 CLI:

cat /root/.c9/empty/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/root/.c9/node/bin/node',
1 verbose cli   '/root/.c9/node/bin/npm',
1 verbose cli   'explore',
1 verbose cli   '-g',
1 verbose cli   'c9',
1 verbose cli   '--',
1 verbose cli   'ln -sfv $(pwd)/bin/* /usr/bin/' ]
2 info using [email protected]
3 info using [email protected]
4 verbose stack Error: spawn ENOENT
4 verbose stack     at ChildProcess.<anonymous> (/root/.c9/node/lib/node_modules/npm/lib/utils/spawn.js:33:16)
4 verbose stack     at emitTwo (events.js:106:13)
4 verbose stack     at ChildProcess.emit (events.js:191:7)
4 verbose stack     at maybeClose (internal/child_process.js:852:16)
4 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
5 verbose cwd /root/.c9/empty
6 error Linux 4.15.0-42-generic
7 error argv "/root/.c9/node/bin/node" "/root/.c9/node/bin/npm" "explore" "-g" "c9" "--" "ln -sfv $(pwd)/bin/* /usr/bin/"
8 error node v6.3.1
9 error npm  v3.10.3
10 error file /bin/bash
11 error code ENOENT
12 error errno ENOENT
13 error syscall spawn
14 error enoent spawn ENOENT
15 error enoent spawn ENOENT
15 error enoent This is most likely not a problem with npm itself
15 error enoent and is related to npm not being able to find a file.
15 error enoent
15 error enoent Check if the file '/bin/bash' is present.
16 verbose exit [ 1, true ]

My installations:

$ which node
/root/.nvm/versions/node/v11.5.0/bin/node
$ node --version
v11.5.0
$ npm --version
6.4.1
$ python --version
Python 2.7.15rc1

I have installed node with NVM. But also tried with apt-get but the problem persists. Also, I tried to recreate the complete workspace. Another try was to install the c9/install .sh script directly but then I get the following error:

Couldn't load node modules sqlite3 and sequelize from /root/.c9/node_modules node version: v6.3.1; node execPath /root/.c9/node/bin/node Error: Cannot find module '/root/.c9/node_modules/sqlite3/lib/binding/node-v48-linux-x64/node_sqlite3.node' Error: Cannot find module '/root/.c9/node_modules/sqlite3/lib/binding/node-v48-linux-x64/node_sqlite3.node'
AWS Cloud9 detected you are missing one or more collab dependencies. Would you like to open the installer to update to the latest version?

I have also searched the forum and found similar questions but unfortunely no answer:

AWS Forum Reference - sorry for double posting, but I do not exactly know what is the correct destination for this question: https://forums.aws.amazon.com/thread.jspa?threadID=295600

Best regards,
Matthew :-)

Terminal stopped working suddenly for my all the CENTOS 7 Servers

Hi,
Everything was working till yesterday suddenly terminal stopped working on my all the centos 7 and i tried re-installing everything but still no help.

Screenshot 2021-01-28 at 10 25 08 PM

Check below console log

react_devtools_backend.js:2430 Error connecting to the terminal:  {stack: "18089: 3653: TypeError: Cannot set property 'reada…ChildProcess.EventEmitter.emit (domain.js:506:15)", message: "Cannot set property 'readable' of undefined"}message: "Cannot set property 'readable' of undefined"stack: "18089: 3653: TypeError: Cannot set property 'readable' of undefined↵    at check (eval at o ([eval]:1:1553), <anonymous>:10114:39)↵    at eval (eval at o ([eval]:1:1553), <anonymous>:10102:22)↵    at resolvePath (eval at o ([eval]:1:1553), <anonymous>:8757:14)↵    at ptyspawn (eval at o ([eval]:1:1553), <anonymous>:10092:9)↵    at run (eval at o ([eval]:1:1553), <anonymous>:10572:17)↵    at start (eval at o ([eval]:1:1553), <anonymous>:10538:13)↵    at eval (eval at o ([eval]:1:1553), <anonymous>:10400:43)↵    at ChildProcess.exithandler (child_process.js:299:7)↵    at ChildProcess.emit (events.js:314:20)↵    at ChildProcess.EventEmitter.emit (domain.js:506:15)"__proto__: Object
overrideMethod @ react_devtools_backend.js:2430
(anonymous) @ environment-default.js:38026
_callback @ environment-default.js:27953
processCallback @ environment-default.js:53917
(anonymous) @ environment-default.js:53921
safeCallback @ environment-default.js:53618
callbacks.<computed> @ environment-default.js:53706
Agent._onMessage @ environment-default.js:53698
EventEmitter.emit @ environment-default.js:53459
onMessage @ environment-default.js:53754
EventEmitter.emit @ bootstrap.js:224
ReliableSocket.onMessage @ environment-default.js:53965
EventEmitter.emit @ bootstrap.js:224
ReconnectSocket.onMessage @ environment-default.js:54063
Emitter.emit @ environment-default.js:54571
Socket.onPacket @ environment-default.js:54229
(anonymous) @ environment-default.js:54184
Emitter.emit @ environment-default.js:54571
Transport.onPacket @ environment-default.js:54302
Transport.onData @ environment-default.js:54302
ws.onmessage @ environment-default.js:54479
react_devtools_backend.js:2430 Error creating TMUX session:  Cannot set property 'readable' of undefined

How Do I Use It?

Sorry if this sounds stupid, but how do I use this to work on a site via SSH?

Thanks.

apt-get build-essential requirement

My system doesnt have the build-essential package and the c9 ssh install fails to initiate my workspace without providing any feedback on the error on the automatic.
When i run the manual one-line script i got
$ Error: please install make to proceed
To do so, log into your machine and type 'sudo apt-get install build-essential'
So i fixed it by install the package.

Installation, Unary operator expected in cygwin, quotes?

Hi,
In the if statement, line 58, should there be quotes around $os?

Because, when I reran install-sdk.sh in cygwin, I got:

$./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 10911    0     0  12755      0 --:--:-- --:--:-- --:--:-- 13322
bash: line 58: [: !=: unary operator expected
Installing base packages. Use --help for more options
bash: line 58: [: !=: unary operator expected
:Installing Node v0.12.0

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

and Googling brought this up.


Somehow install-sdk.sh worked in cygwin the first time though. I got the output saved somewhere.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.