[yocto] Nodejs building issue in yocto

2015-12-21 Thread Raghavendra Kakarla
Hi All,

I am try to build the nodejs-5.3 in yocto but I got the following errors.

That errors also not consistent. They are changes for compile to compile.

Could you please help in solving this issue.

The errors are as follows:

mips32r22r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/obj.target/http_parser/deps/http_parser/http_parser.o
| make[1]: execvp: printf: Argument list too long
| make[1]: *** 
[/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/obj.target/deps/openssl/libopenssl.a]
 Error 127
| make[1]: *** Waiting for unfinished jobs.



Log data follows:
| DEBUG: Executing shell function do_compile
| make -C out BUILDTYPE=Release V=1
| make[1]: Entering directory 
`/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out'
|   
LD_LIBRARY_PATH=/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/lib.host:/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/lib.target:$LD_LIBRARY_PATH;
 export LD_LIBRARY_PATH; cd ../deps/v8/tools/gyp; mkdir -p 
/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/obj.target/v8_snapshot/geni;
 
"/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/mksnapshot"
 --log-snapshot-positions --logfile 
"/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/obj.target/v8_snapshot/geni/snapshot.log"
 
"/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/obj.target/v8_snapshot/geni/snapshot.cc"
 ""
| /bin/sh: 
/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/mksnapshot:
 cannot execute binary file: Exec format error
| make[1]: *** 
[/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/obj.target/v8_snapshot/geni/snapshot.cc]
 Error 126

Thanks in advance.

Regards,
Raghavendra K.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] building on os x

2015-12-21 Thread Belisko Marek
Hi,

I did check internet before asking but there is not much reference. So
sorry for stupid question but it is possible to build e.g.
core-image-minimal on os x natively? I read something about
meta-darwin but I'm not sure if it's what I'm looking for ( IIRC it's
for creating SDK for osx). Anybody tried that? Many thanks.

BR,

marek

-- 
as simple and primitive as possible
-
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] building on os x

2015-12-21 Thread Burton, Ross
On 21 December 2015 at 09:43, Belisko Marek  wrote:

> I did check internet before asking but there is not much reference. So
> sorry for stupid question but it is possible to build e.g.
> core-image-minimal on os x natively? I read something about
> meta-darwin but I'm not sure if it's what I'm looking for ( IIRC it's
> for creating SDK for osx). Anybody tried that? Many thanks.
>

I've patches to make bitbake work (there's a few linuxisms here and there)
but the biggest problem is that OSX doesn't use GCC and various recipes
fail to build properly.  It's a whole lot easier to use a Linux VM, you can
even do a minimal (non-graphical) install and SSH into it.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Fw: [dev] Restful application examples

2015-12-21 Thread Raghavendra Kakarla
Could you please respond.




From: Raghavendra Kakarla
Sent: Monday, December 21, 2015 2:39 PM
To: Poussa, Sakari; iotivity-...@lists.iotivity.org
Subject: Re: [dev] Restful application examples

Hi Sakari,

I downloaded iot-rest-api from the link provided by you.

When I run npm install from my device all are working fine except 
iotivity-1.0.0-1.

While installing the iotivity-1.0.0-1 I got the following error:

npm ERR! Linux 3.19.2-yocto-standard
npm ERR! argv "node" "/usr/lib/node_modules/npm/bin/npm-cli.js" "install"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3

npm ERR! shasum check failed for 
/tmp/npm-1110-fe27e2ba/registry.npmjs.org/jscs/-/jscs-2.7.0.tgz
npm ERR! Expected: 322906e6777eca1ca52b3f040ba758a98be09c5a
npm ERR! Actual:   9cfa3ba38b4cba7d17639fe6d305d1858539f2b1
npm ERR! From: https://registry.npmjs.org/jscs/-/jscs-2.7.0.tgz
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! 

npm ERR! Please include the following file with any support request:
npm ERR! /home/root/iotivity-node/npm-debug.log


Could please help me in resolving this issue.


Thankyou in advance.

Ragards,
Raghavendra K.


From: Poussa, Sakari 
Sent: Thursday, December 17, 2015 1:02 PM
To: Raghavendra Kakarla; iotivity-...@lists.iotivity.org
Subject: Re: [dev] Restful application examples

Raghavendra,

Not in the C code, but we have done a Node.JS REST API server for OIC (using 
the iotivity-node bindings which is using the iotivity):

https://github.com/01org/iot-rest-api-server

The repo also contains few test apps for the rest client.

Sakari

From: 
mailto:iotivity-dev-boun...@lists.iotivity.org>>
 on behalf of Raghavendra Kakarla 
mailto:raghavendra.kaka...@inedasystems.com>>
Date: Thursday, December 17, 2015 at 08:40
To: "iotivity-...@lists.iotivity.org" 
mailto:iotivity-...@lists.iotivity.org>>
Subject: [dev] Restful application examples


Hi All,


I want to send the data from the iotivity sensor node to cloup through iotivity 
gateway using restful apis.


Could you please give me the information that is there any restful client and 
server application in c in iotivity.



Thanks in advance.


Regards,

Raghavendra K.

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
__
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Nodejs building issue in yocto

2015-12-21 Thread Martin Jansa
On Mon, Dec 21, 2015 at 08:31:49AM +, Raghavendra Kakarla wrote:
> Hi All,
> 
> I am try to build the nodejs-5.3 in yocto but I got the following errors.
> 
> That errors also not consistent. They are changes for compile to compile.

search openembedded-devel ML, it was discussed there (long time ago) and
there was even a fix in meta-oe nodejs recipe.

> 
> Could you please help in solving this issue.
> 
> The errors are as follows:
> 
> mips32r22r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/obj.target/http_parser/deps/http_parser/http_parser.o
> | make[1]: execvp: printf: Argument list too long
> | make[1]: *** 
> [/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/obj.target/deps/openssl/libopenssl.a]
>  Error 127
> | make[1]: *** Waiting for unfinished jobs.
> 
> 
> 
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | make -C out BUILDTYPE=Release V=1
> | make[1]: Entering directory 
> `/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out'
> |   
> LD_LIBRARY_PATH=/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/lib.host:/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/lib.target:$LD_LIBRARY_PATH;
>  export LD_LIBRARY_PATH; cd ../deps/v8/tools/gyp; mkdir -p 
> /media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/obj.target/v8_snapshot/geni;
>  
> "/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/mksnapshot"
>  --log-snapshot-positions --logfile 
> "/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/obj.target/v8_snapshot/geni/snapshot.log"
>  
> "/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/obj.target/v8_snapshot/geni/snapshot.cc"
>  ""
> | /bin/sh: 
> /media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/mksnapshot:
>  cannot execute binary file: Exec format error
> | make[1]: *** 
> [/media/testuser/b156d50b-387f-4037-b97b-e0de6259af11/home/testpc2/poky/build/tmp/work/mips32r2-poky-linux/nodejs/5.3.0-r1.0/node-v5.3.0/out/Release/obj.target/v8_snapshot/geni/snapshot.cc]
>  Error 126
> 
> Thanks in advance.
> 
> Regards,
> Raghavendra K.

