Trying to install xdebug: configure file not found

I follow these instructions to download xdebug: http://xdebug.org/wizard.php . The result of the wizard was the following:

Summary Xdebug installed: no Server API: Apache 2.0 Handler Windows: no Zend Server: no PHP Version: 5.4.17 Zend API nr: 220100525 PHP API nr: 20100525 Debug Build: no Thread Safe Build: no Configuration File Path: /bitnami/mampstack-osx-x64/output/php/lib Configuration File: /Applications/mampstack-5.4.17-2/php/etc/php.ini Extensions directory: /Applications/mampstack-5.4.17-2/php/lib/php/extensions 

providing these instructions

  • Download xdebug-2.2.3.tgz
  • Unzip the downloaded tar -xvzf xdebug-2.2.3.tgz file
  • Run: cd xdebug-2.2.3 Run: phpize (see FAQ if you do not have phpize.
  • Run: ./ configure

Everything works correctly until 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 named configure - but I see a file called configure.in. I got a .tgz that does not have a configuration file? Or do I not understand some part of the instructions properly?

+4
source share
2 answers

Actually this may be a problem with the phpize command . If it complains about autoconf ("Cannot find autoconf"), try the following

 curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-latest.tar.gz tar xzf autoconf-latest.tar.gz cd autoconf-* ./configure --prefix=/usr/local make sudo make install 
+8
source

@ akh2103 I assume that you already have a problem, but I am leaving this answer here because someone else has this problem.

I just suffered from the same problem. For me, I installed it in a related directory

eg ~ / Download is actually enabled / media / 1234 / Data / Downloads

For some reason, when I transferred all my downloads to another hard drive, the other day the permissions were haywire.

After I moved the xdebug source file to my ~/.Desktop and unpacked it there, I ran

 chmod -R 0755 x-debug/ 

and then launched phpize

Then I could see a configuration file that did not appear when I tried to do this on another hard drive.

Hope this helps anyone affected by this issue.

John

+1
source

Source: https://habr.com/ru/post/1500026/


All Articles