scuttle-shell icon indicating copy to clipboard operation
scuttle-shell copied to clipboard

Install on macOS fails w/o autoconf installed

Open jasikpark opened this issue 3 years ago • 2 comments

Installing on macOS 11 gave this error:

npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/scuttle-shell/node_modules/sodium-native
npm ERR! command failed
npm ERR! command sh -c node-gyp-build "node preinstall.js" "node postinstall.js"
npm ERR! autoconf is required, but wasn't found on this system
npm ERR! ./configure: line 5: ./configure: No such file or directory
npm ERR! /usr/local/lib/node_modules/scuttle-shell/node_modules/sodium-native/preinstall.js:119
npm ERR!     if (err) throw err
npm ERR!              ^
npm ERR!
npm ERR! Error: ./configure exited with 127
npm ERR!     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/scuttle-shell/node_modules/sodium-native/preinstall.js:149:25)
npm ERR!     at ChildProcess.emit (node:events:394:28)
npm ERR!     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/calebjasik/.npm/_logs/2021-06-07T16_51_57_277Z-debug.log
~ took 1m

jasikpark avatar Jun 07 '21 16:06 jasikpark

It then failed w/o automake

jasikpark avatar Jun 07 '21 16:06 jasikpark

2021-06-07T17_01_55_299Z-debug.log

whelp it seems even with all of the build tools installed, it fails because of libraries deprecated in macOS 10.12, whereas I'm using macOS 11.4

jasikpark avatar Jun 07 '21 17:06 jasikpark