Hi,

On Thu, Apr 20, 2017 at 8:14 PM, Lauro Moura
<lauromo...@expertisesolutions.com.br> wrote:
> On Thu, Apr 20, 2017 at 11:51 AM, Jiwon Kim <jwkim0...@gmail.com> wrote:
>> 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.

Just to point out something maybe obvious to everyone here, but the JS
API exposed in this binding won't be declared stable until we declare
efl new eo api stable (This would hopefully happen before the end of
the year). So any EFL JS you write right now might or might not get
broken during the next few months, still if you are willing to take
the time to test and give us feedback, I am sure it will be
interesting.
-- 
Cedric BAIL

------------------------------------------------------------------------------
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