本次安装参数:
rpm -ivh MySQL-devel-community-5.1.57-1.sles10.x86_64.rpm
export PATH=/usr/local/services/libxml2-2.7.2/bin:$PATH
cp /usr/lib64/mysql/libmysqlclient.so.15.0.0 /usr/lib/libmysqlclient.so
./configure --prefix=/usr/local/services --with-mysql=/usr/include/mysql/ --with-curl=/usr/local/services/curl-7.15.0 --with
-libxml-dir=/usr/local/services/libxml2-2.7.2 --enable-fastcgi --enable-fpm --with-mcrypt=/usr/local/services/libmcrypt-
2.5.8 --with-zlibwhere
make
make install
/////////////////////////////////////
php编译错误Note that the MySQL client library is not bundled anymore!
##### install php
##download http://jp.php.net/downloads.php
wget http://jp.php.net/get/php-5.2.9.tar.gz/from/this/mirror
rpm -qa | grep php
rpm -e php-ldap-5.1.6-20.el5 php-5.1.6-20.el5
tar -zxvf php-5.2.9.tar.gz
cd php-5.2.9
./configure --prefix=/usr/local/php --with-mysql=/usr/local/src/mysql-5.1.14-beta-linux-i686-glibc23/include/ --with-
apxs2=/usr/local/apache2/bin/apxs
到最后报错:
configure: error: Cannot find MySQL header files under /usr/local/src/mysql-5.1.14-beta-linux-i686-glibc23/include/.
Note that the MySQL client library is not bundled anymore!
解决方法。
1. 查看系统有没有安装mysql header
find / -name mysql.h
如果有。请指定--with-mysql=/跟正常路径。
如果没有。请看下一步。
2.redhat安装
rpm -ivh MySQL-devel-community-5.1.33-0.rhel5.i386.rpm
3.最后一步php的配置选项添加--with-mysql=/usr即可!
完整的编译参数:
/configure --with-apxs2=/usr/local/apache2/bin/apxs --includedir=/usr/local/include --enable-force-cgi-redirect --enable-
mailparse --enable-mbstring --enable-mbregex --enable-mbstr-enc-trans --enable-trans-sid --enable-shmop --enable-exif --with
-gd --with-jpeg-dir=/usr/local/lib/ --with-png-dir=/usr/local/lib/ --with-zlib-dir=/usr/include/ --enable-gd-native-ttf --
enable-gd-jis-conv --with-pgsql=/usr/local/pgsql --with-mysql=/usr/local/mysql --enable-sockets --enable-ftp --with-
curl=/usr/local/ --enable-memcache --enable-openssl
*********************************
分享到:
相关推荐
11. configure: error: Cannot find MySQL header files under /usr.Note that the MySQL client library is not bundled anymore! 解决方法: yum install mysql-devel 此错误是由于缺少 mysql-devel 库文件所...
Note that the MySQL client library is not bundled anymore! ``` **解决方法**: 1. **安装 MySQL 客户端库**:在 Ubuntu 上,可以通过 `sudo apt-get install libmysqlclient-dev` 安装 MySQL 客户端库。 2. **...
Note that the MySQL client library is not bundled anymore!** 解决:再次确认是否已安装`mysql-devel`,如果没有,运行`yum install mysql-devel`。 在进行PHP源代码安装时,确保已经正确配置了所有必要的依赖...
Several user have reported that they occasionally get one or more of the following compiler errors: [C++ Error] DragDropFile.hpp(178): E2450 Undefined structure '_FILEDESCRIPTORW' [C++ Error] ...
### MySQL编译选项详解 #### 一、概述 在安装MySQL的过程中,为了适应不同的环境需求,用户可以在编译阶段通过指定一系列编译选项来定制化MySQL的安装与配置。这些选项涉及MySQL的安装路径、存储引擎的选择以及...
that is bundled with this package in the file LICENSE, and is available through the world-wide-web at the following url: http://www.php.net/license/3_0.txt. If you did not receive a copy of the PHP ...
在实际应用中,可能会遇到各种问题,如依赖库的版本冲突、编译错误等,解决这些问题需要对Linux系统、编译原理和MySQL内部结构有深入的理解。因此,不断学习和实践是成为MySQL源码编译大师的关键。
2.4.5. Using the Bundled MySQL on Mac OS X Server 2.5. Installing MySQL on Linux 2.5.1. Installing MySQL from RPM Packages on Linux 2.5.2. Installing MySQL on Linux using Native Package Manager 2.6. ...
The MIRACL library is -not- free to use in commercial programs. Even worse, the license fees are pretty high. Alterantively you can, of course, use any other bignumber library - like Freelip for ...
<For more details see the online help> Status ====== This is a shareware program. This means that you need to buy it if you would like to continue using it after the evaluation period. Installation...
这个过程可能会遇到各种问题,如依赖缺失、权限问题、编译错误等,都需要根据错误信息逐一解决。同时,由于MySQL的版本不断更新,官方可能会对编译选项和步骤做出调整,因此建议在实际操作时查阅最新的官方文档。
downloaded the original from the AutoIT site archive and now compare the original stub aka AutoItSC.bin with your dumped one(or more in detail the .text section after you applied LordPE PE-split) and ...
It is bundled into the Ruby+Devkit installer version as a selectable component, so that no additional downloads/installs are required. When using the Ruby without Devkit version, the MSYS2 Devkit can...
> node_modules/cache-manager/lib/caching.js:28:21: warning: This call to "require" will not be bundled because the argument is not a string literal (surround with a try/catch to silence this warning)...
cereal is a header-only C++11 serialization library. cereal takes arbitrary data types and reversibly turns them into different representations, such as compact binary encodings, XML, or JSON. cereal ...
在Linux系统,特别是CentOS上,安装MySQL数据库通常有多种方式,其中源码安装是一种更为灵活的方法,可以针对特定环境进行定制。本教程将详细讲解如何通过源码安装MySQL 5.6.15或5.7版本,并实现主从复制,以及掌握...
为了方便日常管理和监控,你可能还需要安装MySQL的客户端工具`mysql-client`,以及图形化管理工具如`phpMyAdmin`或`MySQL Workbench`。 注意,在生产环境中,你可能还需要考虑设置防火墙规则,允许特定IP访问MySQL...
However, the application must also ensure that the library is not loaded more than once. If the above code were placed in a class inside the web application (i.e. under /WEB-INF/classes or /WEB-INF/...
- **错误1:Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)** 1. **对于CentOS系统:** ```bash # yum -y install ncurses-devel ``` 2. **对于Ubuntu系统:** ```bash # apt-get ...