php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: probono at myrealbox dot com
New email:
PHP Version: OS:

 

 [2007-08-12 21:07 UTC] probono at myrealbox dot com
Description:
------------
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-11 18:46 UTC] jimjag@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: jimjag
 [2015-02-11 18:46 UTC] jimjag@php.net
OLD - no longer applicable
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 12:01:28 2025 UTC