phpize won't work on Mac OS X Lion

前端 未结 3 1191
灰色年华
灰色年华 2021-01-31 16:45

I try to install xdebug but I get the follow error message about \'phpize\'. How can I fix this thing?

leny:~ nick$ sudo pecl install xdebug
Password:
downloadin         


        
相关标签:
3条回答
  • 2021-01-31 17:28

    "Cannot find autoconf" - Install autoconf and retry.

    sudo port install autoconf but you need Xcode and MacPorts as far as I know.

    0 讨论(0)
  • 2021-01-31 17:38

    For me, I had not agreed to the Xcode license :-

    $ sudo /usr/bin/m4 --version
    
    
    You have not agreed to the Xcode license agreements. You must agree to both license agreements below in order to use Xcode.
    
    Hit the Enter key to view the license agreements at '/Applications/Xcode.app/Contents/Resources/English.lproj/License.rtf'
    
    IMPORTANT: BY USING THIS SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THE FOLLOWING APPLE TERMS:
    
    0 讨论(0)
  • 2021-01-31 17:43

    You can also install autoconf through homebrew. Just run

    brew install autoconf
    

    And all will work

    0 讨论(0)
提交回复
热议问题