On Thu, Apr 20, 2017 at 11:51 AM, Jiwon Kim <jwkim0...@gmail.com> wrote:

> Hi,
>
>
Hi


> I'm interesting about javascript binding.
> So, I tried to build efl with '--with-js' option.
> But I couldn't success it.
>
> I wonder it is my local issue or efl's issue.
>
> First, --with-js=nodejs is failed from autoconf.
> The 'nodejs-dev' package drop nodejs/src/node.h but autoconf's header
> usability check is failed.
> (because node.h refer to v8)
> So, eina_js_node.hh hang to #error block. (every defines are disabled).
>
>
It's been some time since I last used the default packages due to their age
(Node 4.2). Currently I'm using node 5.12 from Node Source repositories
below. The nodejs package alone from this repository contains the headers.

https://github.com/nodesource/distributions#deb


> Second, --with-js=libv8 is also failed from eo_promise.
>
> In file included from ../src/bindings/cxx/eo_cxx/Eo.hh:9:0,
>                  from bin/efl_js/launcher_main.cc:13:
> ../src/bindings/cxx/eo_cxx/eo_promise.hh:11:27: fatal error:
> Ecore_Manual.hh: No such file or directory
> compilation terminated.
>
>
The same dating issue applies for libv8, as the shipped version is too old
(3.14). But as I haven't tried to build this variant in a long time, I'm
not sure it builds with newer v8 versions. I'm kinda busy now with other
tasks but created an ticked on phab to check its status.

https://phab.enlightenment.org/T5415


>
> I'm finding whether my environment problem or not.
> Has anyone ever succeeded it in a recent?
> (I'm trying on Ubuntu 16.04).
>
>
I just built the 1.19 tag in a clean environment with the node version
mentioned above and everything worked fine. Could you try to update the
packages and build again? If anything else appears just let me know.


> Jiwon Kim.
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Best,
-- 
Lauro Moura
Expertise Solutions
"lauromoura" on FreeNode
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to