php编译mysql configure: error: mysql configure failed. Please check config.log for more information
- 博客分类:
- 技术杂绘
php编译mysql configure: error: mysql configure failed. Please check config.log for more information
2011年11月16日
php编译mysql
configure: error: mysql configure failed. Please check config.log for more information.
root@test_03:~/php-5.2.10# ./configure --help |grep mysql
--with-mysql[=DIR] Include MySQL support. DIR is the MySQL base directory
郁闷的是..被误导了.其实是要--with-mysql-dir=XXX
原配置信息如下,出错:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-xml --with-mysql=/usr/ --with-config-file-path=/usr/local/lib -enable-track-vars --enable-sockets --with-zlib
修改配置如下,成功编译安装:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-xml --with-mysql-dir=/usr/ --with-config-file-path=/usr/local/lib -enable-track-vars --enable-sockets --with-zlib
红色字体不同,导致出错。
系统为Centos 5.2 64位系统。
发表评论
-
周线选
2012-01-20 11:11 795周线选 21小时前 大盘30日线起码走平 周 ... -
2011年全国大学生数学建模竞赛c题个人分析
2012-01-20 11:11 9352011年全国大学生数学建模竞赛c题个人分析 2011年09 ... -
冲刺一答案
2012-01-20 11:11 522冲刺一答案 23小时前 冲刺押题卷一 政治冲刺试卷 ... -
C# 线程手册 第二章 .net 中的线程 创建一个线程
2012-01-20 11:10 563C# 线程手册 第二章 .net 中的线程 创建一个线程 2 ... -
单元过关----捷达学校中级《财务管理》测试题(6)
2012-01-20 11:10 1674单元过关----捷达学校中 ... -
【转】 oracle exception总结(读书笔记)
2012-01-19 16:01 637【转】 oracle exception总结(读书笔记) 2 ... -
Error in symeqn called by dstmak. Please send data to your ANSYS Technical S
2012-01-19 16:01 1760Error in symeqn called by dstma ... -
linux设备模型深探(2)【转】
2012-01-19 16:01 812linux设备模型深探(2)【转】 2011年12月07日 ... -
C#实现Xml日志记录文件的最优方案
2012-01-19 16:01 974C#实现Xml日志记录文件的最优方案 2012年01月05日 ... -
JavaScript跨域总结与解决办法
2012-01-17 05:53 503JavaScript跨域总结与解决 ... -
关于fckeditor在服务器上无法上传图片的问题
2012-01-17 05:53 946关于fckeditor在服务器上无法上传图片的问题 2010 ... -
FCKEditor 2.6.3 ASP.NET 图片上传 停留在进度条问题解决
2012-01-17 05:53 759FCKEditor 2.6.3 ASP.NET 图片上传 停留 ... -
寻访福建最美乡村之 南安蔡浅古大厝
2012-01-16 04:40 1170寻访福建最美乡村之 ... -
专项训练十七
2012-01-16 04:39 660专项训练十七 2012年01 ...
相关推荐
/use/lib//usr/lib/libdb-4.2.so: could not read symbols: File in wrong format Notice: Following unknown configure options were used: usr/bin/ld: cannot find... Please check config.log for more information
PHP编译configure时常见错误的总结 PHP的安装虽然有时候很简单,可是如果应用一多,我们安装起来就很头痛了!出错最多的就是安装PHP扩展的时候了。其实不管是你是Apache类的应用还是Nginx类的,PHP的安装都不是很...
checking for MagickWand.h header file… configure: error: Cannot locate header file MagickWand.h 可是我明明正确安装了ImageMagick的呀.GOOGLE了半天,也解决不了这个问题.后面对照另一个服务器上的ImageMagick...
解决intel i7 Failed to configure driver: unknown error. Failed to open driver
编译安装软件的时候,发现错误configure: error: *** A compiler with support for C++11 language features is required. 原来是gcc版本太低了,我的版本是gcc version 4.6.3 想要支持C++11,必须升级到gcc4.8...
错误 configure: error: could not find library containing RSA_new: 错误 configure: error: no XML parser was found: expat or libxml 2.x required 解放方法: ...
GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. There is no practical limit to the precision except the ones ...
在编译安装软件的时候,发现错误configure: error: *** A compiler with support for C++11 language features is required. 要支持C++11,必须升级到gcc4.7以上。
在编译parted-3.2时,报错:configure: error: libdevmapper could not be found,找到device-mapper.1.02.28,并下了下来。 这个源码藏得有点深,分享出来给大家
MySQL5.5编译工具configure向cmake过渡指南
今天在64位Red Hat Enterprise Linux AS release 4 .7上编译PHP5.2.6出错,mysql是使用的RPM方式安装的,PHP编译代码如下: ./configure --prefix=/usr/local/php --with-mysql --with-apxs2=/usr/local/apache/bin/...
解决configure: error: lz4 support requested but liblz4 >= 129 could not be found, export PREFIX=安装目录 &make; &make; install
centos7下升级openssh到8.4脚本
经过实测的版本 configure: error: *** Could not find libmount checking for LIBMOUNT... no glib-2.56.0
1. Licenses for Third-Party Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
NULL 博文链接:https://jackroomage.iteye.com/blog/1687401
用autoconf和automake自动生成Makefile,其中要用到的,其中要用到的automake,autotools,autoconf这三个文档
安装linux编译时报apr错误的解决方法 httpd-2.4.3.tar.gz, apr-util-1.3.10.tar.gz, apr-1.4.2.tar.gz,
MySQL5.5编译工具configure向cmake过渡指南.pdf
Qt源码编译./configure -prefix $PWD/qtbase -opensource 报错 ERROR: The OpenGL functionality tests failed ubuntu 14.04 LTS qt-everywhere-opensource-src-5.9.9