Trying to install the latest Node.js, when I do make install the build fails with the error
../src/node_stdio.cc: In function ‘v8::Handle<v8::Value> node::OpenPTY(const v8::Arguments&)’:
../src/node_stdio.cc:262: error: ‘openpty’ was not declared in this scope
Any idea what could be causing this? I've tried the current Node master, Node 0.4.3, and 0.4.2 (which I'd installed previously). Clearly, something changed on my system to interfere with the build, but what? I'm running Mac OS 10.6 with XCode 3.2.5.
I'm not sure what is causing your issue, but I reccommend you look into this installer for Node.js and OSX: https://sites.google.com/site/nodejsmacosx/
The package will also install NPM, the node package manager. Nice and easy.
I am the person that provides the binary packages at https://sites.google.com/site/nodejsmacosx/
They are actually pretty vanilla installs. All I do is
./configure --prefix=/usr
make
make DESTDIR=/User/philipp/NodeJS/files install
and then run the Package Maker over it. So there is no real magic involved and all defaults are kept. This way all the documentation is actually valid for your install.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With