Cannot upgrade to PHP 5.4.9 on Mountain Lion

view full story

http://serverfault.com – I have spent the last 4 hours going through painstaking detail to get this to work. I have a new Macbook Retina with Mountain Lion. I need the latest functionality so I downloade the latest stable build of PHP, 5.4.9. After hours of installing components here and there, I am now at the point where I can finally run sudo make install and I get this error: clang: error: no such file or directory: 'ext/imap/php_imap.o' Sure enough, when I check this folder I see tons of files but not this one. The closest one is called php_imap.lo. I have googled it and searched forums and I cannot seem to fin (HowTos)