Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Troubleshooting installation

mnn2104 edited this page · 13 revisions
Clone this wiki locally

If you encounter the following error on linux:

error: could not configure a cxx compiler!

Run:

sudo aptitude install build-essential

To permanently add node to the path in RHEL/Fedora, add it to your .bashrc by running:

echo 'export PATH=$HOME/local/node/bin:$PATH' >> ~/.bashrc

If you have trouble building with the directions given try this (mac & maybe linux/bsd)

in the root directory of the source code:

./configure  
make  
sudo make install  

configure is currently broken for some versions of MacOS; for more details, see How to compile Node.js v0.4.2 on MacOS 10.5.8. The working approach cited there is as follows:

export PATH=/Developer/usr/bin:$PATH
ISYSROOT="-isysroot /Developer/SDKs/MacOSX10.5.sdk"
export LINKFLAGS=$ISYSROOT CXXFLAGS=$ISYSROOT CFLAGS=$ISYSROOT
./configure --prefix=$HOME --without-ssl
make
Something went wrong with that request. Please try again.