Php: Unable to install xdebug on PHP 5.6 on newest version of image

Created on 17 Jan 2018  路  11Comments  路  Source: docker-library/php

Hi all -- I'm using the php5-apache:jessie image, and when I recently pulled the newest version from docker hub, my Dockerfile build step for installing xdebug started throwing the following error:

Step 3/10 : RUN pecl install xdebug
 ---> Running in 318f6cdf49f5
/tmp/glibctestWae8pA:2:0: fatal error: when writing output to : No such file or directory
 __GLIBC__ __GLIBC_MINOR__
 ^
compilation terminated.
downloading xdebug-2.5.5.tgz ...
Starting to download xdebug-2.5.5.tgz (279,491 bytes)
.........................................................done: 279,491 bytes
76 source files, building
running: phpize
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
building in /tmp/pear/temp/pear-build-defaultuserGIvyuy/xdebug-2.5.5
running: /tmp/pear/temp/xdebug/configure --with-php-config=/usr/local/bin/php-config
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... no
configure: error: in `/tmp/pear/temp/pear-build-defaultuserGIvyuy/xdebug-2.5.5':
configure: error: C compiler cannot create executables
See `config.log' for more details
ERROR: `/tmp/pear/temp/xdebug/configure --with-php-config=/usr/local/bin/php-config' failed
ERROR: Service 'web' failed to build: The command '/bin/sh -c pecl install xdebug' returned a non-zero code: 1

I'm seeing this both on php:5.6.32-apache-jessie and php:5.6.33-apache-jessie, but when I specify an older digest dating back to mid-December (FROM php@sha256:0f42025cb6ecad02144d27a1e51bdf830c4bf7de3d6ab724240207f85cc9d827) the build process succeeds.

The dockerfile in question is here: https://gist.github.com/timstallmann/8c20da52381676890fd5ed90ff8dcee1

Is this a bug or do I need to update my Dockerfile to account for changes in the image?

Most helpful comment

xdebug 2.6.0 was released a couple days ago, which isn't supported on php5. to continue installing xdebug with pecl on php5, use this line: pecl install xdebug-2.5.5

All 11 comments

I can't reproduce: :confused:

$ docker pull php:5.6-apache-jessie
5.6-apache-jessie: Pulling from library/php
Digest: sha256:15f6a80a613b5769484dc6dd9b53fdd9e4c680c54e3a74fd35203d3c2d81c769
Status: Image is up to date for php:5.6-apache-jessie

$ docker run -it --rm php:5.6-apache-jessie pecl install xdebug
downloading xdebug-2.5.5.tgz ...
Starting to download xdebug-2.5.5.tgz (279,491 bytes)
.........................................................done: 279,491 bytes
76 source files, building
running: phpize
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
building in /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5
running: /tmp/pear/temp/xdebug/configure --with-php-config=/usr/local/bin/php-config
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-20131226
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 Xdebug support... yes, shared
checking Check for supported PHP versions... supported (5.6.33)
checking for gettimeofday... yes
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 netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for cos in -lm... yes
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-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug.c -o xdebug.lo
mkdir .libs
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug.c  -fPIC -DPIC -o .libs/xdebug.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_branch_info.c -o xdebug_branch_info.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_branch_info.c  -fPIC -DPIC -o .libs/xdebug_branch_info.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_code_coverage.c -o xdebug_code_coverage.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_code_coverage.c  -fPIC -DPIC -o .libs/xdebug_code_coverage.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_com.c -o xdebug_com.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_com.c  -fPIC -DPIC -o .libs/xdebug_com.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_compat.c -o xdebug_compat.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_compat.c  -fPIC -DPIC -o .libs/xdebug_compat.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_handler_dbgp.c -o xdebug_handler_dbgp.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_handler_dbgp.c  -fPIC -DPIC -o .libs/xdebug_handler_dbgp.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_handlers.c -o xdebug_handlers.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_handlers.c  -fPIC -DPIC -o .libs/xdebug_handlers.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_llist.c -o xdebug_llist.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_llist.c  -fPIC -DPIC -o .libs/xdebug_llist.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_monitor.c -o xdebug_monitor.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_monitor.c  -fPIC -DPIC -o .libs/xdebug_monitor.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_hash.c -o xdebug_hash.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_hash.c  -fPIC -DPIC -o .libs/xdebug_hash.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_private.c -o xdebug_private.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_private.c  -fPIC -DPIC -o .libs/xdebug_private.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_profiler.c -o xdebug_profiler.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_profiler.c  -fPIC -DPIC -o .libs/xdebug_profiler.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_set.c -o xdebug_set.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_set.c  -fPIC -DPIC -o .libs/xdebug_set.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_stack.c -o xdebug_stack.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_stack.c  -fPIC -DPIC -o .libs/xdebug_stack.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_str.c -o xdebug_str.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_str.c  -fPIC -DPIC -o .libs/xdebug_str.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_superglobals.c -o xdebug_superglobals.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_superglobals.c  -fPIC -DPIC -o .libs/xdebug_superglobals.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_tracing.c -o xdebug_tracing.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_tracing.c  -fPIC -DPIC -o .libs/xdebug_tracing.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_trace_textual.c -o xdebug_trace_textual.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_trace_textual.c  -fPIC -DPIC -o .libs/xdebug_trace_textual.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_trace_computerized.c -o xdebug_trace_computerized.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_trace_computerized.c  -fPIC -DPIC -o .libs/xdebug_trace_computerized.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_trace_html.c -o xdebug_trace_html.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_trace_html.c  -fPIC -DPIC -o .libs/xdebug_trace_html.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_var.c -o xdebug_var.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_var.c  -fPIC -DPIC -o .libs/xdebug_var.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_xml.c -o xdebug_xml.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/xdebug_xml.c  -fPIC -DPIC -o .libs/xdebug_xml.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/usefulstuff.c -o usefulstuff.lo
 cc -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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/xdebug/usefulstuff.c  -fPIC -DPIC -o .libs/usefulstuff.o
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/include -I/tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/main -I/tmp/pear/temp/xdebug -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   -o xdebug.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/modules  xdebug.lo xdebug_branch_info.lo xdebug_code_coverage.lo xdebug_com.lo xdebug_compat.lo xdebug_handler_dbgp.lo xdebug_handlers.lo xdebug_llist.lo xdebug_monitor.lo xdebug_hash.lo xdebug_private.lo xdebug_profiler.lo xdebug_set.lo xdebug_stack.lo xdebug_str.lo xdebug_superglobals.lo xdebug_tracing.lo xdebug_trace_textual.lo xdebug_trace_computerized.lo xdebug_trace_html.lo xdebug_var.lo xdebug_xml.lo usefulstuff.lo
-lm
cc -shared  .libs/xdebug.o .libs/xdebug_branch_info.o .libs/xdebug_code_coverage.o .libs/xdebug_com.o .libs/xdebug_compat.o .libs/xdebug_handler_dbgp.o .libs/xdebug_handlers.o .libs/xdebug_llist.o .libs/xdebug_monitor.o .libs/xdebug_hash.o .libs/xdebug_private.o .libs/xdebug_profiler.o .libs/xdebug_set.o .libs/xdebug_stack.o .libs/xdebug_str.o .libs/xdebug_superglobals.o .libs/xdebug_tracing.o .libs/xdebug_trace_textual.o .libs/xdebug_trace_computerized.o .libs/xdebug_trace_html.o .libs/xdebug_var.o .libs/xdebug_xml.o .libs/usefulstuff.o  -lm  -Wl,-soname -Wl,xdebug.so -o .libs/xdebug.so
creating xdebug.la
(cd .libs && rm -f xdebug.la && ln -s ../xdebug.la xdebug.la)
/bin/bash /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/libtool --mode=install cp ./xdebug.la /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/modules
cp ./.libs/xdebug.so /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/modules/xdebug.so
cp ./.libs/xdebug.lai /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/modules/xdebug.la
PATH="$PATH:/sbin" ldconfig -n /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /tmp/pear/temp/pear-build-defaultuserxxiTb4/xdebug-2.5.5/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

running: make INSTALL_ROOT="/tmp/pear/temp/pear-build-defaultuserxxiTb4/install-xdebug-2.5.5" install
Installing shared extensions:     /tmp/pear/temp/pear-build-defaultuserxxiTb4/install-xdebug-2.5.5/usr/local/lib/php/extensions/no-debug-non-zts-20131226/

  +----------------------------------------------------------------------+
  |                                                                      |
  |   INSTALLATION INSTRUCTIONS                                          |
  |   =========================                                          |
  |                                                                      |
  |   See http://xdebug.org/install.php#configure-php for instructions   |
  |   on how to enable Xdebug for PHP.                                   |
  |                                                                      |
  |   Documentation is available online as well:                         |
  |   - A list of all settings:  http://xdebug.org/docs-settings.php     |
  |   - A list of all functions: http://xdebug.org/docs-functions.php    |
  |   - Profiling instructions:  http://xdebug.org/docs-profiling2.php   |
  |   - Remote debugging:        http://xdebug.org/docs-debugger.php     |
  |                                                                      |
  |                                                                      |
  |   NOTE: Please disregard the message                                 |
  |       You should add "extension=xdebug.so" to php.ini                |
  |   that is emitted by the PECL installer. This does not work for      |
  |   Xdebug.                                                            |
  |                                                                      |
  +----------------------------------------------------------------------+


running: find "/tmp/pear/temp/pear-build-defaultuserxxiTb4/install-xdebug-2.5.5" | xargs ls -dils
4726360    4 drwxr-xr-x 3 root root    4096 Jan 17 17:43 /tmp/pear/temp/pear-build-defaultuserxxiTb4/install-xdebug-2.5.5
4726426    4 drwxr-xr-x 3 root root    4096 Jan 17 17:43 /tmp/pear/temp/pear-build-defaultuserxxiTb4/install-xdebug-2.5.5/usr
4726427    4 drwxr-xr-x 3 root root    4096 Jan 17 17:43 /tmp/pear/temp/pear-build-defaultuserxxiTb4/install-xdebug-2.5.5/usr/local
4726428    4 drwxr-xr-x 3 root root    4096 Jan 17 17:43 /tmp/pear/temp/pear-build-defaultuserxxiTb4/install-xdebug-2.5.5/usr/local/lib
4726429    4 drwxr-xr-x 3 root root    4096 Jan 17 17:43 /tmp/pear/temp/pear-build-defaultuserxxiTb4/install-xdebug-2.5.5/usr/local/lib/php
4726430    4 drwxr-xr-x 3 root root    4096 Jan 17 17:43 /tmp/pear/temp/pear-build-defaultuserxxiTb4/install-xdebug-2.5.5/usr/local/lib/php/extensions
4726431    4 drwxr-xr-x 2 root root    4096 Jan 17 17:43 /tmp/pear/temp/pear-build-defaultuserxxiTb4/install-xdebug-2.5.5/usr/local/lib/php/extensions/no-debug-non-zts-20131226
4726424 1048 -rwxr-xr-x 1 root root 1069944 Jan 17 17:43 /tmp/pear/temp/pear-build-defaultuserxxiTb4/install-xdebug-2.5.5/usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so

Build process completed successfully
Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so'
install ok: channel://pecl.php.net/xdebug-2.5.5
configuration option "php_ini" is not set to php.ini location
You should add "zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so" to php.ini

Well this is curiouser and curiouser. I'm running Mac OS X High Sierra and Docker Edge Version 17.12.0-ce-mac45 (21669), and here's what I get for the same series of commands:

`` $ docker pull php:5.6-apache-jessie 5.6-apache-jessie: Pulling from library/php Digest: sha256:15f6a80a613b5769484dc6dd9b53fdd9e4c680c54e3a74fd35203d3c2d81c769 Status: Image is up to date for php:5.6-apache-jessie $ docker run -it --rm php:5.6-apache-jessie sh -c "pecl install xdebug" /tmp/glibctestXtl7gY:2:0: fatal error: when writing output to : No such file or directory __GLIBC__ __GLIBC_MINOR__ ^ compilation terminated. downloading xdebug-2.5.5.tgz ... Starting to download xdebug-2.5.5.tgz (279,491 bytes) .............................done: 279,491 bytes 76 source files, building running: phpize Configuring for: PHP Api Version: 20131106 Zend Module Api No: 20131226 Zend Extension Api No: 220131226 building in /tmp/pear/temp/pear-build-defaultuserSGhIZN/xdebug-2.5.5 running: /tmp/pear/temp/xdebug/configure --with-php-config=/usr/local/bin/php-config 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... no configure: error: in/tmp/pear/temp/pear-build-defaultuserSGhIZN/xdebug-2.5.5':
configure: error: C compiler cannot create executables
See config.log' for more details ERROR:/tmp/pear/temp/xdebug/configure --with-php-config=/usr/local/bin/php-config' failed

Have you tried deleting the newer image and pulling it again?

I have and I get the same error.

@timstallmann wasn't php5 supported only up to xdebug 2.2.7 or something? Looks like it's trying to install xdebug 2.5.5

@fabiolrs that may be the case, but all I know is that on the old SHA of the docker php5.6 image pecl install xdebug works fine and installs xdebug 2.5.5, and on the current docker php5.6 it fails out. Shouldn't the same step of build commands on the same base image, same PHP version, etc. work similarly across different commits of the docker image?

xdebug 2.6.0 was released a couple days ago, which isn't supported on php5. to continue installing xdebug with pecl on php5, use this line: pecl install xdebug-2.5.5

Awesome, thanks @markoshust!

Package "xdebug" Version "2.5.5" does not have REST xml available
@markoshust

@cuipeijian, then you should take it up with the maintainers of xdebug. The latest version of xdebug that supports PHP 5.6 is 2.5.5. There is nothing we can do in the Docker image to change that.

[2018-01-29] - Xdebug 2.6.0 is out!
This is the first release of the Xdebug 2.6 series.

With this release, PHP 5 is no longer supported. In order to benefit from bug fixes and new features in Xdebug, you will also have to upgrade to PHP 7, preferably PHP 7.2.

- https://xdebug.org/#2018_01_29

Too bad the XDebug people don't know how semver versioning works, so sad I had to spent the time searching for this bullshit... 馃憥

Was this page helpful?
0 / 5 - 0 ratings