zoukankan      html  css  js  c++  java
  • 在安装mysqli的时候,出现error: ext/mysqlnd/mysql_float_to_double.h: No such file or directory

    /application/php5.5.28/include/php/main/../main/php_config.h:2113:1: warning: this is the location of the previous definition/home/neo/tools/php-5.5.28/ext/mysqli/mysqli_api.c:36:47: error: ext/mysqlnd/mysql_float_to_double.h: No such file or directorymake: *** [mysqli_api.lo] Error 1
    我的解决方法:
    直接修改源码,把找不到的那个头文件的路径修改为绝对路径,编译通过了,也能正常使用

    # pwd
    /home/neo/tools/php-5.5.28/ext/mysqli
    # vim mysqli_api.c

    把第36行的

    #include “ext/mysqlnd/mysql_float_to_double.h”
    修改为
    #include “/home/neo/tools/php-5.5.28/ext/mysqlnd/mysql_float_to_double.h”

  • 相关阅读:
    C# WebBrowser屏蔽alert的方法
    C# webbrowser实现真正意义上的F5刷新
    用于验证码图片识别的类(C#源码)
    递归
    排列组合数
    八皇后问题
    算24
    素数环
    acm
    qsort
  • 原文地址:https://www.cnblogs.com/linuxde/p/8718181.html
Copyright © 2011-2022 走看看