As of 0.12.0 cpp-netlib uses asio instead of boost/asio, so if you do not have asio-devel (or something like this) installed building with cpp-netlib will fail.
This took me only maybe 2 minutes, but a hint in the documentation that asio has to be installed would be great.