Opened 12 years ago
Closed 12 years ago
#5439 closed defect (fixed)
gnutls-3.3.7 does not build without p11-kit
| Reported by: | Pierre Labastie | Owned by: | Pierre Labastie |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.6 |
| Component: | BOOK | Version: | SVN |
| Severity: | high | Keywords: | |
| Cc: |
Description
There is a bug in one of the library file, which prevents building gnutls 3.3.7 if p11-kit is not installed. Passing --without-p11-kit does not resolve the issue, since configure correctly detects that p11-kit is not installed anyway, and sets ENABLE_PKCS11 accordingly.
The bug is corrected in git. A patch may be found at http://comments.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/7612
Another possibility, as done in the systemd book, is to promote p11-kit to recommended.
Thoughts?
Note:
See TracTickets
for help on using tickets.

Would adding this command fix the problem?
sed -i -e '201 i#ifdef ENABLE_PKCS11' \ -e '213 i#endif' \ lib/gnutls_privkey.c