not possible to build on squeeze
jalogisch opened this issue · 3 comments
jalogisch commented
On a Fresh Squeeze System (with node 0.6.1) it is not possible to build daemon.
The last Lines of the npm-debug.log are attached, if you need the complete file, just let me know!
174 verbose caching /usr/lib/node_modules/daemon/package.json
175 verbose loadDefaults daemon@0.4.0
176 info preinstall daemon@0.4.0
177 verbose unsafe-perm in lifecycle false
178 verbose Setting uid from 0 nobody
179 verbose stack at uid setting Error
180 verbose stack at uid setting at exec (/usr/lib/node_modules/npm/lib/utils/exec.js:35:17)
181 verbose stack at uid setting at Array.0 (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:127:5)
182 verbose stack at uid setting at EventEmitter._tickCallback (node.js:192:40)
183 silly exec sh "-c" "node-waf configure build"
184 silly spawning [ 'sh',
185 silly spawning [ '-c', 'node-waf configure build' ],
186 silly spawning '/usr/lib/node_modules/daemon' ]
187 info daemon@0.4.0 Failed to exec preinstall script
188 ERR! error installing daemon@0.4.0 Error: daemon@0.4.0 preinstall: `node-waf configure build`
189 ERR! error installing daemon@0.4.0 `sh "-c" "node-waf configure build"` failed with 1
190 ERR! error installing daemon@0.4.0 at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/exec.js:49:20)
191 ERR! error installing daemon@0.4.0 at ChildProcess.emit (events.js:70:17)
192 ERR! error installing daemon@0.4.0 at maybeExit (child_process.js:359:16)
193 ERR! error installing daemon@0.4.0 at Process.onexit (child_process.js:395:5)
194 info unbuild /usr/lib/node_modules/daemon
195 verbose from cache /usr/lib/node_modules/daemon/package.json
196 info preuninstall daemon@0.4.0
197 info uninstall daemon@0.4.0
198 verbose unbuild daemon@0.4.0 [ true, '/usr/lib/node_modules', '/usr/lib/node_modules' ]
199 info postuninstall daemon@0.4.0
200 verbose installOne cb daemon@0.4.0
201 ERR! daemon@0.4.0 preinstall: `node-waf configure build`
202 ERR! `sh "-c" "node-waf configure build"` failed with 1
203 ERR!
204 ERR! Failed at the daemon@0.4.0 preinstall script.
205 ERR! This is most likely a problem with the daemon package,
206 ERR! not with npm itself.
207 ERR! Tell the author that this fails on your system:
208 ERR! node-waf configure build
209 ERR! You can get their info via:
210 ERR! npm owner ls daemon
211 ERR! There is likely additional logging output above.
212 ERR!
213 ERR! System Linux 2.6.32-5-amd64
214 ERR! command "node" "/usr/bin/npm" "install" "daemon" "-g"
215 ERR! cwd /root
216 ERR! node -v v0.6.1
217 ERR! npm -v 1.0.105
218 ERR! code ELIFECYCLE
219 verbose exit [ 1, true ]
jalogisch commented
Here is the output from clu
'configure' finished successfully (0.023s)
Waf: Entering directory `/usr/lib/node_modules/forever/node_modules/daemon/build'
[1/2] cxx: src/daemon.cc -> build/Release/src/daemon_1.o
../src/daemon.cc:16:16: error: v8.h: No such file or directory
../src/daemon.cc:17:18: error: node.h: No such file or directory
../src/daemon.cc:27: error: 'v8' is not a namespace-name
../src/daemon.cc:27: error: expected namespace-name before ';' token
../src/daemon.cc:28: error: 'node' is not a namespace-name
../src/daemon.cc:28: error: expected namespace-name before ';' token
../src/daemon.cc:34: error: expected initializer before '<' token
Waf: Leaving directory `/usr/lib/node_modules/forever/node_modules/daemon/build'
Build failed: -> task failed (err #1):
{task: cxx daemon.cc -> daemon_1.o}
npm ERR! error installing daemon@0.3.2 Error: daemon@0.3.2 preinstall: `node-waf configure build`
npm ERR! error installing daemon@0.3.2 `sh "-c" "node-waf configure build"` failed with 1
npm ERR! error installing daemon@0.3.2 at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing daemon@0.3.2 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing daemon@0.3.2 at maybeExit (child_process.js:359:16)
npm ERR! error installing daemon@0.3.2 at Process.onexit (child_process.js:395:5)
npm ERR! error installing forever@0.7.2 Error: daemon@0.3.2 preinstall: `node-waf configure build`
npm ERR! error installing forever@0.7.2 `sh "-c" "node-waf configure build"` failed with 1
npm ERR! error installing forever@0.7.2 at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing forever@0.7.2 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing forever@0.7.2 at maybeExit (child_process.js:359:16)
npm ERR! error installing forever@0.7.2 at Process.onexit (child_process.js:395:5)
npm ERR! daemon@0.3.2 preinstall: `node-waf configure build`
npm ERR! `sh "-c" "node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the daemon@0.3.2 preinstall script.
npm ERR! This is most likely a problem with the daemon package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls daemon
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.32-5-amd64
npm ERR! command "node" "/usr/bin/npm" "install" "forever" "-g"
npm ERR! cwd /root
npm ERR! node -v v0.6.1
npm ERR! npm -v 1.0.105
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm not ok
indexzero commented
Have you tried this on 0.6.4?
jalogisch commented
this part is fixed for me now!