[xdebug-general] Problem installing XDebug via PECL

From: James Benstead <james.benstead[@]gmail.com>
Date: Fri, 29 Jun 2012 14:32:52 +0100

I'm trying to install XDebug via PECL but can't get it to work. Here are
the last few lines of terminal output. I'd be really grateful if someone
could help me out.

creating libtool
> appending configuration tag "CXX" to libtool
> configure: creating ./config.status
> config.status: creating config.h
> running: make
> /bin/sh
> /Applications/XAMPP/xamppfiles/temp/pear/temp/pear-build-rootPNFwPd/xdebug-2.2.0/libtool
> --mode=compile cc -I.
> -I/Applications/XAMPP/xamppfiles/temp/pear/temp/xdebug -DPHP_ATOM_INC
> -I/Applications/XAMPP/xamppfiles/temp/pear/temp/pear-build-rootPNFwPd/xdebug-2.2.0/include
> -I/Applications/XAMPP/xamppfiles/temp/pear/temp/pear-build-rootPNFwPd/xdebug-2.2.0/main
> -I/Applications/XAMPP/xamppfiles/temp/pear/temp/xdebug
> -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1
> -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php
> -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/main
> -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/TSRM
> -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/Zend
> -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/ext
> -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/ext/date/lib
> -I/Applications/XAMPP/xamppfiles/include -DHAVE_CONFIG_H -g -O2 -c
> /Applications/XAMPP/xamppfiles/temp/pear/temp/xdebug/xdebug.c -o xdebug.lo
> mkdir .libs
> cc -I. -I/Applications/XAMPP/xamppfiles/temp/pear/temp/xdebug
> -DPHP_ATOM_INC
> -I/Applications/XAMPP/xamppfiles/temp/pear/temp/pear-build-rootPNFwPd/xdebug-2.2.0/include
> -I/Applications/XAMPP/xamppfiles/temp/pear/temp/pear-build-rootPNFwPd/xdebug-2.2.0/main
> -I/Applications/XAMPP/xamppfiles/temp/pear/temp/xdebug
> -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1
> -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php
> -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/main
> -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/TSRM
> -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/Zend
> -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/ext
> -I/Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/ext/date/lib
> -I/Applications/XAMPP/xamppfiles/include -DHAVE_CONFIG_H -g -O2 -c
> /Applications/XAMPP/xamppfiles/temp/pear/temp/xdebug/xdebug.c -fno-common
> -DPIC -o .libs/xdebug.o
> /Applications/XAMPP/xamppfiles/temp/pear/temp/xdebug/xdebug.c:25:10: fatal
> error: 'php.h' file not found
> #include "php.h"
> ^
> 1 error generated.
> make: *** [xdebug.lo] Error 1
> ERROR: `make' failed
Received on Fri Jun 29 2012 - 14:33:14 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST