[xdebug-general] xdebug-2.2.3 make error

From: Wang Andrew <andrewwang1tw[@]gmail.com>
Date: Wed, 22 Jan 2014 22:16:43 +0800

After download the xdebug-2.2.3,

1. phpize ok
2. .configure ok
3. make error as below

*/Users/andrewwang1/Documents/xdebug-2.2.3/xdebug.c:25:10: **fatal
error: **'php.h'
file not found*

#include "php.h"

* ^*

1 error generated.

make: *** [xdebug.lo] Error 1

Any suggestion , THANKS.

Here is the full message...
===================================================================

seiakirtekiimac:xdebug-2.2.3 andrewwang1$ make

/bin/sh /Users/andrewwang1/Documents/xdebug-2.2.3/libtool --mode=compile
cc -I. -I/Users/andrewwang1/Documents/xdebug-2.2.3 -DPHP_ATOM_INC
-I/Users/andrewwang1/Documents/xdebug-2.2.3/include
-I/Users/andrewwang1/Documents/xdebug-2.2.3/main
-I/Users/andrewwang1/Documents/xdebug-2.2.3 -I/usr/include/php
-I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend
-I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g
-O2 -c /Users/andrewwang1/Documents/xdebug-2.2.3/xdebug.c -o xdebug.lo

mkdir .libs

 cc -I. -I/Users/andrewwang1/Documents/xdebug-2.2.3 -DPHP_ATOM_INC
-I/Users/andrewwang1/Documents/xdebug-2.2.3/include
-I/Users/andrewwang1/Documents/xdebug-2.2.3/main
-I/Users/andrewwang1/Documents/xdebug-2.2.3 -I/usr/include/php
-I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend
-I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g
-O2 -c /Users/andrewwang1/Documents/xdebug-2.2.3/xdebug.c -fno-common
-DPIC -o .libs/xdebug.o

*/Users/andrewwang1/Documents/xdebug-2.2.3/xdebug.c:25:10: **fatal
error: **'php.h'
file not found*

#include "php.h"

* ^*

1 error generated.

make: *** [xdebug.lo] Error 1

seiakirtekiimac:xdebug-2.2.3 andrewwang1$

======================================================================

-- 
★ My Android App ★
https://play.google.com/store/apps/details?id=com.andrewwang
https://play.google.com/store/apps/details?id=com.andrewwang.scorecard.bet
https://play.google.com/store/apps/details?id=com.andrewwang.travelAlbum
★ My IPhone App ★
https://itunes.apple.com/us/app/golf-gps-scorecard/id665025951
★ Facebook ★
 https://www.facebook.com/andrew.wang.50
Received on Wed Jan 22 2014 - 14:16:45 GMT

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