# Installing from script, error during installErizo.sh

**URL:** <https://discourse.lynckia.com/t/installing-from-script-error-during-installerizo-sh/902>\
**Category:** Uncategorized\
**Created:** [March 31, 2019, 3:32pm UTC](https://discourse.lynckia.com/t/installing-from-script-error-during-installerizo-sh/902 "2019-03-31T15:32:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marlin\_Cobb](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@Marlin\_Cobb](https://discourse.lynckia.com/u/Marlin_Cobb)\
**Post date:** [March 31, 2019, 3:32pm UTC](https://discourse.lynckia.com/t/installing-from-script-error-during-installerizo-sh/902/1 "2019-03-31T15:32:28Z")

</div>

Installing the latest onto:

Distributor ID: Ubuntu  
Description: Ubuntu 14.04.5 LTS  
Release: 14.04  
Codename: trusty

No errors during: ./scripts/installUbuntuDeps.sh

**Errors During InstallErizo.sh:**

/root/licode/erizo/src/erizo/WebRtcConnection.cpp: In member function ‘boost::future erizo::Web RtcConnection::forEachMediaStreamAsync(std::function\<void(const std::shared\_ptrerizo::MediaStream&) \>)’:  
/root/licode/erizo/src/erizo/WebRtcConnection.cpp:224:12: error: ‘when\_all’ is not a member of ‘boos ’  
auto f = boost::when\_all(futures.begin(), futures.end());  
^  
/root/licode/erizo/src/erizo/WebRtcConnection.cpp: In lambda function:  
/root/licode/erizo/src/erizo/WebRtcConnection.cpp:246:6: error: no matching function for call to ‘boo st::future::then(erizo::WebRtcConnection::setRemoteSdpInfo(std::shared\_ptrerizo::SdpInfo)::\<l ambda(std::shared\_ptrerizo::WebRtcConnection)\>::\<lambda(boost::future)\>)’  
});  
^  
In file included from /usr/include/boost/thread.hpp:24:0,  
from /root/licode/erizo/src/erizo/WebRtcConnection.h:4,  
from /root/licode/erizo/src/erizo/WebRtcConnection.cpp:12:  
/usr/include/boost/thread/future.hpp:1598:9: note: candidate: template boost::future\<typenam e boost::result\_of\<F(boost::future&)\>::type\> boost::future::then(F&&) [with F = F; R = void]  
then(BOOST\_THREAD\_FWD\_REF(F) func);  
^  
/usr/include/boost/thread/future.hpp:1598:9: note: template argument deduction/substitution failed:  
In file included from /usr/include/boost/thread.hpp:24:0,  
from /root/licode/erizo/src/erizo/WebRtcConnection.h:4,  
from /root/licode/erizo/src/erizo/WebRtcConnection.cpp:12:  
/usr/include/boost/thread/future.hpp: In substitution of ‘template boost::future\<typename bo ost::result\_of\<F(boost::future&)\>::type\> boost::future::then(F&&) [with F = erizo::WebRtcConnec tion::setRemoteSdpInfo(std::shared\_ptrerizo::SdpInfo)::\<lambda(std::shared\_ptr\<erizo::WebRtcConnect ion\>)\>::\<lambda(boost::future)\>]’:  
/root/licode/erizo/src/erizo/WebRtcConnection.cpp:246:6: required from here  
/usr/include/boost/thread/future.hpp:3840:3: error: no type named ‘type’ in ‘struct boost::result\_of\< erizo::WebRtcConnection::setRemoteSdpInfo(std::shared\_ptrerizo::SdpInfo)::\<lambda(std::shared\_ptr)\>::\<lambda(boost::future)\>(boost::future&)\>’  
BOOST\_THREAD\_FUTURE::then(BOOST\_THREAD\_FWD\_REF(F) func)  
^  
In file included from /usr/include/boost/thread.hpp:24:0,  
from /root/licode/erizo/src/erizo/WebRtcConnection.h:4,  
from /root/licode/erizo/src/erizo/WebRtcConnection.cpp:12:  
/usr/include/boost/thread/future.hpp:1601:9: note: candidate: template boost::future\<typenam e boost::result\_of\<F(boost::future&)\>::type\> boost::future::then(boost::launch, F&&) [with F = F; R = void]  
then(launch policy, BOOST\_THREAD\_FWD\_REF(F) func);  
^  
/usr/include/boost/thread/future.hpp:1601:9: note: template argument deduction/substitution failed:  
/root/licode/erizo/src/erizo/WebRtcConnection.cpp:246:6: note: cannot convert ‘erizo::WebRtcConnection::setRemoteSdpInfo(std::shared\_ptrerizo::SdpInfo)::\<lambda(std::shared\_pt rerizo::WebRtcConnection)\>::\<lambda(boost::future)\>{std::shared\_ptr\<boost::promise \>§ }’ (type ‘erizo::WebRtcConnection::setRemoteSdpInfo(std::shared\_ptrerizo::SdpInfo)::\<lambda(std::sh ared\_ptrerizo::WebRtcConnection)\>::\<lambda(boost::future)\>’) to type ‘boost::launch’  
});  
^  
/root/licode/erizo/src/erizo/WebRtcConnection.cpp: In lambda function:  
/root/licode/erizo/src/erizo/WebRtcConnection.cpp:323:6: error: no matching function for call to ‘boo st::future::then(erizo::WebRtcConnection::setRemoteSdp(const string&)::\<lambda(std::shared\_ptr\< erizo::WebRtcConnection\>)\>::\<lambda(boost::future)\>)’  
});  
^  
In file included from /usr/include/boost/thread.hpp:24:0,  
from /root/licode/erizo/src/erizo/WebRtcConnection.h:4,  
from /root/licode/erizo/src/erizo/WebRtcConnection.cpp:12:  
/usr/include/boost/thread/future.hpp:1598:9: note: candidate: template boost::future\<typenam e boost::result\_of\<F(boost::future&)\>::type\> boost::future::then(F&&) [with F = F; R = void]  
then(BOOST\_THREAD\_FWD\_REF(F) func);  
^  
/usr/include/boost/thread/future.hpp:1598:9: note: template argument deduction/substitution failed:  
In file included from /usr/include/boost/thread.hpp:24:0,  
from /root/licode/erizo/src/erizo/WebRtcConnection.h:4,  
from /root/licode/erizo/src/erizo/WebRtcConnection.cpp:12:  
/usr/include/boost/thread/future.hpp: In substitution of ‘template boost::future\<typename bo ost::result\_of\<F(boost::future&)\>::type\> boost::future::then(F&&) [with F = erizo::WebRtcConnec tion::setRemoteSdp(const string&)::\<lambda(std::shared\_ptrerizo::WebRtcConnection)\>::\<lambda(boost: :future)\>]’:  
/root/licode/erizo/src/erizo/WebRtcConnection.cpp:323:6: required from here  
/usr/include/boost/thread/future.hpp:3840:3: error: no type named ‘type’ in ‘struct boost::result\_of\< erizo::WebRtcConnection::setRemoteSdp(const string&)::\<lambda(std::shared\_ptr\<erizo::WebRtcConnection \>)\>::\<lambda(boost::future)\>(boost::future&)\>’  
BOOST\_THREAD\_FUTURE::then(BOOST\_THREAD\_FWD\_REF(F) func)  
^  
In file included from /usr/include/boost/thread.hpp:24:0,  
from /root/licode/erizo/src/erizo/WebRtcConnection.h:4,  
from /root/licode/erizo/src/erizo/WebRtcConnection.cpp:12:  
/usr/include/boost/thread/future.hpp:1601:9: note: candidate: template boost::future\<typenam e boost::result\_of\<F(boost::future&)\>::type\> boost::future::then(boost::launch, F&&) [with F = F; R = void]  
then(launch policy, BOOST\_THREAD\_FWD\_REF(F) func);  
^  
/usr/include/boost/thread/future.hpp:1601:9: note: template argument deduction/substitution failed:  
/root/licode/erizo/src/erizo/WebRtcConnection.cpp:323:6: note: cannot convert ‘erizo::WebRtcConnection::setRemoteSdp(const string&)::\<lambda(std::shared\_ptr\<erizo::WebRtcConnect ion\>)\>::\<lambda(boost::future)\>{std::shared\_ptr\<boost::promise \>§}’ (type ‘erizo::WebRt cConnection::setRemoteSdp(const string&)::\<lambda(std::shared\_ptrerizo::WebRtcConnection)\>::\<lambda (boost::future)\>’) to type ‘boost::launch’  
});  
^  
make[2]: \*\*\* [erizo/CMakeFiles/erizo.dir/WebRtcConnection.cpp.o] Error 1  
make[1]: \*\*\* [erizo/CMakeFiles/erizo.dir/all] Error 2  
make: \*\*\* [all] Error 2

Any help appreciated.

---

<div class="post-metadata">

**Author:** ![dongsn](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/dongsn/32/141_2.png) [@dongsn](https://discourse.lynckia.com/u/dongsn)\
**Post date:** [April 1, 2019, 2:13am UTC](https://discourse.lynckia.com/t/installing-from-script-error-during-installerizo-sh/902/2 "2019-04-01T02:13:40Z")

</div>

Try ubuntu16.04 [https://github.com/lynckia/licode/pull/1300](https://github.com/lynckia/licode/pull/1300)

---

<div class="post-metadata">

**Author:** ![Marlin\_Cobb](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@Marlin\_Cobb](https://discourse.lynckia.com/u/Marlin_Cobb)\
**Post date:** [April 3, 2019, 6:45pm UTC](https://discourse.lynckia.com/t/installing-from-script-error-during-installerizo-sh/902/3 "2019-04-03T18:45:38Z")

</div>

Install on 16.04 appears to work with out errors
