Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Can't build o3 #22

baio opened this Issue · 1 comment

2 participants


Hi! I'm trying to build o3 module for cloud9 and this not work! I don't know where is problem on cloud9 side or on o3 side. Please help!

bitnami@linux:~$ cd o3
bitnami@linux:~/o3$ ./tools/node_modules_build
The "sys" module is now called "util". It should have a similar interface.
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /home/bitnami/local/node
'configure' finished successfully (0.340s)
Waf: Entering directory /home/bitnami/o3/build'
[1/3] cxx: hosts/node-o3/ -> build/Release/hosts/node-o3/sh_node_1.o
20:04:09 runner system command -> ['/usr/bin/g++', '-g', '-O3', '-msse2', '-ffast-math', '-fPIC', '-DPIC', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-IRelease/include', '-I../include', '-IRelease/hosts', '-I../hosts', '-IRelease/modules', '-I../modules', '-IRelease/deps', '-I../deps', '-I/home/bitnami/local/node/include/node', '../hosts/node-o3/', '-c', '-o', 'Release/hosts/node-o3/sh_node_1.o']
In file included from ../include/cSys.h:22,
from ../include/o3.h:43,
from ../hosts/node-o3/
../include/cSys_posix.h: In member function Б─≤virtual void o3::cMessageLoop::post(const o3::Delegate&, o3::iUnk*)Б─≥:
../include/cSys_posix.h:414: warning: ignoring return value of Б─≤ssize_t write(int, const void*, size_t)Б─≥, declared with attribute warn_unused_result
[2/3] cxx: hosts/node-o3/ -> build/Release/hosts/node-o3/sh_node_libs_1.o
20:04:42 runner system command -> ['/usr/bin/g++', '-g', '-O3', '-msse2', '-ffast-math', '-fPIC', '-DPIC', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-IRelease/include', '-I../include', '-IRelease/hosts', '-I../hosts', '-IRelease/modules', '-I../modules', '-IRelease/deps', '-I../deps', '-I/home/bitnami/local/node/include/node', '../hosts/node-o3/', '-c', '-o', 'Release/hosts/node-o3/sh_node_libs_1.o']
[3/3] cxx_link: build/Release/hosts/node-o3/sh_node_1.o build/Release/hosts/node-o3/sh_node_libs_1.o -> build/Release/o3.node
20:05:06 runner system command -> ['/usr/bin/g++', 'Release/hosts/node-o3/sh_node_1.o', 'Release/hosts/node-o3/sh_node_libs_1.o', '-o', '/home/bitnami/o3/build/Release/o3.node', '-shared', '-L/home/bitnami/local/node/lib', '-Wl,-Bdynamic', '-lxml2']
/usr/bin/ld: cannot find -lxml2
collect2: ld returned 1 exit status
Waf: Leaving directory
Build failed: -> task failed (err #1):
{task: cxx_link sh_node_1.o,sh_node_libs_1.o -> o3.node}
File "/home/bitnami/local/node/bin/node-waf", line 16, in
Scripting.prepare(t, os.getcwd(), VERSION, wafdir)
File "/home/bitnami/local/node/bin/../lib/node/wafadmin/", line 147, in prepare


This could be fix by installing libxml2-dev package: sudo apt-get install libxml2-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.