You are not logged in.

#1 2007-12-22 00:07:56

tntcoda
Member
Registered: 2007-07-24
Posts: 115

Boost.asio Library Install Problems

Hi,

I am wanting to use the boost.asio library with C++, however i cannot get it installed.

I have the arch boost package installed (http://www.archlinux.org/packages/searc … ll&q=boost), but for some reason this does not contain asio?? Anyone know why?

There is an asio package in the AUR, but it is old/non boost version i think.

So my next step was to get it and install myself, i got boost_asio_0_3_9.tar.gz

The readme is as follows:

Copy the `boost' and `libs' directories into an existing boost 1.33.0, 1.33.1,
1.34 or 1.34.1 distribution.

Before using Boost.Asio, the Boost.System library needs to be built. This can
be done by running bjam in the libs/system/build directory. Consult the Boost
Getting Started page (http://www.boost.org/more/getting_started.html) for more
information on how to build the Boost libraries.

So i copied the boost and libs directory's contents to "/usr/include/boost" (my boost arch package install)... Now i need to build Boost.System, by running bjam, this is the part i cannot get to work.

I dont know what syntax to correctly use with bjam from the libs/system/build directory, and the getting started documentation is not helpful to me in this context for some reason. The build directory just contains the file Jamfile.v2.

Please can someone point out to me how to install this asio library correctly.

Thanks for any help,

Jack

Offline

Board footer

Powered by FluxBB