You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version ~0.5.0, an attempt to install databank-leveldb errors out.
$ cd src/pump.io//node_modules/databank
$ npm install databank-leveldb
npm WARN package.json vows@0.7.0 No repository field.
npm WARN deprecated object-keys@0.2.0: Please update to the latest object-keys
|
> leveldown@0.5.0 install /usr/home/d/src/pump.io/node_modules/databank-leveldb/node_modules/leveldown
> node-gyp rebuild
gyp: Undefined variable os_include in /usr/home/d/src/pump.io/node_modules/databank-leveldb/node_modules/leveldown/deps/snappy/snappy.gyp while loading dependencies of /usr/home/d/src/pump.io/node_modules/databank-leveldb/node_modules/leveldown/deps/leveldb/leveldb.gyp while loading dependencies of binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System FreeBSD 10.0-RELEASE-p1
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/home/d/src/pump.io/node_modules/databank-leveldb/node_modules/leveldown
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! FreeBSD 10.0-RELEASE-p1
npm ERR! argv "node" "/usr/local/bin/npm" "install" "databank-leveldb"
npm ERR! node v0.10.33
npm ERR! npm v2.0.2
npm ERR! code ELIFECYCLE
npm ERR! leveldown@0.5.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the leveldown@0.5.0 install script.
npm ERR! This is most likely a problem with the leveldown package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls leveldown
npm ERR! There is likely additional logging output above.
I have not tested anything and don't know whether moving to a new version would introduce other bugs.
The text was updated successfully, but these errors were encountered:
It seems that leveldown is too old to work with FreeBSD. The version right now is, as specified in
package.json
,~0.5.0
. Support for FreeBSD was added to leveldown in0.8.2
. The relevant code is a line in https://github.com/rvagg/node-leveldown/blob/0.8.2/deps/snappy/snappy.gyp.In version
~0.5.0
, an attempt to installdatabank-leveldb
errors out.I have not tested anything and don't know whether moving to a new version would introduce other bugs.
The text was updated successfully, but these errors were encountered: