New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I install XDebug? #244

Closed
chrissound opened this Issue Oct 18, 2017 · 5 comments

Comments

Projects
None yet
2 participants
@chrissound

chrissound commented Oct 18, 2017

I'm using wordpress:php7.1-fpm-alpine

I've tried RUN pecl install xdebug-2.5.0 && docker-php-ext-enable xdebug

which results in an error when building:

Step 19/19 : RUN pecl install xdebug-2.5.0     && docker-php-ext-enable xdebug
 ---> Running in 52c988e12cb2
downloading xdebug-2.5.0.tgz ...
Starting to download xdebug-2.5.0.tgz (267,640 bytes)
........................................................done: 267,640 bytes
76 source files, building
running: phpize
Configuring for:
PHP Api Version:         20160303
Zend Module Api No:      20160303
Zend Extension Api No:   320160303
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
@tianon

This comment has been minimized.

Member

tianon commented Oct 18, 2017

When building from Alpine, the phpize deps are intentionally purged in order to save space (see https://github.com/docker-library/php/blob/e36b0efc1a20c2cd0d0e0ee6cc76bb73f757249d/docker-php-ext-install#L91-L98 for where docker-php-ext-install does this automatically). You'll probably want to do something like apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS before doing pecl install, and you'll want to make sure the version of xdebug you're installing is compatible with PHP 7.1.

In the future, these sorts of questions/requests would be more appropriately posted to the Docker Community Forums, the Docker Community Slack, or Stack Overflow. Thanks!

@tianon tianon closed this Oct 18, 2017

@chrissound

This comment has been minimized.

@tianon

This comment has been minimized.

Member

tianon commented Oct 19, 2017

@tianon

This comment has been minimized.

Member

tianon commented Oct 19, 2017

I posted the solution to StackOverflow; here's the full build log of that example Dockerfile:

FROM wordpress:php7.1-fpm-alpine

RUN apk add --no-cache $PHPIZE_DEPS \
	&& pecl install xdebug-2.5.0 \
	&& docker-php-ext-enable xdebug
$ docker build --pull .
Sending build context to Docker daemon  2.048kB
Step 1/2 : FROM wordpress:php7.1-fpm-alpine
php7.1-fpm-alpine: Pulling from library/wordpress
90f4dba627d6: Already exists 
623a0217e4bc: Already exists 
ecbf507e7e3c: Already exists 
79a82dee0025: Already exists 
dd5545e8b4cb: Already exists 
7058becf9107: Already exists 
85142856550b: Already exists 
b78b5d635e36: Already exists 
01d6e3990de7: Already exists 
99cfc9a40efe: Already exists 
21c79d1fdc6f: Pull complete 
44b72312556b: Pull complete 
a100be65eec8: Pull complete 
0582bc490f08: Pull complete 
db44a717057d: Pull complete 
Digest: sha256:feba9effae72b08f1e15098d0d5e39e2306c5aff88be7f5309d8bbad70f5dbe7
Status: Downloaded newer image for wordpress:php7.1-fpm-alpine
 ---> 59006dd018af
Step 2/2 : RUN apk add --no-cache $PHPIZE_DEPS 	&& pecl install xdebug-2.5.0 	&& docker-php-ext-enable xdebug
 ---> Running in ea060c88111b
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
(1/30) Installing m4 (1.4.17-r1)
(2/30) Installing perl (5.22.3-r0)
(3/30) Installing autoconf (2.69-r0)
(4/30) Installing libbz2 (1.0.6-r5)
(5/30) Installing dpkg (1.18.7-r0)
(6/30) Installing pkgconf (0.9.12-r0)
(7/30) Installing pkgconfig (0.25-r1)
(8/30) Installing dpkg-dev (1.18.7-r0)
(9/30) Installing libmagic (5.27-r0)
(10/30) Installing file (5.27-r0)
(11/30) Installing libgcc (5.3.0-r0)
(12/30) Installing libstdc++ (5.3.0-r0)
(13/30) Installing binutils-libs (2.26-r1)
(14/30) Installing binutils (2.26-r1)
(15/30) Installing gmp (6.1.0-r0)
(16/30) Installing isl (0.14.1-r0)
(17/30) Installing libgomp (5.3.0-r0)
(18/30) Installing libatomic (5.3.0-r0)
(19/30) Installing mpfr3 (3.1.2-r0)
(20/30) Installing mpc1 (1.0.3-r0)
(21/30) Installing gcc (5.3.0-r0)
(22/30) Installing musl-dev (1.1.14-r15)
(23/30) Installing libc-dev (0.7-r0)
(24/30) Installing g++ (5.3.0-r0)
(25/30) Installing make (4.1-r1)
(26/30) Installing libpcre16 (8.38-r1)
(27/30) Installing libpcre32 (8.38-r1)
(28/30) Installing libpcrecpp (8.38-r1)
(29/30) Installing pcre-dev (8.38-r1)
(30/30) Installing re2c (0.14.3-r0)
Executing busybox-1.24.2-r13.trigger
OK: 225 MiB in 63 packages
downloading xdebug-2.5.0.tgz ...
Starting to download xdebug-2.5.0.tgz (267,640 bytes)
........................................................done: 267,640 bytes
76 source files, building
running: phpize
Configuring for:
PHP Api Version:         20160303
Zend Module Api No:      20160303
Zend Extension Api No:   320160303
building in /tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0
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-20160303
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.14.3 (ok)
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable Xdebug support... yes, shared
checking Check for supported PHP versions... supported (7.1.10)
checking for gettimeofday... yes
checking for cos in -lm... yes
checking for ld used by cc... /usr/x86_64-alpine-linux-musl/bin/ld
checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld) is GNU ld... yes
checking for /usr/x86_64-alpine-linux-musl/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 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 the maximum length of command line arguments... 98304
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/x86_64-alpine-linux-musl/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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
In file included from /tmp/pear/temp/xdebug/xdebug_com.c:26:0:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
 #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
  ^
