简体   繁体   English

symfony2要求的MAMP PRO PHP 5.3.5,Intl

[英]MAMP PRO PHP 5.3.5, Intl required by symfony2

Symfony2 is setup apart from one thing and that is "intl" Symfony2的设置不同于一件事,即“ intl”

I found instructions to get this working for the latest mamp pro but step 0 doesn't make sense to me, I ignored it and tried to carry on with setup but everything works until I get to "make install" , I get errors at that part. 我找到了使最新的Mamp Pro正常工作的说明,但步骤0对我来说没有意义,我忽略了它,并尝试继续进行安装,但是一切正常,直到我进入“ make install”,然后出现错误部分。

I am running snow leopard. 我在跑雪豹。

http://szemian.wordpress.com/2011/03/21/compiling-intl-extension-for-mamp/#comments http://szemian.wordpress.com/2011/03/21/compiling-intl-extension-for-mamp/#comments

after I've typed make and it's done what it has to do I get this message at the end: 在输入make并完成所需操作后,我最终收到此消息:

make[2]: Nothing to be done for `all-local'.
make[0]: Making `all' in `test'
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all-local'.

and after I choose make install I get this message: 在我选择进行安装后,我收到以下消息:

make[0]: Making `install' in `stubdata'
/bin/sh ../mkinstalldirs /usr/local/lib
/usr/bin/install -c libicudata.46.1.dylib /usr/local/lib
install: /usr/local/lib/libicudata.46.1.dylib: Permission denied
make[1]: *** [install-library] Error 71
make: *** [install-recursive] Error 2

Can anyone advise me? 谁能告诉我?

On UNIX systems, you're supposed to be administrator to install something. 在UNIX系统上,您应该是管理员才能安装某些东西。 Hence you should launch make install as root (use sudo , I'm not sure whether root exists in Mac OS). 因此,您应该以root用户身份启动make install (使用sudo ,我不确定Mac OS中是否存在root用户)。

Regarding the step 0, why exactly are you reluctant to "Instruct the compiler to compile in both 32 and 64 bit" architectures? 关于步骤0,您为什么不愿意“指示编译器同时在32位和64位上进行编译”架构?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM