Skip to content

Loading…

cp: build/default/o3.node: No such file or directory #1

Closed
wants to merge 1 commit into from

3 participants

@masonforest

npm install libxml
failed with:

...
Waf: Leaving directory `/Users/Mason/node_modules/libxml/support/o3/build'
'build' finished successfully (31.140s)
cp: build/default/o3.node: No such file or directory
npm ERR! error installing libxml@0.0.2 Error: libxml@0.0.2 preinstall: `./build.sh`
npm ERR! error installing libxml@0.0.2 `sh "-c" "./build.sh"` failed with 1
npm ERR! error installing libxml@0.0.2     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing libxml@0.0.2     at ChildProcess.emit (events.js:70:17)
npm ERR! error installing libxml@0.0.2     at maybeExit (child_process.js:359:16)
npm ERR! error installing libxml@0.0.2     at Process.onexit (child_process.js:395:5)
npm ERR! libxml@0.0.2 preinstall: `./build.sh`
npm ERR! `sh "-c" "./build.sh"` failed with 1
npm ERR! 
npm ERR! Failed at the libxml@0.0.2 preinstall script.
npm ERR! This is most likely a problem with the libxml package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ./build.sh
npm ERR! You can get their info via:
npm ERR!     npm owner ls libxml
npm ERR! There is likely additional logging output above.
npm ERR! 
npm ERR! System Darwin 11.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "libxml"
npm ERR! cwd /Users/Mason
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.0.106
npm ERR! code ELIFECYCLE

Is the path build/default platform specific?

Changing build/default to build/Release fixed the problem

Now I have ace running locally!

Thanks guys!

@mikedeboer

@fjakobs could you take a look?

@fjakobs

node 0.6.6 uses a different path. I updated it and published a new version to npm.

81c2886#diff-1

@fjakobs fjakobs closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 26, 2011
  1. @masonforest

    updated build directory

    masonforest committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 build.sh
View
2 build.sh
@@ -8,4 +8,4 @@ node tools/gluegen.js
node-waf -vv configure
node-waf -vv
-cp build/default/o3.node ../../lib/libxml
+cp build/Release/o3.node ../../lib/libxml
Something went wrong with that request. Please try again.