Error message
configure: error: Please specify the install prefix of iconv with --with-iconv=
Related to
MAMP compilation of PHP extensions as e.g. pnctl or mongo as described e.g. at http://adam.merrifield.ca/2014/09/21/php-mongodb-and-mamp/ or http://linhmtran168.github.io/blog/2013/12/10/setup-boris-with-mamp-in-mac-osx-mavericks/
Solution
run configure without iconv support:
./configure --without-iconv