Mac OS X Snow Leopard 10.6.6 中的 phpize 错误(/opt/local/bin/perl:错误的解释器:没有这样的文件或目录)
我正在尝试使用 phpize,但它总是抛出此错误:
/opt/local/bin/autoconf: /opt/local/bin/autom4te: /opt/local/bin/perl: bad interpreter: No such file or directory
/opt/local/bin/autoconf: line 492: /opt/local/bin/autom4te: Unknown error: 0
/opt/local/bin/autoconf 的第 492 行是:
exec "$AUTOM4TE" "$@"
我试图在内置 php 中安装 mcrypt,因为我无法开始使用MAMP,但是现在我需要安装memcache,我必须再次使用phpize,当然它不起作用。
无论我使用哪一个 phpize,无论是 /usr/bin/phpize 中的那个,还是 MAMP 附带的那个,它总是会抛出相同的错误。
有什么想法吗?
I'm trying to use phpize and it always throws this error:
/opt/local/bin/autoconf: /opt/local/bin/autom4te: /opt/local/bin/perl: bad interpreter: No such file or directory
/opt/local/bin/autoconf: line 492: /opt/local/bin/autom4te: Unknown error: 0
The line 492 of /opt/local/bin/autoconf is:
exec "$AUTOM4TE" "$@"
I was trying to install mcrypt in the built-in php, since I couldn't I started to using MAMP, but now I need to install memcache and I have to use phpize again and of course it doesn't work.
It doesn't matter which phpize I use, the one in /usr/bin/phpize, the one that comes with MAMP and it always throws the same error.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我通过创建以下符号链接使其工作:
I got it to work by making the following symbolic link: