zoukankan      html  css  js  c++  java
  • PHP安装yaf在ubuntu下面的问题解决

    1.在执行make的时候出现如下错误:

    In file included from /root/yaf-2.1.2/yaf_router.c:28:

    /usr/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory

    In file included from /root/yaf-2.1.2/yaf_router.c:28:

    /usr/include/php/ext/pcre/php_pcre.h:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

    /usr/include/php/ext/pcre/php_pcre.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

    /usr/include/php/ext/pcre/php_pcre.h:52: error: expected specifier-qualifier-list before ‘pcre’

    make: *** [yaf_router.lo] 错误 1

    centos下面解决办法:# yum install pcre-devel

    ubuntu下面解决办法:

    sudo apt-get update 
    sudo apt-get install libpcre3 libpcre3-dev 

    你可能还需要安装
    sudo apt-get install openssl libssl-dev

  • 相关阅读:
    flash player over linux
    chmod 命令
    A*算法
    adb找不到设备
    ubuntu14.04安装wine以及国际版QQ
    linux man
    X-window
    linux file system
    linux command
    directUI
  • 原文地址:https://www.cnblogs.com/miaoshiqian/p/4048814.html
Copyright © 2011-2022 走看看