-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Description
Hi I am having issues installing Node.
I updated npm and after that everything went downhill.
I uninstalled node and when trying to reinstall it im getting this:
dan-ggs-macbook:~ dangg$ brew doctor
Your system is ready to brew.
dan-ggs-macbook:~ dangg$ brew install node
==> Downloading https://nodejs.org/dist/v5.0.0/node-v5.0.0.tar.gz
################################################################## 100.0%
==> Downloading https://ssl.icu-project.org/files/icu4c/56.1/icu4c-56_1-src.tgz
################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/node/5.0.0 --without-npm --with-intl=small-icu
==> make install
Last 15 lines from /Users/dangg/Library/Logs/Homebrew/node/02.make:
Sun Nov 08 11:45:02 +0000 2015
make
install
/usr/bin/make -C out BUILDTYPE=Release V=1
llvm-g++ '-D_DARWIN_USE_64_BIT_INODE=1' -I../deps/gtest -I../deps/gtest/include -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++0x -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF /private/tmp/node20151108-2359-1rqoxpy/node-v5.0.0/out/Release/.deps//private/tmp/node20151108-2359-1rqoxpy/node-v5.0.0/out/Release/obj.target/gtest/deps/gtest/src/gtest-death-test.o.d.raw -c -o /private/tmp/node20151108-2359-1rqoxpy/node-v5.0.0/out/Release/obj.target/gtest/deps/gtest/src/gtest-death-test.o ../deps/gtest/src/gtest-death-test.cc
llvm-g++ '-D_DARWIN_USE_64_BIT_INODE=1' -I../deps/gtest -I../deps/gtest/include -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++0x -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF /private/tmp/node20151108-2359-1rqoxpy/node-v5.0.0/out/Release/.deps//private/tmp/node20151108-2359-1rqoxpy/node-v5.0.0/out/Release/obj.target/gtest/deps/gtest/src/gtest-filepath.o.d.raw -c -o /private/tmp/node20151108-2359-1rqoxpy/node-v5.0.0/out/Release/obj.target/gtest/deps/gtest/src/gtest-filepath.o ../deps/gtest/src/gtest-filepath.cc
cc1plus: error: unrecognized command line option "-std=gnu++0x"
make[1]: *** [/private/tmp/node20151108-2359-1rqoxpy/node-v5.0.0/out/Release/obj.target/gtest/deps/gtest/src/gtest-filepath.o] Error 1
make[1]: *** Waiting for unfinished jobs....
cc1plus: error: unrecognized command line option "-std=gnu++0x"
make[1]: *** [/private/tmp/node20151108-2359-1rqoxpy/node-v5.0.0/out/Release/obj.target/gtest/deps/gtest/src/gtest-death-test.o] Error 1
make: *** [node] Error 2
READ THIS: https://git.io/brew-troubleshooting
Thanks in advance for your time.
Kind Regards
Dan