How to compile/install node.js(could not configure a cxx compiler!) (Ubuntu).
One-liner to install all needed dependencies(curl and git are not really needed, but are very useful and also needed if you install via nvm).
sudo apt-get install build-essential libssl-dev curl git-core
Last two dependencies are not always needed, but installing them is really usefull anyway and you probably need it later anyway.
To only install cxx compiler
sudo apt-get install build-essential
If openssl is missing
sudo apt-get install libssl-dev
Missing node-waf when installing nowjs
Try to install nodejs-dev. node-waf belongs to that package
Node.js - tutorials on getting it to work with Cygwin on a Vista machine
People seem to run into problems with Cygwin because they think that they are using a Windows machine.
If you install Cygwin, and open a bash shell prompt using the Cygwin icon, you are now in a UNIX environment and everything works the same as it would on UNIX. That includes building node.js.
I think you added some info to the question and I can see your problem. Yes, normally on Cygwin it has been possible to build node.js just as you would on any UNIX system, but that is no longer possible on Windows 7. Before running ./configure
you have to:
- Close all cygwin apps.
- Double-click on
C:\Cygwin\bin\ash.exe
- Run
./rebaseall
and when it completes, run./perlrebase
. - exit from the ash shell window.
At this point Cygwin will be back to normal and you can ./configure and make install.
Problem installing node on Mac OSX 10.6.7
When you install Mac OS X Developer Tools (XCode, etc) ensure you have the Unix Tools option checked. I had to remember to install Developer Tools/Unix tools when I set up my new MBP and it resolved this error for me.
Optionally, you could remove and try installing with Homebrew. However, it still has the same requirements (XCode/Dev Tools) so ensure that you have those installed.
Hope this helps.
Help on installing Node.js on Ubuntu 10.04 from terminal?
You should just be able to run the following in a terminal:
sudo apt-get update
sudo apt-get install build-essential
(Also, have a read of https://help.ubuntu.com/community/CompilingSoftware for a bit more background info, etc.)
npm install error - MSB3428: Could not load the Visual C++ component VCBuild.exe
Try this from cmd line as Administrator
optional part, if you need to use a proxy:
set HTTP_PROXY=http://login:password@your-proxy-host:your-proxy-port
set HTTPS_PROXY=http://login:password@your-proxy-host:your-proxy-port
run this:
npm install -g --production windows-build-tools
No need for Visual Studio. This has what you need.
References:
https://www.npmjs.com/package/windows-build-tools
https://github.com/felixrieseberg/windows-build-tools
nvm: not able to install v8.6.0, need to install old version of nodejs not able to do it, (macos bigsur)
I have solved this problem by creating a new terminal, as a rosetta terminal
you can create a rosetta terminal by using the following procedure
Applications
-> Utilities
-> right click on terminal and duplicate
-> right click on duplicate terminal
-> Get info
-> select open using Rosetta
and rename terminal to rosetta-terminal
install NVM
through rosetta-terminal
,
Now install the required node versions.
Related Topics
How to Read Single Character Input from Keyboard Using Nasm (Assembly) Under Ubuntu
Application Control of Tcp Retransmission on Linux
Randomly Shuffling Lines in Linux/Bash
How Does Bash Deal with Nested Quotes
How to Monitor the Thread Count of a Process on Linux
Meaning of Tilde in Linux Bash (Not Home Directory)
Linux Bash Script to Extract Ip Address
How to Create a Dynamic Variable and Assign Value to It
How to Check If a Key Was Pressed in Linux
Prevent Gnome Terminal from Exiting After Execution
How to Avoid Transparent_Hugepage/Defrag Warning from Mongodb
How to Run Crontab Job Every Week on Sunday
How to Get the Resolution (Width and Height) for a Video File from a Linux Command Line