microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.4k stars 821 forks source link

Node-gyp compilation issue with Ethereumjs-testrpc #1394

Closed DavidBurela closed 7 years ago

DavidBurela commented 7 years ago

Please use the following bug reporting template to help produce actionable and reproducible issues. Please try to ensure that the reproduction is minimal so that the team can go through more bugs!

See our contributing instructions for assistance.

aseering commented 7 years ago

Hi @DavidBurela -- Ubuntu, much like Windows, doesn't actually ship with the build tools that you need out-of-the-box. (They're a big download and take up a bunch of space on disk, and you only need them if you're developing native code.) Unlike Windows, though, you can get them from Ubuntu's apt package manager.

Could you try running:

sudo apt-get install build-essential

and re-running the steps above that are currently failing for you? That should get you past the error about make not being found.

DavidBurela commented 7 years ago

Apologies, the issue was as simple as that. Closing.

Earlier I was getting additional node-gyp errors when trying to npm install -g truffle but those were resolved with the new insider builds. When I saw that Ethereumjs-testrpc still had compile issues, I thought I should submit an issue.