/bin/bash /tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/xdebug -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/include -I/tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/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-defaultuseraNpCCg/xdebug-2.5.0/libtool --mode=install cp ./xdebug.la /tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/modules
cp ./.libs/xdebug.so /tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/modules/xdebug.so
cp ./.libs/xdebug.lai /tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/modules/xdebug.la
PATH="$PATH:/sbin" ldconfig -n /tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /tmp/pear/temp/pear-build-defaultuseraNpCCg/xdebug-2.5.0/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

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-defaultuseraNpCCg/install-xdebug-2.5.0" install
Installing shared extensions:     /tmp/pear/temp/pear-build-defaultuseraNpCCg/install-xdebug-2.5.0/usr/local/lib/php/extensions/no-debug-non-zts-20160303/

shtool:echo:Warning: unable to determine terminal sequence for bold mode
  +----------------------------------------------------------------------+
  |                                                                      |
  |   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.                                                            |
  |                                                                      |
  +----------------------------------------------------------------------+
shtool:echo:Warning: unable to determine terminal sequence for bold mode


running: find "/tmp/pear/temp/pear-build-defaultuseraNpCCg/install-xdebug-2.5.0" | xargs ls -dils
   8406      4 drwxr-xr-x    3 root     root          4096 Oct 19 13:55 /tmp/pear/temp/pear-build-defaultuseraNpCCg/install-xdebug-2.5.0
   8571      4 drwxr-xr-x    3 root     root          4096 Oct 19 13:55 /tmp/pear/temp/pear-build-defaultuseraNpCCg/install-xdebug-2.5.0/usr
   8572      4 drwxr-xr-x    3 root     root          4096 Oct 19 13:55 /tmp/pear/temp/pear-build-defaultuseraNpCCg/install-xdebug-2.5.0/usr/local
   8573      4 drwxr-xr-x    3 root     root          4096 Oct 19 13:55 /tmp/pear/temp/pear-build-defaultuseraNpCCg/install-xdebug-2.5.0/usr/local/lib
   8574      4 drwxr-xr-x    3 root     root          4096 Oct 19 13:55 /tmp/pear/temp/pear-build-defaultuseraNpCCg/install-xdebug-2.5.0/usr/local/lib/php
   8575      4 drwxr-xr-x    3 root     root          4096 Oct 19 13:55 /tmp/pear/temp/pear-build-defaultuseraNpCCg/install-xdebug-2.5.0/usr/local/lib/php/extensions
   8576      4 drwxr-xr-x    2 root     root          4096 Oct 19 13:55 /tmp/pear/temp/pear-build-defaultuseraNpCCg/install-xdebug-2.5.0/usr/local/lib/php/extensions/no-debug-non-zts-20160303
   8567   1124 -rwxr-xr-x    1 root     root       1149176 Oct 19 13:55 /tmp/pear/temp/pear-build-defaultuseraNpCCg/install-xdebug-2.5.0/usr/local/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so

Build process completed successfully
Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so'
install ok: channel://pecl.php.net/xdebug-2.5.0
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-20160303/xdebug.so" to php.ini
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
(1/1) Installing .docker-php-ext-enable-deps (0)
OK: 225 MiB in 64 packages
WARNING: Ignoring APKINDEX.167438ca.tar.gz: No such file or directory
WARNING: Ignoring APKINDEX.a2e6dac0.tar.gz: No such file or directory
(1/1) Purging .docker-php-ext-enable-deps (0)
OK: 225 MiB in 63 packages
 ---> f905cdd0d266
Removing intermediate container ea060c88111b
Successfully built f905cdd0d266
@chrissound

This comment has been minimized.

chrissound commented Oct 19, 2017

@tianon Many thanks, I didn't realize $PHPIZE_DEPS was an actual variable, I assumed it was a placeholder.

gundamew added a commit to gundamew/bsdock that referenced this issue Jan 16, 2018

Add Xdebug
* Why should I install `$PHPIZE_DEPS` first? -> docker-library/wordpress#244 (comment)
* Why should I use beta version (for now)? -> docker-library/php#560 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment