Hello gurus,
Please I have been facing an error for over 2 weeks now whenever I try to install "proxmox, watchman, mongoldb, postgreSQL" and some other software packages on Mac Catalina 10.15.5 using brew, the installation would continue and almost done until it would show an error like the following complaining of 02.make file and it would the following error:
Error:
==> Installing dependencies for mongodb/brew/mongodb-community: node and mongosh
==> Installing mongodb/brew/mongodb-community dependency: node
==> Downloading https://formulae.brew.sh/api/formula.jws.json
-#O#- # #
==> ./configure --without-npm --without-corepack --with-intl=system-icu --shared
==> make install
Last 15 lines from /Users/d3v_hack3r/Library/Logs/Homebrew/node/02.make:
note: use 'gnu++2a' for 'Working draft for ISO C++ 2020 with GNU extensions' standard
make[1]: *** [/private/tmp/node-20240720-4211-17n8en/node-v22.4.1/out/Release/obj.target/ada/deps/ada/ada.o] Error 1
error: invalid value 'gnu++20' in '-std=gnu++20'
note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard
note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard
note: use 'c++11' for 'ISO C++ 2011 with amendments' standard
note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard
note: use 'c++14' for 'ISO C++ 2014 with amendments' standard
note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard
note: use 'c++17' for 'ISO C++ 2017 with amendments' standard
note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard
note: use 'c++2a' for 'Working draft for ISO C++ 2020' standard
note: use 'gnu++2a' for 'Working draft for ISO C++ 2020 with GNU extensions' standard
make[1]: *** [/private/tmp/node-20240720-4211-17n8en/node-v22.4.1/out/Release/obj.target/nbytes/deps/nbytes/nbytes.o] Error 1
make: *** [node] Error 2
Please how can I get this error solved? This 02.make file has been disturbing my productivity and wouldn't allow me do things I am supposed to do.
Thank you
Please I have been facing an error for over 2 weeks now whenever I try to install "proxmox, watchman, mongoldb, postgreSQL" and some other software packages on Mac Catalina 10.15.5 using brew, the installation would continue and almost done until it would show an error like the following complaining of 02.make file and it would the following error:
Error:
==> Installing dependencies for mongodb/brew/mongodb-community: node and mongosh
==> Installing mongodb/brew/mongodb-community dependency: node
==> Downloading https://formulae.brew.sh/api/formula.jws.json
-#O#- # #
==> ./configure --without-npm --without-corepack --with-intl=system-icu --shared
==> make install
Last 15 lines from /Users/d3v_hack3r/Library/Logs/Homebrew/node/02.make:
note: use 'gnu++2a' for 'Working draft for ISO C++ 2020 with GNU extensions' standard
make[1]: *** [/private/tmp/node-20240720-4211-17n8en/node-v22.4.1/out/Release/obj.target/ada/deps/ada/ada.o] Error 1
error: invalid value 'gnu++20' in '-std=gnu++20'
note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard
note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard
note: use 'c++11' for 'ISO C++ 2011 with amendments' standard
note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard
note: use 'c++14' for 'ISO C++ 2014 with amendments' standard
note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard
note: use 'c++17' for 'ISO C++ 2017 with amendments' standard
note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard
note: use 'c++2a' for 'Working draft for ISO C++ 2020' standard
note: use 'gnu++2a' for 'Working draft for ISO C++ 2020 with GNU extensions' standard
make[1]: *** [/private/tmp/node-20240720-4211-17n8en/node-v22.4.1/out/Release/obj.target/nbytes/deps/nbytes/nbytes.o] Error 1
make: *** [node] Error 2
Please how can I get this error solved? This 02.make file has been disturbing my productivity and wouldn't allow me do things I am supposed to do.
Thank you