indexzero/daemon.node — Issue #8: not possible to build on squeeze
Author: jalogisch
Created: 2011-11-16 15:08:40+00:00
State: open

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. (/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 ]
```