trying to install xdebug: configure file not found

来源:互联网 发布:少年包青天3结局 知乎 编辑:程序博客网 时间:2024/06/07 23:16

I am following these instructions to download xdebug: http://xdebug.org/wizard.php. The output of the wizard was this:

SummaryXdebug installed: noServer API: Apache 2.0 HandlerWindows: noZend Server: noPHP Version: 5.4.17Zend API nr: 220100525PHP API nr: 20100525Debug Build: noThread Safe Build: noConfiguration File Path: /bitnami/mampstack-osx-x64/output/php/libConfiguration File: /Applications/mampstack-5.4.17-2/php/etc/php.iniExtensions directory: /Applications/mampstack-5.4.17-2/php/lib/php/extensions

giving these instructions

  1. Download xdebug-2.2.3.tgz
  2. Unpack the downloaded file with tar -xvzf xdebug-2.2.3.tgz
  3. Run: cd xdebug-2.2.3 Run: phpize (See the FAQ if you don't have phpize.
  4. Run: ./configure

Everything works properly up to step #4. In step #4 I get

MyMacBookAir$ ./configure-bash: ./configure: No such file or directory

If I look in xdebug-2.2.3 I see that there is no file called configure -- but I do see a file called configure.in. Did I get .tgz that is missing the configure file? Or am I not understanding some part of the instructions properly?


Answer:

Actually it could be a problem with phpize command If it complains for autoconf ("Cannot find autoconf") then try next

curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-latest.tar.gztar xzf autoconf-latest.tar.gzcd autoconf-*./configure --prefix=/usr/localmakesudo make install

转载:http://stackoverflow.com/questions/18559171/trying-to-install-xdebug-configure-file-not-found

原创粉丝点击