-
Notifications
You must be signed in to change notification settings - Fork 0
Installing Dependencies
Kelvin Li edited this page Feb 11, 2014
·
14 revisions
Here are instructions for installing dependencies from source.
Get the source code:
git clone git://github.com/joyent/node
In the source tree, run:
./configure --prefix=/local-install && make && make install
Replace the argument to --prefix=
with your desired installation path.
Add /local-install
to the PATH
environment variable:
export PATH="$PATH:/local-install"
/local-install/bin/npm install -g bower
Get source code:
git clone git://github.com/ruby/ruby
Compiliing recent versions of Ruby requires an existing working Ruby installation. You may skip this section if you already have a working Ruby.
In the Ruby source tree, switch to an appropriate release:
git checkout v1_8_7_374
Note: this is the latest release I could find which does not require an existing Ruby.
Build:
autoconf && \
./configure --prefix=/local-install/ruby-bootstrap && \
make && \
make install;
Clean out source tree:
git clean -dfx
Checkout latest release:
git checkout v2_1_0
Build:
autoconf && \
./configure \
--with-baseruby=/local-install/ruby-bootstrap/bin/ruby \
--prefix=/local-install && \
make && \
make install;