php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57169 Won't build
Submitted: 2006-08-02 02:54 UTC Modified: 2006-10-24 10:04 UTC
From: info at vacdepot dot com Assigned: traufeisen (profile)
Status: Closed Package: gnupg (PECL)
PHP Version: 4.3.9 OS: RHEL ES4
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: info at vacdepot dot com
New email:
PHP Version: OS:

 

 [2006-08-02 02:54 UTC] info at vacdepot dot com
Description:
------------
I am working with 
autoconf-2.59-5
automake-1.9.2-3
libtool-1.5.6-4.EL4.1

Reproduce code:
---------------
pear install gnupg-1.2.tar
5 source files, building
running: phpize
configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR
configure.in:33: warning: underquoted definition of PHP_EXT_DIR
configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR
configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED
acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C
/usr/bin/phpize: /tmp/tmpf1z4p9/gnupg-1.2/build/shtool: /bin/sh: bad interpreter
: Permission denied
/usr/bin/phpize: line 68: -f: command not found
`phpize' failed


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-06 06:44 UTC] micha-usenet-06 at arcor dot de
You should ensure to have phpize (probably part of a PHP development package) installed on your system.
 [2006-10-08 15:26 UTC] micha-usenet-06 at arcor dot de
even with installed phpize the build fails:

# pear install gnupg
downloading gnupg-1.2.tgz ...
Starting to download gnupg-1.2.tgz (20,264 bytes)
.......done: 20,264 bytes
5 source files, building
running: phpize
Configuring for:
PHP Api Version:         20020918
Zend Module Api No:      20020429
Zend Extension Api No:   20021010
/usr/share/aclocal/oaf.m4:4: warning: underquoted definition of AM_PATH_OAF
   run info '(automake)Extending aclocal'
   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/gpgme.m4:9: warning: underquoted definition of 
AM_PATH_GPGME
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of 
AM_PATH_GLIB
/usr/share/aclocal/gconf-1.m4:4: warning: underquoted definition of 
AM_PATH_GCONF
/usr/share/aclocal/gconf-1.m4:71: warning: underquoted definition of 
AM_GCONF_SOURCE
building in /var/tmp/pear-build-root/gnupg-1.2
running: /tmp/tmp3a6sm4/gnupg-1.2/configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php4 
-I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM
checking for PHP extension directory... /usr/lib/php4/20020429
checking for re2c... exit 0;
checking for gawk... gawk
checking for gnupg support... yes, shared
checking for gnupg files in default path... found in /usr/include
checking for gpgme_check_version in -lgpgme... yes
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /var/tmp/pear-build-root/gnupg-1.2/libtool --mode=compile gcc 
-I. -I/tmp/tmp3a6sm4/gnupg-1.2 -DPHP_ATOM_INC 
-I/var/tmp/pear-build-root/gnupg-1.2/include 
-I/var/tmp/pear-build-root/gnupg-1.2/main -I/tmp/tmp3a6sm4/gnupg-1.2 
-I/usr/include/php4 -I/usr/include/php4/main -I/usr/include/php4/Zend 
-I/usr/include/php4/TSRM -I/usr/include/include  -DHAVE_CONFIG_H  -g -O2 
   -c /tmp/tmp3a6sm4/gnupg-1.2/gnupg.c -o gnupg.lo
mkdir .libs
  gcc -I. -I/tmp/tmp3a6sm4/gnupg-1.2 -DPHP_ATOM_INC 
-I/var/tmp/pear-build-root/gnupg-1.2/include 
-I/var/tmp/pear-build-root/gnupg-1.2/main -I/tmp/tmp3a6sm4/gnupg-1.2 
-I/usr/include/php4 -I/usr/include/php4/main -I/usr/include/php4/Zend 
-I/usr/include/php4/TSRM -I/usr/include/include -DHAVE_CONFIG_H -g -O2 
-c /tmp/tmp3a6sm4/gnupg-1.2/gnupg.c  -fPIC -DPIC -o .libs/gnupg.o
In file included from /tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:22:
/tmp/tmp3a6sm4/gnupg-1.2/php_gnupg.h:35: error: syntax error before 
"gpgme_ctx_t"
/tmp/tmp3a6sm4/gnupg-1.2/php_gnupg.h:35: warning: no semicolon at end of 
struct or union
/tmp/tmp3a6sm4/gnupg-1.2/php_gnupg.h:36: warning: data definition has no 
type or storage class
/tmp/tmp3a6sm4/gnupg-1.2/php_gnupg.h:40: error: syntax error before '*' 
token
/tmp/tmp3a6sm4/gnupg-1.2/php_gnupg.h:40: warning: data definition has no 
type or storage class
/tmp/tmp3a6sm4/gnupg-1.2/php_gnupg.h:44: error: syntax error before '}' 
token
/tmp/tmp3a6sm4/gnupg-1.2/php_gnupg.h:44: warning: data definition has no 
type or storage class
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:89: error: syntax error before '*' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `gnupg_free_encryptkeys':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:90: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:90: error: (Each undeclared identifier 
is reported only once
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:90: error: for each function it appears 
in.)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: At top level:
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:108: error: syntax error before '*' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `gnupg_free_resource_ptr':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:109: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `gnupg_res_dtor':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:128: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:129: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: At top level:
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:136: error: syntax error before '*' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `gnupg_res_init':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:138: error: `gpgme_ctx_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:138: error: syntax error before "ctx"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:139: error: `ctx' undeclared (first use 
in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:141: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: At top level:
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:382: error: syntax error before 
"passphrase_cb"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:382: error: syntax error before '*' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `passphrase_cb':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:388: error: `last_was_bad' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:389: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:393: error: `uid_hint' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:405: error: `fd' undeclared (first use 
in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: At top level:
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:410: error: syntax error before 
"passphrase_decrypt_cb"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:410: error: syntax error before '*' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `passphrase_decrypt_cb':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:416: error: `last_was_bad' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:417: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:421: error: `uid_hint' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:432: error: `fd' undeclared (first use 
in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: At top level:
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:440: error: syntax error before 
"gpgme_signatures"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `gnupg_fetchsignatures':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:441: error: `main_arr' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:442: error: `gpgme_signatures' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:443: error: `sig_arr' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_init':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:462: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_setarmor':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:477: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:487: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_seterrormode':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:503: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:513: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_setsignmode':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:538: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:548: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_geterror':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:569: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:575: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_keyinfo':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:608: error: `gpgme_key_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:608: error: syntax error before "gpgme_key"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:609: error: `gpgme_subkey_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:610: error: `gpgme_user_id_t' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:612: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:622: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:624: error: `GPG_ERR_NO_ERROR' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:631: error: `gpgme_key' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:648: error: `gpgme_userid' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:667: error: `gpgme_subkey' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_addsignkey':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:708: error: `gpgme_key_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:708: error: syntax error before "gpgme_key"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:709: error: `gpgme_subkey_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:711: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:721: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:723: error: `gpgme_key' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:723: error: `GPG_ERR_NO_ERROR' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:728: error: `gpgme_subkey' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_adddecryptkey':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:752: error: `gpgme_key_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:752: error: syntax error before "gpgme_key"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:753: error: `gpgme_subkey_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:755: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:765: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:767: error: `gpgme_key' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:767: error: `GPG_ERR_NO_ERROR' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:771: error: `gpgme_subkey' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_addencryptkey':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:788: error: `gpgme_key_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:788: error: syntax error before "gpgme_key"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:790: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:800: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:803: error: `gpgme_key' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:803: error: `GPG_ERR_NO_ERROR' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_clearsignkeys':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:819: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:825: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_clearencryptkeys':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:838: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:844: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_cleardecryptkeys':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:856: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:862: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_sign':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:882: error: `gpgme_data_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:882: error: syntax error before "in"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:883: error: `gpgme_sign_result_t' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:885: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:895: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:899: error: `in' undeclared (first use 
in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:899: error: `GPG_ERR_NO_ERROR' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:903: error: `out' undeclared (first use 
in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:917: error: `result' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_encrypt':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:953: error: `gpgme_data_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:953: error: syntax error before "in"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:954: error: `gpgme_encrypt_result_t' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:956: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:966: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:972: error: `in' undeclared (first use 
in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:972: error: `GPG_ERR_NO_ERROR' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:976: error: `out' undeclared (first use 
in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:981: error: 
`GPGME_ENCRYPT_ALWAYS_TRUST' undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:981: error: too many arguments to 
function `gpgme_op_encrypt'
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:987: error: `result' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_encryptsign':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1015: error: `gpgme_data_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1015: error: syntax error before "in"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1016: error: `gpgme_encrypt_result_t' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1017: error: `gpgme_sign_result_t' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1019: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1029: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1037: error: `in' undeclared (first use 
in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1037: error: `GPG_ERR_NO_ERROR' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1041: error: `out' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1046: error: 
`GPGME_ENCRYPT_ALWAYS_TRUST' undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1046: error: too many arguments to 
function `gpgme_op_encrypt_sign'
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1056: error: `result' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1064: error: `sign_result' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_verify':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1093: error: `gpgme_data_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1093: error: syntax error before 
"gpgme_text"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1094: error: `gpgme_verify_result_t' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1104: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1114: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1118: error: `gpgme_sig' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1118: error: `GPG_ERR_NO_ERROR' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1123: error: `gpgme_text' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1157: error: `gpgme_result' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_decrypt':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1186: error: `gpgme_data_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1186: error: syntax error before "in"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1187: error: `gpgme_decrypt_result_t' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1189: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1199: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1204: error: `in' undeclared (first use 
in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1204: error: `GPG_ERR_NO_ERROR' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1207: error: `out' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1221: error: `result' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_decryptverify':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1251: error: `gpgme_data_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1251: error: syntax error before "in"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1252: error: `gpgme_decrypt_result_t' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1253: error: `gpgme_verify_result_t' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1254: error: `gpgme_signature_t' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1256: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1266: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1271: error: `in' undeclared (first use 
in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1271: error: `GPG_ERR_NO_ERROR' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1274: error: `out' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1279: error: too few arguments to 
function `gpgme_op_decrypt_verify'
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1291: error: `decrypt_result' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1298: error: `verify_result' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_export':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1320: error: `gpgme_data_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1320: error: syntax error before "out"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1322: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1332: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1334: error: `out' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1334: error: `GPG_ERR_NO_ERROR' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1338: warning: passing arg 2 of 
`gpgme_op_export' from incompatible pointer type
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1338: error: too many arguments to 
function `gpgme_op_export'
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_import':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1360: error: `gpgme_data_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1360: error: syntax error before "in"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1361: error: `gpgme_import_result_t' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1363: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1373: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1375: error: `in' undeclared (first use 
in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1375: error: `GPG_ERR_NO_ERROR' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1385: error: `result' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_deletekey':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1410: error: `gpgme_key_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1410: error: syntax error before 
"gpgme_key"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1412: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1422: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1425: error: `gpgme_key' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1425: error: `GPG_ERR_NO_ERROR' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_gettrustlist':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1447: error: `gpgme_trust_item_t' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1447: error: syntax error before "item"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1449: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1459: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1461: error: `GPG_ERR_NO_ERROR' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1466: error: `item' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c: In function `zif_gnupg_listsignatures':
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1490: error: `gpgme_key_t' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1490: error: syntax error before 
"gpgme_key"
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1491: error: `gpgme_subkey_t' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1492: error: `gpgme_user_id_t' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1493: error: `gpgme_key_sig_t' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1495: error: `intern' undeclared (first 
use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1505: error: syntax error before ')' token
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1507: error: `GPG_ERR_NO_ERROR' 
undeclared (first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1511: error: `gpgme_key' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1521: error: `gpgme_userid' undeclared 
(first use in this function)
/tmp/tmp3a6sm4/gnupg-1.2/gnupg.c:1525: error: `gpgme_signature' 
undeclared (first use in this function)
make: *** [gnupg.lo] Error 1
`make' failed
 [2006-10-19 07:52 UTC] rusxakep at mail dot ru
Bug

in config.m4:

PHP_ADD_INCLUDE($GNUPG_DIR/include) -> PHP_ADD_INCLUDE($GNUPG_DIR)

Try it.
 [2006-10-24 10:04 UTC] traufeisen@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Sep 21 17:01:27 2019 UTC