[Tickets #14696] Re: Fresh install on Debian9 => Error

noreply at bugs.horde.org noreply at bugs.horde.org
Sun Sep 24 08:27:08 UTC 2017


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14696
------------------------------------------------------------------------------
  Ticket             | 14696
  Updated By         | adelium904 at gmail.com
  Summary            | Fresh install on Debian9 => Error
  Queue              | Horde Groupware
  Version            | 5.2.22
  Type               | Bug
  State              | Unconfirmed
  Priority           | 3. High
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


adelium904 at gmail.com (2017-09-24 08:25) wrote:

Hi, I am trying to install Horde Groupware on a Debian 9 with PEAR.
I had several issue that I could solve, but this one, I have no solution.
Here is the result of the vommand:

pear install -a horde/groupware

What can I do to install Horde Groupware?

Regards,
Vandman.

"checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/bash /tmp/pear/temp/pear-build-rooti83O6T/pam-1.0.3/libtool  
--mode=compile cc  -I. -I/tmp/pear/temp/pam -DPHP_ATOM_INC  
-I/tmp/pear/temp/pear-build-rooti83O6T/pam-1.0.3/include  
-I/tmp/pear/temp/pear-build-rooti83O6T/pam-1.0.3/main  
-I/tmp/pear/temp/pam -I/usr/include/php/20151012  
-I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM  
-I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext  
-I/usr/include/php/20151012/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c  
/tmp/pear/temp/pam/pam.c -o pam.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/pam -DPHP_ATOM_INC  
-I/tmp/pear/temp/pear-build-rooti83O6T/pam-1.0.3/include  
-I/tmp/pear/temp/pear-build-rooti83O6T/pam-1.0.3/main  
-I/tmp/pear/temp/pam -I/usr/include/php/20151012  
-I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM  
-I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext  
-I/usr/include/php/20151012/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c  
/tmp/pear/temp/pam/pam.c  -fPIC -DPIC -o .libs/pam.o
/tmp/pear/temp/pam/pam.c: In function ?zif_pam_auth?:
/tmp/pear/temp/pam/pam.c:251:36: error: macro "ZVAL_STRING" passed 3  
arguments, but takes just 2
     ZVAL_STRING(status, error_msg, 0);
                                     ^
/tmp/pear/temp/pam/pam.c:251:4: error: ?ZVAL_STRING? undeclared (first  
use in this function)
     ZVAL_STRING(status, error_msg, 0);
     ^~~~~~~~~~~
/tmp/pear/temp/pam/pam.c:251:4: note: each undeclared identifier is  
reported only once for each function it appears in
/tmp/pear/temp/pam/pam.c:256:40: warning: passing argument 2 of  
?zend_hash_find? from incompatible pointer type  
[-Wincompatible-pointer-types]
   if (zend_hash_find(&EG(symbol_table), "_SERVER", sizeof("_SERVER"),  
(void **)&server) == SUCCESS && Z_TYPE_PP(server) == IS_ARRAY) {
                                         ^~~~~~~~~
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                  from /usr/include/php/20151012/main/php.h:36,
                  from /tmp/pear/temp/pam/pam.c:26:
/usr/include/php/20151012/Zend/zend_hash.h:154:30: note: expected  
?zend_string * {aka struct _zend_string *}? but argument is of type  
?char *?
  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht,  
zend_string *key);
                               ^~~~~~~~~~~~~~
/tmp/pear/temp/pam/pam.c:256:6: error: too many arguments to function  
?zend_hash_find?
   if (zend_hash_find(&EG(symbol_table), "_SERVER", sizeof("_SERVER"),  
(void **)&server) == SUCCESS && Z_TYPE_PP(server) == IS_ARRAY) {
       ^~~~~~~~~~~~~~
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                  from /usr/include/php/20151012/main/php.h:36,
                  from /tmp/pear/temp/pam/pam.c:26:
/usr/include/php/20151012/Zend/zend_hash.h:154:30: note: declared here
  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht,  
zend_string *key);
                               ^~~~~~~~~~~~~~
/tmp/pear/temp/pam/pam.c:256:102: warning: implicit declaration of  
function ?Z_TYPE_PP? [-Wimplicit-function-declaration]
   if (zend_hash_find(&EG(symbol_table), "_SERVER", sizeof("_SERVER"),  
(void **)&server) == SUCCESS && Z_TYPE_PP(server) == IS_ARRAY) {
                                                                        
                                 ^~~~~~~~~
/tmp/pear/temp/pam/pam.c:257:22: warning: implicit declaration of  
function ?Z_ARRVAL_PP? [-Wimplicit-function-declaration]
    if (zend_hash_find(Z_ARRVAL_PP(server), "REMOTE_ADDR",  
sizeof("REMOTE_ADDR"), (void **)&remote_addr) == SUCCESS &&  
Z_TYPE_PP(remote_addr) == IS_STRING) {
                       ^~~~~~~~~~~
/tmp/pear/temp/pam/pam.c:257:22: warning: passing argument 1 of  
?zend_hash_find? makes pointer from integer without a cast  
[-Wint-conversion]
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                  from /usr/include/php/20151012/main/php.h:36,
                  from /tmp/pear/temp/pam/pam.c:26:
/usr/include/php/20151012/Zend/zend_hash.h:154:30: note: expected  
?const HashTable * {aka const struct _zend_array *}? but argument is  
of type ?int?
  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht,  
zend_string *key);
                               ^~~~~~~~~~~~~~
/tmp/pear/temp/pam/pam.c:257:43: warning: passing argument 2 of  
?zend_hash_find? from incompatible pointer type  
[-Wincompatible-pointer-types]
    if (zend_hash_find(Z_ARRVAL_PP(server), "REMOTE_ADDR",  
sizeof("REMOTE_ADDR"), (void **)&remote_addr) == SUCCESS &&  
Z_TYPE_PP(remote_addr) == IS_STRING) {
                                            ^~~~~~~~~~~~~
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                  from /usr/include/php/20151012/main/php.h:36,
                  from /tmp/pear/temp/pam/pam.c:26:
/usr/include/php/20151012/Zend/zend_hash.h:154:30: note: expected  
?zend_string * {aka struct _zend_string *}? but argument is of type  
?char *?
  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht,  
zend_string *key);
                               ^~~~~~~~~~~~~~
/tmp/pear/temp/pam/pam.c:257:7: error: too many arguments to function  
?zend_hash_find?
    if (zend_hash_find(Z_ARRVAL_PP(server), "REMOTE_ADDR",  
sizeof("REMOTE_ADDR"), (void **)&remote_addr) == SUCCESS &&  
Z_TYPE_PP(remote_addr) == IS_STRING) {
        ^~~~~~~~~~~~~~
In file included from /usr/include/php/20151012/Zend/zend.h:36:0,
                  from /usr/include/php/20151012/main/php.h:36,
                  from /tmp/pear/temp/pam/pam.c:26:
/usr/include/php/20151012/Zend/zend_hash.h:154:30: note: declared here
  ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht,  
zend_string *key);
                               ^~~~~~~~~~~~~~
/tmp/pear/temp/pam/pam.c:258:34: warning: implicit declaration of  
function ?Z_STRVAL_PP? [-Wimplicit-function-declaration]
     pam_set_item(pamh, PAM_RHOST, Z_STRVAL_PP(remote_addr));
                                   ^~~~~~~~~~~
/tmp/pear/temp/pam/pam.c:258:34: warning: passing argument 3 of  
?pam_set_item? makes pointer from integer without a cast  
[-Wint-conversion]
In file included from /usr/include/security/pam_appl.h:18:0,
                  from /tmp/pear/temp/pam/pam.c:30:
/usr/include/security/_pam_types.h:172:1: note: expected ?const void  
*? but argument is of type ?int?
  pam_set_item(pam_handle_t *pamh, int item_type, const void *item);
  ^~~~~~~~~~~~
/tmp/pear/temp/pam/pam.c:266:36: error: macro "ZVAL_STRING" passed 3  
arguments, but takes just 2
     ZVAL_STRING(status, error_msg, 0);
                                     ^
/tmp/pear/temp/pam/pam.c:277:37: error: macro "ZVAL_STRING" passed 3  
arguments, but takes just 2
      ZVAL_STRING(status, error_msg, 0);
                                      ^
/tmp/pear/temp/pam/pam.c: In function ?zif_pam_chpass?:
/tmp/pear/temp/pam/pam.c:315:36: error: macro "ZVAL_STRING" passed 3  
arguments, but takes just 2
     ZVAL_STRING(status, error_msg, 0);
                                     ^
/tmp/pear/temp/pam/pam.c:315:4: error: ?ZVAL_STRING? undeclared (first  
use in this function)
     ZVAL_STRING(status, error_msg, 0);
     ^~~~~~~~~~~
/tmp/pear/temp/pam/pam.c:324:36: error: macro "ZVAL_STRING" passed 3  
arguments, but takes just 2
     ZVAL_STRING(status, error_msg, 0);
                                     ^
/tmp/pear/temp/pam/pam.c:334:36: error: macro "ZVAL_STRING" passed 3  
arguments, but takes just 2
     ZVAL_STRING(status, error_msg, 0);
                                     ^
Makefile:194 : la recette pour la cible « pam.lo » a échouée
make: *** [pam.lo] Erreur 1
ERROR: `make' failed"





More information about the bugs mailing list