# Build/Install mangOH Distribution

**URL:** <https://mangoh.discourse.group/t/build-install-mangoh-distribution/3955>\
**Category:** mangOH Red\
**Created:** [March 4, 2020, 5:15pm UTC](https://mangoh.discourse.group/t/build-install-mangoh-distribution/3955 "2020-03-04T17:15:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![michelveillette](https://avatars.discourse-cdn.com/v4/letter/m/48db29/32.png) [@michelveillette](https://mangoh.discourse.group/u/michelveillette)\
**Post date:** [March 4, 2020, 5:15pm UTC](https://mangoh.discourse.group/t/build-install-mangoh-distribution/3955/1 "2020-03-04T17:15:56Z")

</div>

I just received a mangOH Red dev kit for the WP7702 and I’m unable to build the Legato Platform for it. Is there an up-to-date procedure available to build this platform?

The current procedure ([http://mangoh.io/uploaded-documents/Reference/mangOH%20Red/Discover/Getting%20Started/Win\_CLI3/41110402\_Tutorials\_-\_HTML5/41110479-80-81-82\_PrepMangoh/41110479-80-81-82\_PrepMangoh.htm](http://mangoh.io/uploaded-documents/Reference/mangOH%20Red/Discover/Getting%20Started/Win_CLI3/41110402_Tutorials_-_HTML5/41110479-80-81-82_PrepMangoh/41110479-80-81-82_PrepMangoh.htm)) seem outdated and conclude on the following error:

\*\* ERROR:  
/home/mangoh/legato\_framework/legato/modules/WiFi/service/daemon/Component.cdef:  
15:4: error: Couldn’t find source file ‘/home/mangoh/legato\_framework/legato/mod  
ules/WiFi/service/platformAdaptor//home/mangoh/mangOH/linux\_kernel\_modules/mt769  
7wifi/scripts/pa\_wifi.sh/pa\_wifi\_client\_ti.c’  
Makefile:115: recipe for target ‘red\_wp77xx’ failed  
make: \*\*\* [red\_wp77xx] Error 1

Should I use [https://docs.legato.io/latest/toolsLeaf.html](https://docs.legato.io/latest/toolsLeaf.html)?  
What are the exact steps?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 5, 2020, 7:04am UTC](https://mangoh.discourse.group/t/build-install-mangoh-distribution/3955/2 "2020-03-05T07:04:41Z")

</div>

seems same issue:

> [@Make red\_wp77xx fails](https://mangoh.discourse.group/t/make-red-wp77xx-fails/2826):
>
> Building for WP7702 module failed. mangoh@mangoh-vm:~/mangOH$ make red\_wp77xx echo “Not building LEGATO due to $LEGATO == 0” Not building LEGATO due to $LEGATO == 0 NOTE: When using leaf, these TOOLCHAIN\_X variables don’t need to be passed to mksys. TOOLCHAIN\_DIR=/opt/swi/y22-ext-wp77xx/sysroots/x86\_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi TOOLCHAIN\_PREFIX=arm-poky-linux-gnueabi- mksys -t wp77xx --object-dir=build/red\_wp77xx --output-dir=build/update\_files red.sdef \*\* Warning: Ig…

---

<div class="post-metadata">

**Author:** ![michelveillette](https://avatars.discourse-cdn.com/v4/letter/m/48db29/32.png) [@michelveillette](https://mangoh.discourse.group/u/michelveillette)\
**Post date:** [March 13, 2020, 9:25pm UTC](https://mangoh.discourse.group/t/build-install-mangoh-distribution/3955/3 "2020-03-13T21:25:19Z")

</div>

This issue have been resolved by the updated Getting started guide

> **[mangOH Red Resources - Getting Started - mangOH](https://mangoh.io/mangoh-red-resources-getting-started)**
>
>   This content can be viewed by logged in users only. Register today to receive member-only benefits such as periodic giveaways, project code samples, device specific notices and much more! If you have already registered, please login to review...

  
and updated VM  

> **[Setting up VM - mangOH](https://mangoh.io/setting-up-vm)**
>
>   This content can be viewed by logged in users only. Register today to receive member-only benefits such as periodic giveaways, project code samples, device specific notices and much more! If you have already registered, please login to review...

Thanks for these updates 😉
