Began to master Mac OS X. Truly a wonderful operating system. I like the interface and the thoughtfulness of the functionality very much. Many things I would like to see in Windows. But it's not about that. So I decided to still see if I can run Cloud9 ide locally on Mac OS X Lion 10.7.3. Earlier, I launched this IDE on Ubuntu 11.10. After numerous unsuccessful attempts to launch an IDE I liked under Mac OS X, I had already decided to quit this venture, although it was stated on the official website that there are Mac OS as supported OSs, but I could not launch it hard.
What I actually tried to install it
Using Git, I cloned a repository and tried to run an IDE. In the console it was persistently cursing about the absence of some input point (the main procedure in one of the modules). Then I thought that there might be problems in the o3 images under Mac OS X (this was written in many forums). I tried to build an o3 image under my OS (as in Ubuntu), using the instructions published in the GitHub o3 repository. But in vain.
I downloaded the installation package using the npm manager from the general package repository and also all to no avail.
I tried to replace the modules of the o3 library, but at the same time the application was launched in Safari, displaying a blank page, and when I tried to contact 127.0.0.1:3000127.0.0.1:3000 in the Chrome browser, the IDE was launched, but it crashed with a segmentation fault. As it turned out later, this is due to the fact that this module was built for a lower version of node.js and a new version was required. But when trying to make a build, errors fell out about the absence of headers.
Enlightenment
')
After an exhausting search for a solution on the Internet, I came across a very good and clear answer to StackOverflow. Based on the answer, it became clear that there is another branch for IDE on GitHub and as it turned out, there was an even more recent version 0.6 than the one that I installed in Ubuntu (0.5.1). As a result, following the instructions in the response, I performed the following actions:
cloned from the GitHub repository using the following command:
git clone git://github.com/gero3/cloud9.git
Moved to the cloud9 folder with the command:
cd cloud9
made the first launch of cloud9.sh using the command:
bin/cloud9.sh
In response to StackOverflow, it was said that for some reason the two libxml and formidable dependencies are not delayed, and in order to delay these dependencies, the following commands must be executed:
npm install libxml
and
npm install formidable
But even here the problems did not end. After trying to launch the application via cloud9.sh, I received an error that the node-darwin module was not found along the path / support / node-builds-v4. I was honestly very surprised that there was no node-builds-v4 folder in the support folder, which is located in the root of the cloud9 folder. To solve this problem, I copied an identical folder from the cloud9 package downloaded using the npm manager. After these manipulations, Cloud9 ide started locally! Yes, and it was launched in Safari browser!