./configure后时出现ncures / termcap on install 类似的提示
你需要安装:
termcap-11.0.1-16.noarch.rpm
libtermcap-devel-2.0.8-35.i386.rpm (盘里找到安装了就可以,其它都安装了。)
ncurses-5.3-4.i386.rpm
这些文件从安装光盘上都可以找的到,搜索一下就可以.
make出现exec: g++: not found
yum install gcc-c++-*
chown: 无法访问 “var”: 没有那个文件或目录
改用chown -R mysql data
因为我安装时用了--localstatedir=/usr/local/mysql/data
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> gunzip < mysql-VERSION.tar.gz | tar -xvf -
shell> cd mysql-VERSION
shell> ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/var --with-charset=gb2312
shell> make
shell> make install
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> cd /usr/local/mysql
shell> bin/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql var
shell> chgrp -R mysql .
shell> bin/mysqld_safe --user=mysql &
posted on 2007-03-20 23:01
流浪汗 阅读(1244)
评论(2) 编辑 收藏 所属分类:
Linux