|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2006-02-02 08:03 UTC] traufeisen@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 20:00:01 2025 UTC | 
Description: ------------ pecl-gnupg can't find gpgme because it's looking in the wrong place during ./configure . * ./configure looks for /include/gpgme.h inside of /usr/local and /usr -- but Gentoo puts gpgme.h inside of /usr/include/gpgme/. Reproduce code: --------------- Workaround: apply following diff before phpize --- gnupg-1.0/config.m4.old 2006-02-01 19:43:56.000000000 +0000 +++ gnupg-1.0/config.m4 2006-02-01 19:44:22.000000000 +0000 @@ -6,7 +6,7 @@ if test "$PHP_GNUPG" != "no"; then SEARCH_PATH="/usr/local /usr" - SEARCH_FOR="/include/gpgme.h" + SEARCH_FOR="/include/gpgme/gpgme.h" if test -r $PHP_GNUPG/$SEARCH_FOR; then GNUPG_DIR=$PHP_GNUPG else @@ -24,7 +24,7 @@ AC_MSG_ERROR([Please reinstall the gpgme distribution]) fi - PHP_ADD_INCLUDE($GNUPG_DIR/include) + PHP_ADD_INCLUDE($GNUPG_DIR/include/gpgme) LIBNAME=gpgme LIBSYMBOL=gpgme_check_version