ubuntu 安装 php yaf 框架

[shell]
sudo apt-get install php-pear
sudo apt-get install php5-dev
sudo pecl install yaf
[/shell]

编译不过去,报错
/usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such f

Google到一个解决办法
[shell]
sudo apt-get install libpcre3-dev
[/shell]