0

Of course the real subject is xdebug and phpize, but since it's probably me misinterpreting the instructions about the script i'm posting my question here;

I'm running mac osx10.7.5

This is the FAQ page I'm talking about: http://www.xdebug.org/docs/faq#custom-phpize

On this page, it says:

you can run configure as follows:
1. /full/path/to/php/bin/phpize
2. ./configure --with-php-config=/full/path/to/php/bin/php-config

To me this looks like 2 commands. So if I execute the first command, I get

grep: /usr/include/php/main/php.h: No such file or directory
grep: /usr/include/php/Zend/zend_modules.h: No such file or directory
grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:        
Zend Module Api No:     
Zend Extension Api No:  
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

Ok so in case they mean it is one command consisting of 2 parts I also tried /usr/bin/phpize ./configure --with-php-config=/usr/bin/php-config

and this gave me the exact message as above. I'm really wondering if this is my not knowing how to turn the iformation into a decent command in the terminal or if there is even something else that is wrong.

0

1 Answer 1

0

It would appear that you do not have autoconf installed. You might check out this question on StackOverflow, as it has a few different answers on ways to install autoconf on OSX.

2
  • This does send me deeper down the rabbit hole but seems pretty useful in order to get there eventually. I will definitely update when I figured it out.
    – Immers
    Jul 24, 2013 at 9:35
  • I got autoconfig sorted alright now and it solved the problem. thx!
    – Immers
    Jul 25, 2013 at 8:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .