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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 08:01:30 2024 UTC