安装 apache mysql php 手册
开发 apache 扩展模块方法, php 扩展模块方法
安装环境:
Redhat linux 9.0 Apache 2.2.4 Mysql 5.0.2 PHP 5.2.6
1.安装 Mysql5.0.2
软件地址:
http://download.mysql.cn/src/2006/0710/5544.html
安装步骤:
#tar xzvf mysql-3.23.58.tar.gz
#cd mysql-3.23.58
#./configure --prefix=/usr/local/mysql --sysconfdir=/etc --localstatedir=/var/lib/mysql
------------------遇到如下问题--1---------------------------
root@localhost mysql-5.0.18]# ./configure -prefix=/usr/bin/mysqladmin
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking "character sets"... default: latin1, collation: latin1_swedish_ci; compiled in: latin1 latin1
utf8
checking whether to compile national Unicode collations... yes
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
-------------------解决办法----------------------
未安装开发包 development tools 缺少 gcc 等编译所需工具
评论0