tag:blogger.com,1999:blog-865923359735383241.post7185304736934065574..comments2023-10-29T07:27:09.012-06:00Comments on Ccna final exam - java, php, javascript, ios, cshap all in one: Node.js could not configure a cxx compiler! (Ubuntu)Unknownnoreply@blogger.comBlogger5125tag:blogger.com,1999:blog-865923359735383241.post-77655039000013230402012-06-04T20:31:37.546-06:002012-06-04T20:31:37.546-06:00I needed to run yum install gcc-c++ on Cent OS.I needed to run yum install gcc-c++ on Cent OS.Userhttps://www.blogger.com/profile/11557173689529910046noreply@blogger.comtag:blogger.com,1999:blog-865923359735383241.post-16817586476253327662012-06-04T20:31:33.881-06:002012-06-04T20:31:33.881-06:00If you find yourself getting this error on Mac OSX...If you find yourself getting this error on Mac OSX, you need to install XCode.<br /><br />https://developer.apple.com/Userhttps://www.blogger.com/profile/11557173689529910046noreply@blogger.comtag:blogger.com,1999:blog-865923359735383241.post-52969223776211260502012-06-04T20:31:33.296-06:002012-06-04T20:31:33.296-06:00If you're attempting this on Win7 like me, run...If you're attempting this on Win7 like me, running:<br /><br />ash.exe<br />$ /bin/rebaseall<br /><br /><br />...did the trick.<br /><br />Good luck!Userhttps://www.blogger.com/profile/11557173689529910046noreply@blogger.comtag:blogger.com,1999:blog-865923359735383241.post-49420275819611046212012-06-04T20:31:32.180-06:002012-06-04T20:31:32.180-06:00If like me, you are attempting to install this on ...If like me, you are attempting to install this on an AWS instance running Amazon Linux AMI (which looks to be a cut down version CentOS):<br /><br />Install base tools:<br /><br />yum groupinstall "Development Tools"<br /><br />Now install openssl-devel:<br /><br />yum install openssl-devel<br /><br />Node should compile fine now.Userhttps://www.blogger.com/profile/11557173689529910046noreply@blogger.comtag:blogger.com,1999:blog-865923359735383241.post-24593418557054902532012-06-04T20:31:31.345-06:002012-06-04T20:31:31.345-06:00One-liner to install all needed dependencies(curl ...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).<br /><br />sudo apt-get install build-essential libssl-dev curl git-core<br /><br /><br />Last two dependencies are not always needed, but installing them is really usefull anyway and you probably need it later anyway.<br /><br />To only install cxx compiler<br /><br />sudo apt-get install build-essential<br /><br /><br />If openssl is missing<br /><br />sudo apt-get install libssl-devUserhttps://www.blogger.com/profile/11557173689529910046noreply@blogger.com