On Wed, Jul 18, 2012 at 3:31 PM, Angelo Chen <[email protected]> wrote: > I did and built it, i got v0.8.3-pre. > the compile error with libxmljs go away, but still get errors: > > 151 info postuninstall [email protected] > 152 error [email protected] install: `node-waf configure build` > 152 error `sh "-c" "node-waf configure build"` failed with 1 > 153 error Failed at the [email protected] install script. > > so i tried to compile it from source, node-gyp configure, I got > following: > > gyp info it worked if it ends with ok > gyp info using [email protected] > gyp info using [email protected] | linux | ia32 > gyp ERR! configure error > gyp ERR! stack Error: "pre" versions of node cannot be installed, use > the --nodedir flag instead > gyp ERR! stack at install (/usr/local/lib/node_modules/node-gyp/ > lib/install.js:68:16) > gyp ERR! stack at Object.commands.forEach.self.commands.(anonymous > function) [as install] (/usr/local/lib/node_modules/node-gyp/lib/node- > gyp.js:56:37) > gyp ERR! stack at getNodeDir (/usr/local/lib/node_modules/node-gyp/ > lib/configure.js:147:20) > gyp ERR! stack at /usr/local/lib/node_modules/node-gyp/lib/ > configure.js:87:9 > gyp ERR! stack at ChildProcess.exithandler (child_process.js: > 534:7) > gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17) > gyp ERR! stack at maybeClose (child_process.js:634:16) > gyp ERR! stack at Socket.ChildProcess.spawn.stdin > (child_process.js:805:11) > gyp ERR! stack at Socket.EventEmitter.emit (events.js:88:17) > gyp ERR! stack at Socket._destroy.destroyed (net.js:358:10) > gyp ERR! System Linux 2.6.18-128.1.10.el5.xs5.5.0.51xen > gyp ERR! command "node" "/usr/local/bin/node-gyp" "configure" > gyp ERR! cwd /home/info/libxmljs > gyp ERR! node -v v0.8.3-pre > gyp ERR! node-gyp -v v0.6.0 > gyp ERR! not ok
That's a feature (as it were) of node-gyp. Normally, you'd point it to the proper version with --target 0.8.2 but that won't work here because the change hasn't landed in a release yet. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
