MAMP PRO PHP 5.3.5, Intl required by symfony2
Вопрос
Symfony2 is setup apart from one thing and that is "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.
I am running snow leopard.
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[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. Hence you should launch make install
as root (use sudo
, I'm not sure whether root exists in Mac OS).
Regarding the step 0, why exactly are you reluctant to "Instruct the compiler to compile in both 32 and 64 bit" architectures?