forked from nodejs/node-v0.x-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting installation
deanc edited this page Apr 1, 2011
·
12 revisions
If you encounter the following error on linux:
error: could not configure a cxx compiler!
Run:
sudo aptitude install build-essential
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