Package Details: cpp-netlib 0.12.0-1

Git Clone URL: (read-only)
Package Base: cpp-netlib
Description: A library that provides application layer protocol support using modern C++ techniques
Upstream URL:
Keywords: networking
Licenses: custom
Submitter: ndowens
Maintainer: vri
Last Packager: vri
Votes: 12
Popularity: 0.069886
First Submitted: 2011-01-31 07:26
Last Updated: 2016-05-21 09:17

Latest Comments

jtgoguen commented on 2017-03-15 23:08

This needs a makedepends on boost, maybe also boost-libs

maximiliankaul commented on 2017-02-26 17:55

I think `asio` should be in the dependencies of this package. Until 0.13 that is ;)

vri commented on 2015-10-21 06:58

Thanks for the hint; done.

htfy96 commented on 2015-10-21 04:14

I recommend the source should be changed to , because 1) 0.11.2 has been released 2) the official site is more reliable while is blocked in my country :(

vri commented on 2014-12-26 22:10

Updated to 0.11.1

vri commented on 2014-10-29 19:05

@mauritiusdadd: thanks for figuring this out. Updated accordingly.

mauritiusdadd commented on 2014-10-24 16:18

Hi, it seems that the file 'cppnetlibTargets-noconfig.cmake' contains references to the $pkgdir and this makes the cmake find_package function unusable (take a look to this thread in the Arch forum [1]).

In order to fix this issue, you may want to add the following code at the end of the package() function

for _file in $(find ${pkgdir}/usr/lib/cmake/cppnetlib -type f -name "*.cmake");
sed -i -e "s|${pkgdir}/usr/lib64|${_basedir}/usr/lib|g" $_file


vri commented on 2014-02-08 15:13

@plaristote: sorry, I must have missed your comment. Not installing any libs is not normal, and was due to what dimka mentioned. Should be solved in latest version.

vri commented on 2014-02-08 15:10

Updated to latest version, now builds shared libs only.

dimka commented on 2014-02-01 09:46

You should add options=(staticlibs) to PKGBUILD in order for the static libs to be installed to /usr/lib (this option is now disabled by default).

plaristote commented on 2013-11-14 17:34

I just made a 'pacman -Ql cpp-netlib' and found that no libraries were installed.
The package only installed headers and the liscence. Is that normal ?

HateJacket commented on 2013-09-06 13:29

Works fine now with boost-libs-static from here. Seems i mis-deleted my comment while correcting a double post too, sorry about that lol.

vri commented on 2013-09-05 07:06

This package should install to /usr/include/boost directly, as was rightfully noticed by HateJacket. Updated.

HateJacket commented on 2013-09-04 16:08

Is it just me, or does this install to the wrong location? It should install to /usr/include, to accompany the boost headers...

vri commented on 2013-08-28 19:28

Updated; thanks for your feedback. Would you please also provide your patch upstream?

nullptr commented on 2013-08-27 19:44

It looks like cpp-netlib needs the following patch applied for http clients to compile correctly on my machine.

--- cpp-netlib-0.10.1/boost/network/protocol/http/client/options.hpp 2013-07-04 11:56:18.000000000 -0400
+++ /usr/include/cpp-netlib/boost/network/protocol/http/client/options.hpp 2013-08-27 15:00:57.898803862 -0400
@@ -39,7 +39,7 @@
swap(cache_resolved_, other.cache_resolved_);
swap(follow_redirects_, other.follow_redirects_);
swap(openssl_certificate_, other.openssl_certificate_);
- swap(openssl_verify_path, other.openssl_verify_path_);
+ swap(openssl_verify_path_, other.openssl_verify_path_);
swap(io_service_, other.io_service_);

vri commented on 2013-04-01 20:47

Thanks for your hint. Arch Boost no longer ships static libraries and the tests linked statically to the boost libs. I upgraded PKGBUILD such that it adapts CMakeList.txt files to link dynamically (excluded one test).

plaristote commented on 2013-03-30 19:24

Hey ! The package broke with today's Boost update.
CMake can't find Boost anymore.

plaristote commented on 2013-03-30 18:45

Hey ! The package broke with today's Boost update.
CMake can't find Boost anymore.

vri commented on 2012-08-14 13:19

Seems to work again...

ndowens commented on 2011-06-11 00:44

0.9.0 version doesnt work, not upgrading