phpize won't work on Mac OS X Lion

前端 未结 3 1193
灰色年华
灰色年华 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: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:
    

提交回复
热议问题