Re: Buildconf failing: undefined macro
| From: | Andrei Zmievski | Date: | Tue, 22 Mar 2005 18:25:03 +0000 |
| Subject: | Re: Buildconf failing: undefined macro | ||
| References: | 1 2 3 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5685@lists.php.net to get a copy of this message | ||
Try running your PHP5 phpize manually like this:
sh - x <path-to-php5-phpize>
and see if it invokes aclocal in the process.
-Andrei
On Mar 21, 2005, at 11:18 PM, Rajesh Kumar wrote:
Thanks Jeremy. --with-phpize is the correct option, but I'm afraid the problem is not because of using the wrong phpize. Just to confirm, I ran buildconf directly against the phpize found in the scripts/ directory of my PHP5 source directory, only to get the same result. chmod u+x /usr/src/php/php-5.0.3/scripts/phpize ./buildconf --with-phpize=/usr/src/php/php-5.0.3/scripts/phpize Also, the API versions correspond to PHP5, don't they?PHP Api Version: 20031224 Zend Module Api No: 20041030Zend Extension Api No: 220040412 But you're right, I ran buildconf with PHP4's phpize and I got exactly the same error. The undefined macro error is occurring regardless of the phpize version. Buildconf is also using the correct php-config. My php4 installation is tucked away somewhere and I don't believe any php4 executables are being used, though I can't be absolutely sure. I've tried to ensure that all my PHP executables point to the php5 ones. Any other suggestions?