> -- 
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] building on os x

2015-12-21 Thread Jozef Maslik
Hi,

my experience is almost same - faster and more comfortable way was use VM with 
minimal ubuntu installation (server version without GUI).

Anyway, are there any activities or plans to fix and support osx?

Regards,
Jozef


> On 21 Dec 2015, at 11:51, Burton, Ross  wrote:
> 
> 
> On 21 December 2015 at 09:43, Belisko Marek  > wrote:
> I did check internet before asking but there is not much reference. So
> sorry for stupid question but it is possible to build e.g.
> core-image-minimal on os x natively? I read something about
> meta-darwin but I'm not sure if it's what I'm looking for ( IIRC it's
> for creating SDK for osx). Anybody tried that? Many thanks.
> 
> I've patches to make bitbake work (there's a few linuxisms here and there) 
> but the biggest problem is that OSX doesn't use GCC and various recipes fail 
> to build properly.  It's a whole lot easier to use a Linux VM, you can even 
> do a minimal (non-graphical) install and SSH into it.
> 
> Ross
> -- 
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] building on os x

2015-12-21 Thread Burton, Ross
On 21 December 2015 at 11:09, Jozef Maslik  wrote:

> Anyway, are there any activities or plans to fix and support osx?
>

Well with El Capitan's improved security apparently crippling LD_PRELOAD
(so I hear, unverified currently), Pseudo won't work, which means an
alternative will need to be researched and implemented.  We really
recommend using a VM.  For what it's worth OSX supports hypervisors so
something like https://github.com/mist64/xhyve is free and should be very
efficient.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] using Hob to run images on a custom simulator, other than qemu

