Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Nodejitsu - BSON compilation error
info: Welcome to Nodejitsu coenhyde
info: jitsu v0.11.3, node v0.8.6
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in server.js
info: Creating snapshot 0.1.0-3
info Uploading: [=============================] 100%
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: npm http GET http://nj-npm.irisnpm.com/config/0.4.11
npm http GET http://nj-npm.irisnpm.com/coffee-script
npm http GET http://nj-npm.irisnpm.com/underscore
npm http GET http://nj-npm.irisnpm.com/express
npm http GET http://nj-npm.irisnpm.com/mongoose
npm http GET http://nj-npm.irisnpm.com/mongoose-types
npm http GET http://nj-npm.irisnpm.com/winston
npm http GET http://nj-npm.irisnpm.com/async
npm http GET http://nj-npm.irisnpm.com/strftime/0.4.6
npm http GET http://nj-npm.irisnpm.com/colors/0.6.0-1
npm http GET http://nj-npm.irisnpm.com/hashlib/1.0.1
npm http GET http://nj-npm.irisnpm.com/connect
npm http 200 http://nj-npm.irisnpm.com/config/0.4.11
npm http GET http://nj-npm.irisnpm.com/config/-/config-0.4.11.tgz
npm http 200 http://nj-npm.irisnpm.com/underscore
npm http 200 http://nj-npm.irisnpm.com/coffee-script
npm http GET http://nj-npm.irisnpm.com/underscore/-/underscore-1.4.2.tgz
npm http GET http://nj-npm.irisnpm.com/coffee-script/-/coffee-script-1.3.3.tgz
npm http 200 http://nj-npm.irisnpm.com/express
npm http 200 http://nj-npm.irisnpm.com/mongoose-types
npm http GET http://nj-npm.irisnpm.com/express/-/express-2.5.11.tgz
npm http GET http://nj-npm.irisnpm.com/mongoose-types/-/mongoose-types-1.0.3.tgz
npm http 200 http://nj-npm.irisnpm.com/winston
npm http GET http://nj-npm.irisnpm.com/winston/-/winston-0.6.2.tgz
npm http 200 http://nj-npm.irisnpm.com/strftime/0.4.6
npm http GET http://nj-npm.irisnpm.com/strftime/-/strftime-0.4.6.tgz
npm http 200 http://nj-npm.irisnpm.com/colors/0.6.0-1
npm http GET http://nj-npm.irisnpm.com/colors/-/colors-0.6.0-1.tgz
npm http 200 http://nj-npm.irisnpm.com/mongoose
npm http 200 http://nj-npm.irisnpm.com/async
npm http 200 http://nj-npm.irisnpm.com/config/-/config-0.4.11.tgz
npm http 200 http://nj-npm.irisnpm.com/hashlib/1.0.1
npm http GET http://nj-npm.irisnpm.com/mongoose/-/mongoose-3.4.0.tgz
npm http GET http://nj-npm.irisnpm.com/async/-/async-0.1.22.tgz
npm http 200 http://nj-npm.irisnpm.com/underscore/-/underscore-1.4.2.tgz
npm http GET http://nj-npm.irisnpm.com/hashlib/-/hashlib-1.0.1.tgz
npm http 200 http://nj-npm.irisnpm.com/coffee-script/-/coffee-script-1.3.3.tgz
npm http 200 http://nj-npm.irisnpm.com/express/-/express-2.5.11.tgz
npm http 200 http://nj-npm.irisnpm.com/winston/-/winston-0.6.2.tgz
npm http 200 http://nj-npm.irisnpm.com/mongoose-types/-/mongoose-types-1.0.3.tgz
npm http 200 http://nj-npm.irisnpm.com/connect
npm http GET http://nj-npm.irisnpm.com/connect/-/connect-1.8.7.tgz
npm http 200 http://nj-npm.irisnpm.com/strftime/-/strftime-0.4.6.tgz
npm http 200 http://nj-npm.irisnpm.com/connect/-/connect-1.8.7.tgz
npm http 200 http://nj-npm.irisnpm.com/async/-/async-0.1.22.tgz
npm http 200 http://nj-npm.irisnpm.com/hashlib/-/hashlib-1.0.1.tgz
npm http 200 http://nj-npm.irisnpm.com/colors/-/colors-0.6.0-1.tgz
npm http 200 http://nj-npm.irisnpm.com/mongoose/-/mongoose-3.4.0.tgz
npm WARN package.json connect@1.8.7 No README.md file found!
npm WARN engine connect@1.8.7: wanted: {"node":">= 0.4.1 < 0.7.0"} (current: {"node":"0.8.8","npm":"1.1.59"})
> hashlib@1.0.1 install /root/tmp/tmp-272052b2ts00/build/package/node_modules/hashlib
> node-waf clean ; node-waf configure build
npm http GET http://nj-npm.irisnpm.com/mime/1.2.4
npm http GET http://nj-npm.irisnpm.com/qs
npm http GET http://nj-npm.irisnpm.com/cycle
npm http GET http://nj-npm.irisnpm.com/eyes
npm http GET http://nj-npm.irisnpm.com/mkdirp/0.3.0
npm http GET http://nj-npm.irisnpm.com/pkginfo
npm http GET http://nj-npm.irisnpm.com/request
npm http GET http://nj-npm.irisnpm.com/stack-trace
npm http GET http://nj-npm.irisnpm.com/hooks/0.2.1
npm http GET http://nj-npm.irisnpm.com/mongodb/1.1.11
npm http GET http://nj-npm.irisnpm.com/ms/0.1.0
npm http GET http://nj-npm.irisnpm.com/sliced/0.0.3
npm http GET http://nj-npm.irisnpm.com/qs
npm http GET http://nj-npm.irisnpm.com/mime
npm http GET http://nj-npm.irisnpm.com/formidable
npm http 200 http://nj-npm.irisnpm.com/mime/1.2.4
npm http 200 http://nj-npm.irisnpm.com/cycle
npm http 200 http://nj-npm.irisnpm.com/mkdirp/0.3.0
npm http 200 http://nj-npm.irisnpm.com/qs
npm http GET http://nj-npm.irisnpm.com/yaml
npm http GET http://nj-npm.irisnpm.com/vows
npm http GET http://nj-npm.irisnpm.com/cycle/-/cycle-1.0.0.tgz
npm http GET http://nj-npm.irisnpm.com/qs/-/qs-0.4.2.tgz
npm http GET http://nj-npm.irisnpm.com/mime/-/mime-1.2.4.tgz
npm http GET http://nj-npm.irisnpm.com/mkdirp/-/mkdirp-0.3.0.tgz
npm http 200 http://nj-npm.irisnpm.com/eyes
npm http GET http://nj-npm.irisnpm.com/eyes/-/eyes-0.1.8.tgz
Nothing to clean (project not configured)
npm http 200 http://nj-npm.irisnpm.com/pkginfo
npm http GET http://nj-npm.irisnpm.com/pkginfo/-/pkginfo-0.2.3.tgz
npm http 200 http://nj-npm.irisnpm.com/hooks/0.2.1
npm http GET http://nj-npm.irisnpm.com/hooks/-/hooks-0.2.1.tgz
npm http 200 http://nj-npm.irisnpm.com/stack-trace
npm http GET http://nj-npm.irisnpm.com/stack-trace/-/stack-trace-0.0.6.tgz
npm http 200 http://nj-npm.irisnpm.com/request
npm http GET http://nj-npm.irisnpm.com/request/-/request-2.9.203.tgz
Checking for program g++ or c++ : /opt/local/bin/g++
Checking for program cpp : /opt/local/bin/cpp
Checking for program ar : /opt/local/bin/ar
Checking for program ranlib : /opt/local/bin/ranlib
Checking for g++ : ok
Checking for program gcc or cc : /opt/local/bin/gcc
Checking for gcc : ok
Checking for node path : not found
Checking for node prefix : ok /opt/local
'configure' finished successfully (0.117s)
Waf: Entering directory `/root/tmp/tmp-272052b2ts00/build/package/node_modules/hashlib/build'
[1/6] cc: libhash/md4c.c -> build/Release/libhash/md4c_1.o
[2/6] cc: libhash/md5c.c -> build/Release/libhash/md5c_1.o
[3/6] cc: libhash/sha0c.c -> build/Release/libhash/sha0c_1.o
[4/6] cxx: hashlib.cc -> build/Release/hashlib_2.o
../libhash/sha0c.c: In function 'SHA_Update':
../libhash/sha0c.c:189:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
npm http 200 http://nj-npm.irisnpm.com/mongodb/1.1.11
../hashlib.cc:14:16: fatal error: ev.h: No such file or directory
compilation terminated.
npm http GET http://nj-npm.irisnpm.com/mongodb/-/mongodb-1.1.11.tgz
npm http 200 http://nj-npm.irisnpm.com/sliced/0.0.3
npm http GET http://nj-npm.irisnpm.com/sliced/-/sliced-0.0.3.tgz
npm http 200 http://nj-npm.irisnpm.com/ms/0.1.0
npm http GET http://nj-npm.irisnpm.com/ms/-/ms-0.1.0.tgz
npm http 200 http://nj-npm.irisnpm.com/qs
npm http GET http://nj-npm.irisnpm.com/qs/-/qs-0.5.2.tgz
npm http 200 http://nj-npm.irisnpm.com/mime
npm http GET http://nj-npm.irisnpm.com/mime/-/mime-1.2.7.tgz
npm http 200 http://nj-npm.irisnpm.com/cycle/-/cycle-1.0.0.tgz
npm WARN package.json cycle@1.0.0 No README.md file found!
npm http 200 http://nj-npm.irisnpm.com/qs/-/qs-0.4.2.tgz
npm http 200 http://nj-npm.irisnpm.com/formidable
npm http GET http://nj-npm.irisnpm.com/formidable/-/formidable-1.0.11.tgz
npm http 200 http://nj-npm.irisnpm.com/yaml
npm http GET http://nj-npm.irisnpm.com/yaml/-/yaml-0.2.3.tgz
npm http 200 http://nj-npm.irisnpm.com/mime/-/mime-1.2.4.tgz
npm http 200 http://nj-npm.irisnpm.com/mkdirp/-/mkdirp-0.3.0.tgz
npm http 200 http://nj-npm.irisnpm.com/vows
npm http GET http://nj-npm.irisnpm.com/vows/-/vows-0.5.13.tgz
npm http 200 http://nj-npm.irisnpm.com/eyes/-/eyes-0.1.8.tgz
npm http 200 http://nj-npm.irisnpm.com/pkginfo/-/pkginfo-0.2.3.tgz
Waf: Leaving directory `/root/tmp/tmp-272052b2ts00/build/package/node_modules/hashlib/build'
Build failed: -> task failed (err #1):
{task: cxx hashlib.cc -> hashlib_2.o}
npm http 200 http://nj-npm.irisnpm.com/hooks/-/hooks-0.2.1.tgz
npm http 200 http://nj-npm.irisnpm.com/stack-trace/-/stack-trace-0.0.6.tgz
npm http 200 http://nj-npm.irisnpm.com/request/-/request-2.9.203.tgz
npm ERR! hashlib@1.0.1 install: `node-waf clean ; node-waf configure build`
npm ERR! `sh "-c" "node-waf clean ; node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the hashlib@1.0.1 install script.
npm ERR! This is most likely a problem with the hashlib package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf clean ; node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls hashlib
npm ERR! There is likely additional logging output above.
npm ERR! System SunOS 5.11
npm ERR! command "/opt/local/bin/node" "/opt/local/bin/npm" "install"
npm ERR! cwd /root/tmp/tmp-272052b2ts00/build/package
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! code ELIFECYCLE
npm http 200 http://nj-npm.irisnpm.com/mongodb/-/mongodb-1.1.11.tgz
npm http 200 http://nj-npm.irisnpm.com/sliced/-/sliced-0.0.3.tgz
npm http 200 http://nj-npm.irisnpm.com/ms/-/ms-0.1.0.tgz
npm http 200 http://nj-npm.irisnpm.com/mime/-/mime-1.2.7.tgz
npm http 200 http://nj-npm.irisnpm.com/qs/-/qs-0.5.2.tgz
npm http 200 http://nj-npm.irisnpm.com/formidable/-/formidable-1.0.11.tgz
npm http 200 http://nj-npm.irisnpm.com/vows/-/vows-0.5.13.tgz
npm http 200 http://nj-npm.irisnpm.com/yaml/-/yaml-0.2.3.tgz
npm http GET http://nj-npm.irisnpm.com/eyes
npm http 304 http://nj-npm.irisnpm.com/eyes
npm http GET http://nj-npm.irisnpm.com/bson/0.1.5
npm http 200 http://nj-npm.irisnpm.com/bson/0.1.5
npm http GET http://nj-npm.irisnpm.com/bson/-/bson-0.1.5.tgz
npm http 200 http://nj-npm.irisnpm.com/bson/-/bson-0.1.5.tgz
> bson@0.1.5 install /root/tmp/tmp-272052b2ts00/build/package/node_modules/mongoose/node_modules/mongodb/node_modules/bson
> node install.js || (exit 0)
================================================================================
= =
= Attempting to build bson c++ extension =
= Windows: no build will be attempted as binaries are prepackaged =
= Unix: on failure the package will still install without the C++ extension =
= =
================================================================================
node-gyp clean
node-gyp configure build
make[1]: Entering directory `/root/tmp/tmp-272052b2ts00/build/package/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build'
CXX(target) Release/obj.target/bson/ext/bson.o
../ext/bson.cc: In member function 'void DataStream::CheckKey(const v8::Local<v8::String>&)':
../ext/bson.cc:64:52: error: 'alloca' was not declared in this scope
make[1]: *** [Release/obj.target/bson/ext/bson.o] Error 1
make[1]: Leaving directory `/root/tmp/tmp-272052b2ts00/build/package/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/opt/local/lib/node_modules/node-gyp/lib/build.js:219:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:674:10)
gyp ERR! System SunOS 5.11
gyp ERR! command "node" "/opt/local/bin/node-gyp" "configure" "build"
gyp ERR! cwd /root/tmp/tmp-272052b2ts00/build/package/node_modules/mongoose/node_modules/mongodb/node_modules/bson
gyp ERR! node -v v0.8.8
gyp ERR! node-gyp -v v0.6.10
gyp ERR! not ok
gmake: *** [node_gyp] Error 1
child process exited with code 2
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/tmp/tmp-272052b2ts00/build/package/npm-debug.log
npm ERR! not ok code 0
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
help: email: <support@nodejitsu.com>
help:
help: Copy and paste this output to a gist (http://gist.github.com/)
info: Nodejitsu not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.