I tried running:
yum install boost boost-devel boost-doc (1/3): boost-1.33.1-15.el5.i386.rpm (2/3): boost-doc-1.33.1-15.el5.i386.rpm (3/3): boost-devel-1.33.1-15.el5.i386.rpm
Then it successfully installed the boost lib, but when I compile my script:
#include <boost/shared_ptr.hpp> #include <boost/enable_shared_from_this.hpp> #include <boost/bind.hpp> #include <boost/asio.hpp> #include <boost/thread/mutex.hpp>
But when it gets to:
Boost/asio.hpp: No such file or directory.
How do you install ASIO on CentOS?
yum install asio-devel
No package asio-devel available.
And confirmed that
asio wasn't there.
I'm trying to download the asio files and just upload it to the directory right now.
Hopefully it works.