2015-12-21 Thread Barros Pena, Belen


On 18/12/2015 16:05, "yocto-boun...@yoctoproject.org on behalf of Mirela
Rabulea"  wrote:

>
>
>Hello yocto world 
>J
>
> 
>
>This is my first message on any yocto list, I¹m not sure which list to
>address, so I choose the ones which seemed the most generic and suited to
>my purpose. Please redirect me if a more specific list is better
> suited to ask this question.
>
> 
>
>The problem I see at present is: there is one single button in Hob, ³Run
>Image², which is active only for qemu images, and it is triggering the
>execution of the ³poky\scripts\runqemu² script. Please scroll down
> to the picture at end of this email to see what I¹m talking about.
>
> 
>
>The question I want to ask is if it would be acceptable to add more
>buttons to the ³Image details² dialog (or a new dialog to pop-up when
>³Run Image² is clicked), in order to allow the customization of the
> simulator to be launched, basically to specify the location & command
>line of such custom simulator. Who may advise in this matter? I am
>willing to contribute with changes.

Hi Mirela,

I have asked a few people about this, because Hob is pretty much
deprecated at this point (it's being replaced by a web interface called
Toaster). They replied they would be willing to merge changes to Hob, as
long as they can be sure they won't cause any regressions.

I hope this helps.

Cheers

Belén

>
> 
>
>The changes I anticipate would be necessary are:
>
>1.  
>Changes in the GUI, somewhere in the python scripts from
>³poky\bitbake\lib\bb\ui\crumbs\², especially in imagedetailspage.py,
>maybe in builder.py
>
>2.  
>Be more permissive with the types of images that are allowed to run.
>Currently, there are these restrictions related to the name and extension
>of the image in ³poky\meta\classes\ image_types.bbclass², these need to
>be extended/customized:
>
>RUNNABLE_IMAGE_TYPES ?= "ext2 ext3"
>
>RUNNABLE_MACHINE_PATTERNS ?= "qemu"
>
>
> 
>
>BTW, here is how Hob ³Image details² dialog currently looks like, see
>attached picture, note that the highlighted ³Run Image² button shows up
>only for qemu images.
> 
>
>Regards,
>
>Mirela
>
> 
>
>

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] building on os x

2015-12-21 Thread Belisko Marek
On Mon, Dec 21, 2015 at 12:24 PM, Burton, Ross  wrote:
>
> On 21 December 2015 at 11:09, Jozef Maslik  wrote:
>>
>> Anyway, are there any activities or plans to fix and support osx?
>
>
> Well with El Capitan's improved security apparently crippling LD_PRELOAD (so
> I hear, unverified currently), Pseudo won't work, which means an alternative
> will need to be researched and implemented.  We really recommend using a VM.
> For what it's worth OSX supports hypervisors so something like
> https://github.com/mist64/xhyve is free and should be very efficient.
Ah great. Thanks for all valuable infos.
>
> Ross

BR,

marek


-- 
as simple and primitive as possible
-
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] I'm trying install DDCLIENT in intel edison with yocto project

2015-12-21 Thread neuber sousa
I have errors: root@neuberfran:~# ddclient -v
Can't locate Sys/Hostname.pm in @INC (you may need to install the
Sys::Hostname module) (@INC contains: /etc/perl
/usr/lib/perl/site_perl/5.20.0/ /usr/lib/perl/site_perl/5.20.0
/usr/lib/perl/vendor_perl/5.20.0/ /usr/lib/perl/vendor_perl/5.20.0
/usr/lib/perl/5.20.0/ /usr/lib/perl/5.20.0 /usr/local/lib/site_perl
/usr/lib/perl/5.20.0 .) at /usr/sbin/ddclient line 25.
BEGIN failed--compilation aborted at /usr/sbin/ddclient line 25.

I this is* because libjson-perl *package

How to install* libjson-perl *package in yocto image ?
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto