fecshop / yii2_fecshop_docker

使用docker compose 快速的安装fecshop的环境,包括mysql php(含扩展),mongodb,mysql,redis,xunsearch等
185 stars 119 forks source link

build php 失败 #15

Closed Ph0enixxx closed 5 years ago

Ph0enixxx commented 5 years ago
/tmp/pear/temp/amqp/amqp.c:177:55: error: 'AMQP_SASL_METHOD_EXTERNAL' undeclared (first use in this function)
  REGISTER_LONG_CONSTANT("AMQP_SASL_METHOD_EXTERNAL",  AMQP_SASL_METHOD_EXTERNAL, CONST_CS | CONST_PERSISTENT);
                                                       ^
/usr/local/include/php/Zend/zend_constants.h:42:105: note: in definition of macro 'REGISTER_LONG_CONSTANT'
 #define REGISTER_LONG_CONSTANT(name, lval, flags)  zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
                                                                                                         ^
/tmp/pear/temp/amqp/amqp.c:177:55: note: each undeclared identifier is reported only once for each function it appears in
  REGISTER_LONG_CONSTANT("AMQP_SASL_METHOD_EXTERNAL",  AMQP_SASL_METHOD_EXTERNAL, CONST_CS | CONST_PERSISTENT);
                                                       ^
/usr/local/include/php/Zend/zend_constants.h:42:105: note: in definition of macro 'REGISTER_LONG_CONSTANT'
 #define REGISTER_LONG_CONSTANT(name, lval, flags)  zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
                                                                                                         ^
Makefile:194: recipe for target 'amqp.lo' failed
make: *** [amqp.lo] Error 1
ERROR: `make' failed
ERROR: Service 'php' failed to build: The command '/bin/sh -c pecl install -o -f oauth mongodb amqp     && rm -rf /tmp/pear' returned a non-zero code: 1
fancyecommerce commented 5 years ago

现在已经更新了,可以试一下