在安装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”

原文地址:https://www.cnblogs.com/linuxde/p/8718181.html

时间: 2024-08-05 19:25:19

在安装mysqli的时候,出现error: ext/mysqlnd/mysql_float_to_double.h: No such file or directory的相关文章

Python 安装zbar-py时出现 无法打开包括文件: “unistd.h” no such file or directory

问题 途中使用的命令是cl.exe,在执行命令的时候找不到对应的unistd.h文件. unistd.h是Unix系统的文件,因此,十有八九,使用的是Windows系统.下面的代码可以修复,但是如果修复了unistd.h,很大概率你还会有更多个*.h文件找不到.劝退. 解决 找到这个编译器所在的文件夹的include文件夹,并且unistd.h文件复制进去即可.可以新建一个文本文件,把名字和后缀名改为unistd.h. #ifndef _UNISTD_H #define _UNISTD_H 1

Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法

错误描述 安装Redis 2.8.18时报错: zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directoryzmalloc.h:55:2: error: #error "Newer version of jemalloc required"make[1]: *** [adlist.o] Error 1make[1]: Leaving directory `/data0/src/redis-2.6.2/src

mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory

安装mysql-python之前, 请先安装setuptools. https://pypi.python.org/pypi/setuptools/7.0 下载mysql-python. 下载源码包. https://pypi.python.org/pypi/MySQL-python/1.2.5 解压后执行 python setup.py install 提示错误: fatal error C1083: Cannot open include file: 'config-win.h': No s

win7 64 安装mysql-python:_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory

http://www.cnblogs.com/fnng/p/4115607.html http://www.crifan.com/python_install_module_mysql_mysqldb/comment-page-1/ ======================== 今天想在在win7 64位环境下使用python 操作mysql 在安装MySQL-python 时报错: _mysql.c _mysql.c(42) : fatal error C1083: Cannot open

Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory

Redis是一个开源的使用ANSI C语言编写.支持网络.可基于内存亦可持久化的日志型.Key-Value数据库,并提供多种语言的API. 本文为大家讲解的是Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法,感兴趣的同学参考下. 错误描述 安装Redis 2.8.18时报错: zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or

(转)win7 64 安装mysql-python:_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory

原文地址:http://www.cnblogs.com/fnng/p/4115607.html 作者:虫师 今天想在在win7 64位环境下使用python 操作mysql 在安装MySQL-python 时报错: _mysql.c _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No s uch file or directory error: command '"C:\Users\fnng

Redis 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法

错误描述 安装Redis 2.8.18时报错: zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory zmalloc.h:55:2: error: #error "Newer version of jemalloc required" make[1]: *** [adlist.o] Error 1 make[1]: Leaving directory `/data0/src/redis-2.6.2/

VS2012与VS2015同时安装用VS2012创建MFC程序时弹出编译错误”fatal error C1083: 无法打开包括文件:“mprapidef.h”: No such file or directory”的解决办法

在WIndows 7操作系统上同时安装VS2012与VS2015并用VS2012创建MFC程序时弹出编译错误"fatal error C1083: 无法打开包括文件:"mprapidef.h": No such file or directory"的解决办法: I installed vs2015 and vs2012, then the same problem occurs,however, I find a solution. open visual stud

解决 Boost安装:fatal error: bzlib.h: No such file or directory 问题

参考: How to install all the boost development libraries? 解决 Boost安装:fatal error: bzlib.h: No such file or directory 问题 在安装boost时,步骤./b2出现如下错误: gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.9.4/release/link-static/threading-multi/bzip2.o libs/iostr