polotek/libxmljs — Issue #81: both npm and src install failed without significant error on EC2/ubuntu 11.10
Author: T1B0
Created: 2011-10-24 15:19:32+00:00
State: open

Build failed without significant error (only some "sh: o: not found") but I end up with no libxmljs.node, and npm failed me exactly the same way...

I'm trying to install libxmljs on ubuntu 11.10 (kernel 2.6.38-8-virtual x86_64) running as an EC2 instance.

versions :
node (from git) v0.4.12
scons v2.0.1.r5134
libxml v2.7.8
make v3.81
python 2.6.6

$ make
scons: Reading SConscript files ...
Checking for node.js ...(cached) yes
True
Checking for C++ library xml2... (cached) yes
Checking for node.js ...(cached) yes
scons: done reading SConscript files.
scons: Building targets ...
o src/html_document.os -c -I/usr/include/libxml2 -rdynamic -D_GNU_SOURCE -DHAVE_CONFIG_H=1 -pthread -g -O3 -DOPENSSL_NO_SSL2=1 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=1 -DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -I/nodejs/include/node -fPIC src/html_document.cc
sh: o: not found
o src/html_parser.os -c -I/usr/include/libxml2 -rdynamic -D_GNU_SOURCE -DHAVE_CONFIG_H=1 -pthread -g -O3 -DOPENSSL_NO_SSL2=1 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=1 -DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -I/nodejs/include/node -fPIC src/html_parser.cc
sh: o: not found
o src/libxmljs.os -c -I/usr/include/libxml2 -rdynamic -D_GNU_SOURCE -DHAVE_CONFIG_H=1 -pthread -g -O3 -DOPENSSL_NO_SSL2=1 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=1 -DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -I/nodejs/include/node -fPIC src/libxmljs.cc
sh: o: not found
o src/xml_attribute.os -c -I/usr/include/libxml2 -rdynamic -D_GNU_SOURCE -DHAVE_CONFIG_H=1 -pthread -g -O3 -DOPENSSL_NO_SSL2=1 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=1 -DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -I/nodejs/include/node -fPIC src/xml_attribute.cc
sh: o: not found
o src/xml_document.os -c -I/usr/include/libxml2 -rdynamic -D_GNU_SOURCE -DHAVE_CONFIG_H=1 -pthread -g -O3 -DOPENSSL_NO_SSL2=1 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=1 -DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -I/nodejs/include/node -fPIC src/xml_document.cc
sh: o: not found
o src/xml_element.os -c -I/usr/include/libxml2 -rdynamic -D_GNU_SOURCE -DHAVE_CONFIG_H=1 -pthread -g -O3 -DOPENSSL_NO_SSL2=1 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=1 -DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -I/nodejs/include/node -fPIC src/xml_element.cc
sh: o: not found
o src/xml_namespace.os -c -I/usr/include/libxml2 -rdynamic -D_GNU_SOURCE -DHAVE_CONFIG_H=1 -pthread -g -O3 -DOPENSSL_NO_SSL2=1 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=1 -DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -I/nodejs/include/node -fPIC src/xml_namespace.cc
sh: o: not found
o src/xml_node.os -c -I/usr/include/libxml2 -rdynamic -D_GNU_SOURCE -DHAVE_CONFIG_H=1 -pthread -g -O3 -DOPENSSL_NO_SSL2=1 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=1 -DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -I/nodejs/include/node -fPIC src/xml_node.cc
sh: o: not found
o src/xml_parser.os -c -I/usr/include/libxml2 -rdynamic -D_GNU_SOURCE -DHAVE_CONFIG_H=1 -pthread -g -O3 -DOPENSSL_NO_SSL2=1 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=1 -DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -I/nodejs/include/node -fPIC src/xml_parser.cc
sh: o: not found
o src/xml_sax_parser.os -c -I/usr/include/libxml2 -rdynamic -D_GNU_SOURCE -DHAVE_CONFIG_H=1 -pthread -g -O3 -DOPENSSL_NO_SSL2=1 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=1 -DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -I/nodejs/include/node -fPIC src/xml_sax_parser.cc
sh: o: not found
o src/xml_syntax_error.os -c -I/usr/include/libxml2 -rdynamic -D_GNU_SOURCE -DHAVE_CONFIG_H=1 -pthread -g -O3 -DOPENSSL_NO_SSL2=1 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=1 -DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -I/nodejs/include/node -fPIC src/xml_syntax_error.cc
sh: o: not found
o src/xml_xpath_context.os -c -I/usr/include/libxml2 -rdynamic -D_GNU_SOURCE -DHAVE_CONFIG_H=1 -pthread -g -O3 -DOPENSSL_NO_SSL2=1 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=1 -DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -I/nodejs/include/node -fPIC src/xml_xpath_context.cc
sh: o: not found
o libxmljs.node -shared src/html_document.os src/html_parser.os src/libxmljs.os src/xml_attribute.os src/xml_document.os src/xml_element.os src/xml_namespace.os src/xml_node.os src/xml_parser.os src/xml_sax_parser.os src/xml_syntax_error.os src/xml_xpath_context.os -L/opt/local/lib -L/usr/local/lib -L/usr/lib -lxml2
sh: o: not found
scons: done building targets.

Any ideas where to digg ?