LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Other *NIX (https://www.linuxquestions.org/questions/other-%2Anix-55/)
-   -   web3 install--C compiler cannot create executables (https://www.linuxquestions.org/questions/other-%2Anix-55/web3-install-c-compiler-cannot-create-executables-4175652030/)

sylviatrilling 04-12-2019 01:26 PM

web3 install--C compiler cannot create executables
 
MacBook Pro running OS 10.13.6

I am trying to install web3 through the bash terminal. I get this error.
Error: Error: Command failed: ./configure
configure: error: in `/Users/nancyibsen/node_modules/scrypt/scrypt/scrypt-1.2.0':
configure: error: C compiler cannot create executables

From my research it looks like I need to install g++ but I could not figure out how. This is what I tried:

Nancys-MBP:~ nancyibsen$ sudo apt-get install g++
Password:
sudo: apt-get: command not found

Thanks

pan64 04-13-2019 04:27 AM

google is your friend. There are a lot of different solutions (available on the net).
apt is only used on debian based linux distributions.

sylviatrilling 04-13-2019 08:57 AM

I could not find an answer with google. That is why I posted here.

pan64 04-13-2019 09:06 AM

so look for: install g++ macbook


All times are GMT -5. The time now is 07:26 PM.