Trying to follow instruction from documentation:
running
$ sudo ./install
and get this:
gcc -I. -I/Users/honky/cpha
Mac os x ships with PHP 5.x preinstalled for a long time but installing not pre-installed extensions and solving library dependencies steals lot of free time and requires extra effort, getting lost in un-relevant google results. My experience has showed me that, the hard way. I strongly recommend using Homebrew on Mac OS X to eliminate really unnecessary pains like this.
After you have successfully installed Homebrew, having Phalcon extension (and thousands of other open source libs/tools/apps) as simple as this:
$ brew tap josegonzalez/homebrew-php
$ brew install php55-phalcon
When you need another extension or library, just type:
$ brew search <whatever>
To learn more about a formula or installing options:
$ brew info <whatever>
Note: Homebrew requires installing Xcode. Make sure that Xcode is installed on your mac before brewing. If something went wrong, use brew doctor
command to get an idea about what's happening.