build install fails
darkoverlordofdata opened this issue · 2 comments
Hi, I'm getting this error when i do npm install:
gui@0.0.1 install /home/bruce/Projects/nodegtk/node_modules/gui
node-waf build install
Waf: Entering directory /home/bruce/Projects/nodegtk/node_modules/gui/build' [ 1/34] cxx: src/node_gui_status_icon.cc -> build/Release/src/node_gui_status_icon_1.o [ 2/34] cxx: src/node_gui_container.cc -> build/Release/src/node_gui_container_1.o [ 3/34] cxx: src/node_gui.cc -> build/Release/src/node_gui_1.o [ 4/34] cxx: src/node_gui_bin.cc -> build/Release/src/node_gui_bin_1.o ../src/node_gui.cc: In function ‘void clip::Init(v8::Handle<v8::Object>)’: ../src/node_gui.cc:33:31: error: cannot convert ‘uv_loop_t* {aka uv_loop_s*}’ to ‘uv_handle_t* {aka uv_handle_s*}’ for argument ‘1’ to ‘void uv_ref(uv_handle_t*)’ Waf: Leaving directory
/home/bruce/Projects/nodegtk/node_modules/gui/build'
Build failed: -> task failed (err #1):
{task: cxx node_gui.cc -> node_gui_1.o}
npm ERR! gui@0.0.1 install: node-waf build install
npm ERR! sh "-c" "node-waf build install"
failed with 1
npm ERR!
npm ERR! Failed at the gui@0.0.1 install script.
npm ERR! This is most likely a problem with the gui package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf build install
npm ERR! You can get their info via:
npm ERR! npm owner ls gui
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.2.0-30-generic
npm ERR! command "nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/bruce/Projects/nodegtk
npm ERR! node -v v0.8.9
npm ERR! npm -v 1.1.59
Thanks,
Bruce
+1
> gui@0.0.1 preinstall /home/ciembor/node_modules/gui
> node-waf configure
Setting srcdir to : /home/ciembor/node_modules/gui
Setting blddir to : /home/ciembor/node_modules/gui/build
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 : ok /root/.node_libraries
Checking for node prefix : ok /usr
Checking for pkg-config version >= 0.0.0 : yes
Checking for gtk+-2.0 : yes
'configure' finished successfully (0.085s)
> gui@0.0.1 install /home/ciembor/node_modules/gui
> node-waf build install
Waf: Entering directory `/home/ciembor/node_modules/gui/build'
[ 1/34] cxx: src/node_gui_list_store.cc -> build/Release/src/node_gui_list_store_1.o
[ 2/34] cxx: src/main.cc -> build/Release/src/main_1.o
[ 3/34] cxx: src/impl_async_wrap.cc -> build/Release/src/impl_async_wrap_1.o
../src/impl_async_wrap.cc: In constructor ‘clip::AsyncDispatcher::AsyncDispatcher(clip::AsyncDispatcher::Callback)’:
../src/impl_async_wrap.cc:11:33: error: cannot convert ‘uv_loop_t* {aka uv_loop_s*}’ to ‘uv_handle_t* {aka uv_handle_s*}’ for argument ‘1’ to ‘void uv_unref(uv_handle_t*)’
Waf: Leaving directory `/home/ciembor/node_modules/gui/build'
Build failed: -> task failed (err #1):
{task: cxx impl_async_wrap.cc -> impl_async_wrap_1.o}
npm ERR! gui@0.0.1 install: `node-waf build install`
npm ERR! `sh "-c" "node-waf build install"` failed with 1
npm ERR!
npm ERR! Failed at the gui@0.0.1 install script.
npm ERR! This is most likely a problem with the gui package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf build install
npm ERR! You can get their info via:
npm ERR! npm owner ls gui
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.6.2-1-ARCH
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "gui"
npm ERR! cwd /home/ciembor
npm ERR! node -v v0.8.12
npm ERR! npm -v 1.1.63
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ciembor/npm-debug.log
npm ERR! not ok code 0
[ 2/37] cxx: src/impl_mainloop_gtk.cc -> build/Release/src/impl_mainloop_gtk_1.o
[14/37] cxx: src/node_gui_clipboard.cc -> build/Release/src/node_gui_clipboard_1.o
[15/37] cxx: src/node_gui_misc.cc -> build/Release/src/node_gui_misc_1.o
[16/37] cxx: src/node_gui_type.cc -> build/Release/src/node_gui_type_1.o
../src/impl_mainloop_gtk.cc: In static member function 'static void* clip::MainLoop::main(void_)':
../src/impl_mainloop_gtk.cc:38:33: error: cannot convert 'uv_loop_t_ {aka uv_loop_s_}' to 'uv_handle_t_ {aka uv_handle_s_}' for argument '1' to 'void uv_unref(uv_handle_t_)'
[17/37] cxx: src/node_gui_builder.cc -> build/Release/src/node_gui_builder_1.o
Waf: Leaving directory `/home/w34p0n/tmp/node-gui/build'
Build failed: -> task failed (err #1):
{task: cxx impl_mainloop_gtk.cc -> impl_mainloop_gtk_1.o}