Problems compile phalcon on osx 10.9

前端 未结 1 1898
盖世英雄少女心
盖世英雄少女心 2021-01-20 02:13

Trying to follow instruction from documentation:

running

$ sudo ./install

and get this:

gcc -I. -I/Users/honky/cpha         


        
相关标签:
1条回答
  • 2021-01-20 02:47

    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.

    0 讨论(0)
提交回复
热议问题