Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#24612 - Support gpgme installations which don't install gpgme.h directly into /usr/include
Attached to Project:
Pacman
Opened by Nathan Phillip Brink (ohnobinki) - Tuesday, 07 June 2011, 03:55 GMT
Last edited by Allan McRae (Allan) - Saturday, 18 February 2012, 06:53 GMT
Opened by Nathan Phillip Brink (ohnobinki) - Tuesday, 07 June 2011, 03:55 GMT
Last edited by Allan McRae (Allan) - Saturday, 18 February 2012, 06:53 GMT
|
DetailsSummary and Info:
Certain distributions install gpgme.h to /usr/include/gpgme. gpgme includes a gpgme-config binary for this purpose: ohnobinki@ohnopublishing ~/pacman $ gpgme-config --cflags -I/usr/include/gpgme The attached patch makes use of this binary during ./configure and also tests the availability of gpgme.h to avoid: libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/tmp/pacman/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -c pkghash.c -fPIC -DPIC -o .libs/pkghash.o libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/tmp/pacman/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -c log.c -fPIC -DPIC -o .libs/log.o libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/tmp/pacman/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -c handle.c -fPIC -DPIC -o .libs/handle.o signing.c:28:19: fatal error: gpgme.h: No such file or directory compilation terminated. make[3]: *** [signing.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... |
This task depends upon
Closed by Allan McRae (Allan)
Saturday, 18 February 2012, 06:53 GMT
Reason for closing: Fixed
Additional comments about closing: http://projects.archlinux.org/pacman.git /commit/?id=115c0381
Saturday, 18 February 2012, 06:53 GMT
Reason for closing: Fixed
Additional comments about closing: http://projects.archlinux.org/pacman.git /commit/?id=115c0381
0001-Add-support-for-gpgme-in...
http://www.gnupg.org/documentation/manuals/gpgme/Using-Automake.html
So a combination of AM_PATH_GPGME check and the provided patch is what is really needed.
(although there might be a patch coming to a mailing list near you as soon as I test it in a few more possible setups....)
2. Is it AM_PATH_GPGME or AM_GPGME_PATH? Please proofread your commit message for things like this.
2. Oops, I had wondered if I made that mistake, checked again, and then still ended up making it :-/.