| Summary: | net-dns/pdns-3.4.0 USE=cryptopp - configure: error: Could not find crypto++ (looking for pkg-config modules) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | James Taylor <james> |
| Component: | [OLD] Server | Assignee: | Sven Wegener <swegener> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | crypto+disabled, jer, stevan |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | https://github.com/PowerDNS/pdns/issues/1843 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
James Taylor
2014-10-27 08:21:30 UTC
m4/pdns_with_cryptopp.m4 is indeed looking for pkg-config files, but crypto++ doesn't ship them, hasn't seen a release or indeed any work in over a year, and shouldn't be expected to suddenly spring up some .pc files, so obviously this problem is squarely in the camp of PDNS. I asked upstream first, they mentioned that other distributions package their own versions of the pkg-config files for crypto++... and that they solely depend on pkg-config to find dependencies. (In reply to James Taylor from comment #2) > I asked upstream first, they mentioned that other distributions package I feared as much. https://github.com/PowerDNS/pdns/issues/1628 says these distributions can't even agree on what to call the pkg-config modules. > their own versions of the pkg-config files for crypto++... and that they > solely depend on pkg-config to find dependencies. Downstream distributors shouldn't add those, but here we are. Debian ships something of their own called debian/libcrypto++.pc.in which has the following content:
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: libcrypto++
Description: General purpose cryptographic shared library
URL: http://www.cryptopp.com
Version: @VERSION@
Requires:
Libs: -lcrypto++
Cflags:
which isn't any better than AC_CHECK_LIB(...) would have done.
Thanks, fixed with 3.4.4. I'm forcing the use of -lcrypto++ without relying on pkg-config being available. |