i'm unable to install libboost-all-dev package versions 1.42 or latest in ubuntu 10.04. only boost1.40 is installing. but i need 1.42. what should i do?
when i tried to install 1.48 boost i got the following error:

1 Answer
1

libboost-all-dev depends on libboost-dev; however: Package libboost-dev is not installed.

Try to find and install all listed dependencies using synaptic or apt-get. Sart with libboost-dev. However in 10.04 there is 1.40 version of Boost. Do You need some new features from 1.42 or 1.48? If not then use 1.40 provided by Ubuntu Software Center. If yes:

You can always compile Boost Yourself. On the boost website You can find step by step tutorial. Then You just have to remember to include proper headers.

I compiled Boost on Win and on Linux and it is not really painful :)

EDIT: In many cases You don't even need to compile Boost to use it, because it is include-header-only.