|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #57782 configure fails to recognize mising headers
Submitted: 2007-08-12 21:07 UTC Modified: 2015-02-11 18:46 UTC
From: probono at myrealbox dot com Assigned: jimjag (profile)
Status: Closed Package: gnupg (PECL)
PHP Version: 4.4.5 OS: debian
Private report: No CVE-ID: None
 [2007-08-12 21:07 UTC] probono at myrealbox dot com
had to use "apt-get install libgpgme11-dev" to fix the problem

Reproduce code:
# pecl install gnupg
downloading gnupg-1.3.1.tgz ...
Starting to download gnupg-1.3.1.tgz (19,331 bytes)
In file included from /tmp/pear/cache/gnupg-1.3.1/gnupg.c:22:
/tmp/pear/cache/gnupg-1.3.1/php_gnupg.h:35: error: syntax error before 'gpgme_ctx_t'
/tmp/pear/cache/gnupg-1.3.1/php_gnupg.h:35: warning: no semicolon at end of struct or union
/tmp/pear/cache/gnupg-1.3.1/php_gnupg.h:36: warning: data definition has no type or storage class
/tmp/pear/cache/gnupg-1.3.1/php_gnupg.h:40: error: syntax error before '*' token
/tmp/pear/cache/gnupg-1.3.1/gnupg.c:1516: error: 'gpgme_signature' undeclared (first use in this function)
make: *** [gnupg.lo] Error 1
ERROR: `make' failed

Expected result:
Should have told me that libgpgme11-dev was missing. (I had 
installed libgpgme-dev instead.)

Actual result:
Just failed to compile w/o any hint. Thanks chinstrap from IRC 
for helping me solve it.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-11 18:46 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: jimjag
 [2015-02-11 18:46 UTC]
OLD - no longer applicable
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Oct 29 00:01:23 2020 UTC