Installing from script, error during installErizo.sh

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.

Try ubuntu16.04 https://github.com/lynckia/licode/pull/1300

Install on 16.04 appears to work with out errors