Tiranow
Scripter
- Joined
- Feb 27, 2008
- Messages
- 36
- Reaction score
- 0
When I type the command to compile ./configure - enable-mysql
Return this error:
checking asio.hpp usability ... no
checking asio.hpp presence ... no
checking for asio.hpp ... no
configure: error: 'boost:: asio header not found. "
What I have to do to "boost:: asio" work?
@up
I have a better solution.
Then replace these strings in all CPP and H files:
boost::asio:: => asio::
boost::system:: => asio::
boost/asio.hpp => asio.hpp
Then open configure.ac. Delete these lines:
Code:
Find this line:
Code:
and turn it into:
Code:
Return this error:
checking asio.hpp usability ... no
checking asio.hpp presence ... no
checking for asio.hpp ... no
configure: error: 'boost:: asio header not found. "
What I have to do to "boost:: asio" work?
@up
I have a better solution.
Code:
$ apt-get install libasio-dev
boost::asio:: => asio::
boost::system:: => asio::
boost/asio.hpp => asio.hpp
Then open configure.ac. Delete these lines:
Code:
Code:
AC_CHECK_LIB(boost_system-gcc-mt, main, , [
AC_CHECK_LIB(boost_system-mt, main, , [
AC_CHECK_LIB(boost_system, main, , [
AC_MSG_ERROR("Linking against boost::system library failed.")])
])
])
Code:
Code:
AC_CHECK_HEADERS([boost/asio.hpp], ,[AC_MSG_ERROR("boost::asio header not found.")])
Code:
Code:
AC_CHECK_HEADERS([asio.hpp], ,[AC_MSG_ERROR("boost::asio header not found.")])
Last edited by a moderator: