<html><head></head><body><div style="color:#000; background-color:#fff; font-family:標楷體, dfkai-sb;font-size:16px"><div id="yui_3_16_0_ym19_1_1495108662590_32954">Dear Fabien and Jussi, <br></div><div id="yui_3_16_0_ym19_1_1495108662590_32620"><br></div><div id="yui_3_16_0_ym19_1_1495108662590_32618">Thank you very much for your time and concern. <br></div><div id="yui_3_16_0_ym19_1_1495108662590_32619">After your suggestion I tried to find out all those packages installed by "bash install-deps". However I found that these deps are required to build JIT version of Lua, as mentioned on the official Torch website. <br></div><div id="yui_3_16_0_ym19_1_1495108662590_32955">So instead I used Lua 5.2 instead of JIT, which does not require to run "bash install-deps" first. And this time after I generated Torch recipe using devtool and tried to build it, the compilation proceeded to nearly 96%, then thows an error saying:</div><div id="yui_3_16_0_ym19_1_1495108662590_32956"><br></div><div id="yui_3_16_0_ym19_1_1495108662590_32959" dir="ltr"><i>Could NOT find Wget (missing: WGET_EXECUTABLE)<br id="yui_3_16_0_ym19_1_1495108662590_32968">| -- Could NOT find MD5 (missing: MD5_EXECUTABLE)<br id="yui_3_16_0_ym19_1_1495108662590_32969">| -- curl found instead of wget :/home/abayiz/trunk/poky/build-hello/tmp/work/i586-poky-linux/torch/2.1devel+git999-r0/recipe-sysroot-native/usr/bin/curl<br id="yui_3_16_0_ym19_1_1495108662590_32970">| CMake Error at exe/luajit-rocks/luarocks/CMakeLists.txt:77 (MESSAGE):<br id="yui_3_16_0_ym19_1_1495108662590_32971">| MD5 checker not found</i><br></div><div id="yui_3_16_0_ym19_1_1495108662590_32609"><span><br></span></div><div id="yui_3_16_0_ym19_1_1495108662590_33064"><span id="yui_3_16_0_ym19_1_1495108662590_33075">However in the 'devtool' generated recipe file, I found this line:</span></div><div id="yui_3_16_0_ym19_1_1495108662590_33506"><span id="yui_3_16_0_ym19_1_1495108662590_33075"><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1495108662590_33077"><span id="yui_3_16_0_ym19_1_1495108662590_33076"><i id="yui_3_16_0_ym19_1_1495108662590_33510"># NOTE: unable to map the following CMake package dependencies: CUDA CUDNN BLAS ARM Torch SSE MD5 MAGMA LAPACK Readline<br id="yui_3_16_0_ym19_1_1495108662590_33070">DEPENDS = "wget jpeg ncurses libpng"</i><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1495108662590_33086"><span id="yui_3_16_0_ym19_1_1495108662590_33076"><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1495108662590_33107"><span id="yui_3_16_0_ym19_1_1495108662590_33076">Seems like wget is already set as built-time dependency but the system doesn't see it, as well as MD5. Do you have any suggestion for that?</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1495108662590_33151"><span id="yui_3_16_0_ym19_1_1495108662590_33076">Thank you again. <br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1495108662590_33152"><span id="yui_3_16_0_ym19_1_1495108662590_33076">Best. </span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: 標楷體, dfkai-sb; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Thursday, May 18, 2017 4:17 PM, Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div dir="ltr">On Thu, 2017-05-18 at 12:02 +0000, Abayiz wrote:<br clear="none">> Dear Fabien, <br clear="none">> <br clear="none">> Thank you very much for your reply. <br clear="none">> No, I didn't try 'devtool edit-recipe torch' to add dependencies. Actually I didn't know how to<br clear="none">> add them. Is there any way to directly call that .sh file there??<br clear="none">> Could you give me a minimal example to illustrate it? <br clear="none"><br clear="none">Usually we add build dependencies with DEPENDS = "..." and runtime dependencies with RDEPENDS =<br clear="none">"..."<br clear="none"><br clear="none">So you need to check dependencies installed by "bash install-deps".<br clear="none">Can you list them? Maybe recipes exists in which case you have to add them to the variable described<br clear="none">above.<div class="yqt6645268813" id="yqtfd61146"><br clear="none"><br clear="none"><br clear="none">> <br clear="none">> Thank you. <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> On Thursday, May 18, 2017 10:17 AM, Fabien Lahoudere <<a shape="rect" ymailto="mailto:fabien.lahoudere@collabora.co.uk" href="mailto:fabien.lahoudere@collabora.co.uk">fabien.lahoudere@collabora.co.uk</a>> wrote:<br clear="none">> <br clear="none">> <br clear="none">> On Wed, 2017-05-17 at 08:37 +0000, Abayiz wrote:<br clear="none">> > Dear all, <br clear="none">> > <br clear="none">> > I'm quite new to Yocto, I've successfully built qemu and ran helloworld example on it. Now I'm<br clear="none">> > trying to install Torch 7 (<a shape="rect" href="https://github.com/torch/torch7" target="_blank">https://github.com/torch/torch7</a>) library. What I did is: <br clear="none">> > <br clear="none">> > devtool add torch <a shape="rect" href="https://github.com/torch/torch7.git" target="_blank">https://github.com/torch/torch7.git</a><br clear="none">> > devtool build torch<br clear="none">> > <br clear="none">> > But the build exits with error, in the attachment I share the log file with you. <br clear="none">> > My host machine runs Ubuntu 16.04 LTS, and Torch7 is successfully running on it. The<br clear="none">> installation<br clear="none">> > of Torch first requires to run the 'bash install-deps' command on Ubuntu. My rough estimation is<br clear="none">> > that Yocto seems like cannot build those dependencies automatically. <br clear="none">> > <br clear="none">> > Could someone give any help on it? Installing Torch7 is very important to my project now, thank<br clear="none">> > you in advance. <br clear="none">> > <br clear="none">> <br clear="none">> Do you try "devtool edit-recipe torch" to add dependencies to the recipe and configure "cache<br clear="none">> variables" approprietly?<br clear="none">> <br clear="none">> <br clear="none">> > Best, <br clear="none">> > Abayiz<br clear="none">> <br clear="none">> > <br clear="none">> -- <br clear="none">> _______________________________________________<br clear="none">> yocto mailing list<br clear="none">> <a shape="rect" ymailto="mailto:yocto@yoctoproject.org" href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br clear="none">> <a shape="rect" href="https://lists.yoctoproject.org/listinfo/yocto" target="_blank">https://lists.yoctoproject.org/listinfo/yocto</a><br clear="none">> <br clear="none">> <br clear="none">> <br clear="none"></div></div><br><br></div> </div> </div> </div></div></body></html>