Created
August 25, 2011 23:32
-
-
Save mcepl/1172308 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@bradford ~]# npm install -g libxml-to-js |&tee /tmp/npm-install-log.txt | |
> libxmljs@0.4.2 preinstall /usr/lib/node_modules/libxml-to-js/node_modules/libxmljs | |
> make node | |
scons: Reading SConscript files ... | |
Checking for node.js ...(cached) yes | |
True | |
Checking for C++ library xml2... yes | |
Checking for node.js ...(cached) yes | |
scons: done reading SConscript files. | |
scons: Building targets ... | |
g++ -o src/html_document.os -c -I/usr/include/libxml2 -g -O3 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -rdynamic -D__POSIX__=1 -DHAVE_FDATASYNC=1 -DPLATFORM="linux" -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=1 -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H=1 -DHAVE_OPENSSL=1 -I/usr/include/node -fPIC src/html_document.cc | |
In file included from src/html_document.h:5:0, | |
from src/html_document.cc:2: | |
src/libxmljs.h:6:18: fatal error: node.h: No such file or directory | |
compilation terminated. | |
scons: *** [src/html_document.os] Error 1 | |
scons: building terminated because of errors. | |
make: *** [node] Error 2 | |
npm ERR! error installing libxmljs@0.4.2 Error: libxmljs@0.4.2 preinstall: `make node` | |
npm ERR! error installing libxmljs@0.4.2 `sh "-c" "make node"` failed with 2 | |
npm ERR! error installing libxmljs@0.4.2 at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/exec.js:49:20) | |
npm ERR! error installing libxmljs@0.4.2 at ChildProcess.emit (events.js:67:17) | |
npm ERR! error installing libxmljs@0.4.2 at ChildProcess.onexit (child_process.js:192:12) | |
> libxmljs@0.4.2 preuninstall /usr/lib/node_modules/libxml-to-js/node_modules/libxmljs | |
> make clean | |
scons: Reading SConscript files ... | |
scons: done reading SConscript files. | |
scons: Cleaning targets ... | |
scons: done cleaning targets. | |
scons: Reading SConscript files ... | |
scons: done reading SConscript files. | |
scons: Cleaning targets ... | |
scons: done cleaning targets. | |
npm ERR! error installing libxml-to-js@0.3.3 Error: libxmljs@0.4.2 preinstall: `make node` | |
npm ERR! error installing libxml-to-js@0.3.3 `sh "-c" "make node"` failed with 2 | |
npm ERR! error installing libxml-to-js@0.3.3 at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/exec.js:49:20) | |
npm ERR! error installing libxml-to-js@0.3.3 at ChildProcess.emit (events.js:67:17) | |
npm ERR! error installing libxml-to-js@0.3.3 at ChildProcess.onexit (child_process.js:192:12) | |
npm ERR! libxmljs@0.4.2 preinstall: `make node` | |
npm ERR! `sh "-c" "make node"` failed with 2 | |
npm ERR! | |
npm ERR! Failed at the libxmljs@0.4.2 preinstall script. | |
npm ERR! This is most likely a problem with the libxmljs package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! make node | |
npm ERR! You can get their info via: | |
npm ERR! npm owner ls libxmljs | |
npm ERR! There is likely additional logging output above. | |
npm ERR! | |
npm ERR! System Linux 3.0.0-1.fc16.x86_64 | |
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "libxml-to-js" | |
npm ERR! cwd /root | |
npm ERR! node -v v0.4.11 | |
npm ERR! npm -v 1.0.26 | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /root/npm-debug.log | |
npm not ok | |
[root@bradford ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment