Git Product home page Git Product logo

eb-docker-php7's People

Contributors

bakura10 avatar danizord avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

eb-docker-php7's Issues

Docker build fail

I try to build a image with apcu like you do, but I have this error:

downloading apcu-4.0.11.tgz ...
Starting to download apcu-4.0.11.tgz (119,535 bytes)
.............done: 119,535 bytes
43 source files, building
running: phpize
Configuring for:
PHP Api Version:         20151012
Zend Module Api No:      20151012
Zend Extension Api No:   320151012
Enable full APC compatibility [yes] : Enable internal debugging in APCu [no] : building in /tmp/pear/temp/pear-build-defaultuserge9fex/apcu-4.0.11
running: /tmp/pear/temp/apcu/configure --with-php-config=/usr/local/bin/php-config --enable-apc-bc=yes --enable-apcu-debug=no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20151012
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable APCu support... yes, shared
checking if APCu should provide APC full compatibility support... yes
checking if APCu should be allowed to use rwlocks... yes
checking if APCu should be built in debug mode... no
checking if APCu should clear on SIGUSR1... no
checking if APCu will use mmap or shm... shm
checking if APCu should utilize spinlocks before flocks... no
configure: WARNING: APCu has access to native rwlocks
checking whether the target compiler supports builtin atomics... yes
checking for sigaction... yes
checking for union semun... no
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 valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking for shm_open in -lrt... yes
checking whether to include code coverage symbols... no
checking for ld used by cc... /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 recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) 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

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/bash /tmp/pear/temp/pear-build-defaultuserge9fex/apcu-4.0.11/libtool --mode=compile cc -D_GNU_SOURCE -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserge9fex/apcu-4.0.11/include -I/tmp/pear/temp/pear-build-defaultuserge9fex/apcu-4.0.11/main -I/tmp/pear/temp/apcu -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/apcu/apc.c -o apc.lo
mkdir .libs
 cc -D_GNU_SOURCE -I. -I/tmp/pear/temp/apcu -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserge9fex/apcu-4.0.11/include -I/tmp/pear/temp/pear-build-defaultuserge9fex/apcu-4.0.11/main -I/tmp/pear/temp/apcu -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/apcu/apc.c  -fPIC -DPIC -o .libs/apc.o
In file included from /tmp/pear/temp/apcu/apc_sma.h:34:0,
                 from /tmp/pear/temp/apcu/apc_pool.h:33,
                 from /tmp/pear/temp/apcu/apc_cache.h:36,
                 from /tmp/pear/temp/apcu/apc.c:35:
/tmp/pear/temp/apcu/apc_sma_api.h:62:33: error: unknown type name 'zend_uint'
 typedef void (*apc_sma_init_f) (zend_uint num, zend_ulong size, char *mask TSRMLS_DC);
                                 ^
/tmp/pear/temp/apcu/apc_sma_api.h:83:5: error: unknown type name 'apc_sma_init_f'
     apc_sma_init_f init;                         /* init */
     ^
/tmp/pear/temp/apcu/apc_sma_api.h:103:5: error: unknown type name 'zend_uint'
     zend_uint  num;                              /* number of segments */
     ^
/tmp/pear/temp/apcu/apc_sma_api.h:105:5: error: unknown type name 'zend_uint'
     zend_uint  last;                             /* last segment */
     ^
/tmp/pear/temp/apcu/apc_sma_api.h:119:36: error: unknown type name 'zend_uint'
                                    zend_uint num,
                                    ^
/tmp/pear/temp/apcu/apc_sma_api.h:224:52: error: unknown type name 'zend_uint'
     PHP_APCU_API void apc_sma_api_func(name, init)(zend_uint num, zend_ulong size, char* mask TSRMLS_DC); \
                                                    ^
/tmp/pear/temp/apcu/apc_sma.h:37:1: note: in expansion of macro 'apc_sma_api_decl'
 apc_sma_api_decl(apc_sma); /* }}} */
 ^
In file included from /tmp/pear/temp/apcu/apc_cache.h:40:0,
                 from /tmp/pear/temp/apcu/apc.c:35:
/tmp/pear/temp/apcu/apc_cache_api.h:45:5: error: unknown type name 'zend_uint'
     zend_uint len;                /* length of data at str */
     ^
/tmp/pear/temp/apcu/apc_cache_api.h:55:5: error: unknown type name 'zend_uint'
     zend_uint ttl;                /* the ttl on this specific entry */
     ^
/tmp/pear/temp/apcu/apc_cache_api.h:90:5: error: unknown type name 'zend_ushort'
     zend_ushort state;               /* cache state */
     ^
/tmp/pear/temp/apcu/apc_cache_api.h:219:40: error: unknown type name 'zend_uint'
                                        zend_uint keylen,
                                        ^
/tmp/pear/temp/apcu/apc_cache_api.h:221:46: error: unknown type name 'zend_uint'
                                        const zend_uint ttl,
                                              ^
/tmp/pear/temp/apcu/apc_cache_api.h:228:41: error: unknown type name 'zend_uint'
                                         zend_uint keylen,
                                         ^
/tmp/pear/temp/apcu/apc_cache_api.h:239:48: error: unknown type name 'zend_uint'
                                                zend_uint keylen,
                                                ^
/tmp/pear/temp/apcu/apc_cache_api.h:248:40: error: unknown type name 'zend_uint'
                                        zend_uint keylen,
                                        ^
/tmp/pear/temp/apcu/apc_cache_api.h:261:50: error: unknown type name 'zend_uint'
                                                  zend_uint keylen,
                                                  ^
/tmp/pear/temp/apcu/apc_cache_api.h:269:41: error: unknown type name 'zend_uint'
                                         zend_uint keylen TSRMLS_DC);
                                         ^
/tmp/pear/temp/apcu/apc_cache_api.h:304:60: error: unknown type name 'zend_uint'
                                                      const zend_uint ttl TSRMLS_DC);
                                                            ^
/tmp/pear/temp/apcu/apc_cache_api.h:317:35: error: unknown type name 'zend_uint'
                                   zend_uint keylen TSRMLS_DC);
                                   ^
/tmp/pear/temp/apcu/apc.c:46:43: fatal error: ext/standard/php_smart_str.h: No such file or directory
 #   include "ext/standard/php_smart_str.h"
                                           ^

Any idea to fix this ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.