I started installing pecl on MAMP. I added the correct php version to the path, and when which php it says / Applications / MAMP / ... which is correct.
I downloaded Server Components and libraries , moved them to a new folder in my php and ran ./configure , everything seems to be working fine and looked at all the checks performed during installation and unpacking.
He goes to the last line and says:
configure: error: Please specify the install prefix of iconv with --with-iconv=<DIR>
Where should I install <DIR> for iconv?
Just create another folder and point to it?
I am only trying to install mongo pecl.
The following information is here http://www.lullabot.com/blog/article/installing-php-pear-and-pecl-extensions-mamp-mac-os-x-107-lion
source share