Build trouble

4 views
Skip to first unread message

Tim Caswell

unread,
Jan 8, 2012, 9:52:34 PM1/8/12
to node-webkit
As mentioned on the nodejs mailing list. I've been trying to get this
built. I now have the proper repo added to my 32-bit Ubuntu Oneiric
system and installed the dependencies as specified in the docs. I can
run `node -v` and get "v0.6.2" and `which node` and get "/usr/bin/
node"

When I run `node-waf configure build` in the fresh git clone
(a8d73e44df4cc6e7bfb72c9f833798ed23c8fd4e), it breaks in the configure
right away.

tim@tim-VirtualBox:~/node-webkit$ node-waf configure 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 : not found
Checking for node prefix : ok /usr
Checking for gtk+-2.0 : yes
Checking for glib-2.0 : yes
Checking for webkitnode-1.0 : yes
'configure' finished successfully (0.058s)
Waf: Entering directory `/home/tim/node-webkit/build'
[1/3] cxx: src/linux-gtk.cc -> build/Release/src/linux-gtk_1.o
../src/linux-gtk.cc:30:16: fatal error: ev.h: No such file or
directory
compilation terminated.
Waf: Leaving directory `/home/tim/node-webkit/build'
Build failed: -> task failed (err #1):
{task: cxx linux-gtk.cc -> linux-gtk_1.o}




Roger WANG

unread,
Jan 8, 2012, 9:58:16 PM1/8/12
to node-...@googlegroups.com
Tim Caswell <t...@creationix.com> writes:

> Waf: Entering directory `/home/tim/node-webkit/build'
> [1/3] cxx: src/linux-gtk.cc -> build/Release/src/linux-gtk_1.o
> ../src/linux-gtk.cc:30:16: fatal error: ev.h: No such file or
> directory
> compilation terminated.

forgot that in the documentation, please try

apt-get install libev-dev

(libev-dev should be in the 'universe' repository if it cannot be found)

--
Roger WANG Intel Open Source Technology Center

Tim Caswell

unread,
Jan 8, 2012, 10:07:32 PM1/8/12
to node-webkit
Thanks, that worked! When you get a chance, an OSX build would be
pretty sweet. I know a large number of node devs use osx on their
laptops.

Now to go and play...

adrians

unread,
Feb 7, 2012, 1:56:39 AM2/7/12
to node-...@googlegroups.com
Since my attempt to get this going under Ubuntu hasn't been doing too well due to the libwebkitnode-dev which I can't seem to install, I'll add my wish for a Windows port of this. Do you have a feel if the Chromium Embedded Framework could be used for this as it is with topcube, or is the method you use to combine the event loop and do the WebKit patching not going to work there?

Thanks,
Adrian


Roger WANG

unread,
Feb 7, 2012, 2:01:34 AM2/7/12
to node-...@googlegroups.com
adrians <nma...@gmail.com> writes:

We're looking into the Windows port as well as the OSX port. Though the
event loop combining is somehow tricky, I believe that it doesn't depend
on any specific WebKit port very much. And we are looking into various
options on Windows (the Apple port, the cairo port as well as CEF).

Reply all
Reply to author
Forward
0 new messages