You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm info it worked if it ends with ok
npm info using npm@1.1.0-3
npm info using node@v0.6.10
npm info preinstall webapp.samples.todos@0.0.1
npm http GET https://registry.npmjs.org/topcube
npm http 304 https://registry.npmjs.org/topcube
npm info into /Users/norman784/Projects/topcube/sampleapp topcube@0.0.7
npm info installOne topcube@0.0.7
npm info unbuild /Users/norman784/Projects/topcube/sampleapp/node_modules/topcube
npm info preinstall topcube@0.0.7
> topcube@0.0.7 preinstall /Users/norman784/Projects/topcube/sampleapp/node_modules/topcube
> node-waf clean || (exit 0); node-waf configure build
Nothing to clean (project not configured)
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 /usr/local
Checking for gtk+-2.0 : not found
Checking for glib-2.0 : not found
Checking for webkit-1.0 : not found
'configure' finished successfully (0.090s)
Waf: Entering directory `/Users/norman784/Projects/topcube/sampleapp/node_modules/topcube/build'
[1/2] cxx: topcube.cpp -> build/Release/topcube_1.o
../topcube.cpp:3:21: error: gtk/gtk.h: No such file or directory
../topcube.cpp:4:34: error: webkit/webkitwebview.h: No such file or directory
../topcube.cpp:9: error: expected constructor, destructor, or type conversion before ‘*’ token
../topcube.cpp:10: error: expected constructor, destructor, or type conversion before ‘*’ token
../topcube.cpp:11: error: expected constructor, destructor, or type conversion before ‘*’ token
../topcube.cpp: In function ‘void destroy()’:
../topcube.cpp:15: error: ‘gtk_main_quit’ was not declared in this scope
../topcube.cpp: In function ‘void title_change()’:
../topcube.cpp:20: error: ‘window’ was not declared in this scope
../topcube.cpp:20: error: ‘GTK_WINDOW’ was not declared in this scope
../topcube.cpp:20: error: ‘web_view’ was not declared in this scope
../topcube.cpp:20: error: ‘WEBKIT_WEB_VIEW’ was not declared in this scope
../topcube.cpp:20: error: ‘webkit_web_view_get_title’ was not declared in this scope
../topcube.cpp:20: error: ‘gtk_window_set_title’ was not declared in this scope
../topcube.cpp: In function ‘v8::Handle<v8::Value> create_window(const v8::Arguments&)’:
../topcube.cpp:44: error: ‘gtk_init’ was not declared in this scope
../topcube.cpp:46: error: ‘window’ was not declared in this scope
../topcube.cpp:46: error: ‘GTK_WINDOW_TOPLEVEL’ was not declared in this scope
../topcube.cpp:46: error: ‘gtk_window_new’ was not declared in this scope
../topcube.cpp:47: error: ‘scrolled_window’ was not declared in this scope
../topcube.cpp:47: error: ‘gtk_scrolled_window_new’ was not declared in this scope
../topcube.cpp:48: error: ‘web_view’ was not declared in this scope
../topcube.cpp:48: error: ‘webkit_web_view_new’ was not declared in this scope
../topcube.cpp:50: error: ‘GTK_OBJECT’ was not declared in this scope
../topcube.cpp:50: error: ‘GTK_SIGNAL_FUNC’ was not declared in this scope
../topcube.cpp:50: error: ‘gtk_signal_connect’ was not declared in this scope
../topcube.cpp:53: error: ‘GTK_CONTAINER’ was not declared in this scope
../topcube.cpp:53: error: ‘gtk_container_add’ was not declared in this scope
../topcube.cpp:56: error: ‘WEBKIT_WEB_VIEW’ was not declared in this scope
../topcube.cpp:56: error: ‘webkit_web_view_load_uri’ was not declared in this scope
../topcube.cpp:58: error: ‘GTK_WINDOW’ was not declared in this scope
../topcube.cpp:58: error: ‘gtk_window_set_default_size’ was not declared in this scope
../topcube.cpp:59: error: ‘gtk_widget_show_all’ was not declared in this scope
../topcube.cpp:62: error: ‘gtk_main’ was not declared in this scope
Waf: Leaving directory `/Users/norman784/Projects/topcube/sampleapp/node_modules/topcube/build'
Build failed: -> task failed (err #1):
{task: cxx topcube.cpp -> topcube_1.o}
npm info topcube@0.0.7 Failed to exec preinstall script
npm ERR! error installing topcube@0.0.7
npm info unbuild /Users/norman784/Projects/topcube/sampleapp/node_modules/topcube
npm info preuninstall topcube@0.0.7
npm info uninstall topcube@0.0.7
npm info postuninstall topcube@0.0.7
npm ERR! topcube@0.0.7 preinstall: `node-waf clean || (exit 0); node-waf configure build`
npm ERR! `sh "-c" "node-waf clean || (exit 0); node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the topcube@0.0.7 preinstall script.
npm ERR! This is most likely a problem with the topcube package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf clean || (exit 0); node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls topcube
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 11.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-d"
npm ERR! cwd /Users/norman784/Projects/topcube/sampleapp
npm ERR! node -v v0.6.10
npm ERR! npm -v 1.1.0-3
npm ERR! code ELIFECYCLE
npm ERR! message topcube@0.0.7 preinstall: `node-waf clean || (exit 0); node-waf configure build`
npm ERR! message `sh "-c" "node-waf clean || (exit 0); node-waf configure build"` failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/norman784/Projects/topcube/sampleapp/npm-debug.log
npm not ok
The text was updated successfully, but these errors were encountered:
topcube does not support osx. The latest master prints a nice message about this:
~$ npm install https://github.com/creationix/topcube/tarball/master
npm http GET https://github.com/creationix/topcube/tarball/master
npm http 200 https://github.com/creationix/topcube/tarball/master
> topcube@0.1.2 preinstall /Users/dane/node_modules/topcube
> node package.js
Topcube currently does not support darwin
topcube@0.1.2 ./node_modules/topcube
This is what i get!
The text was updated successfully, but these errors were encountered: