免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 15441 | 回复: 7
打印 上一主题 下一主题

求助:linux下安装mysql解压后./configure -- prefix示没有那个文件或目录 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-12-08 15:29 |只看该作者 |倒序浏览
下面是我操作流程,请大家指点:

解压
1、[root@localhost home]# tar -zxvf mysql-5.5.18-linux2.6-i686.tar.gz

解压后得到
2、[root@localhost home]# ls
mysql-5.5.18-linux2.6-i686  mysql-5.5.18-linux2.6-i686.tar.gz

3、[root@localhost home]# cd mysql-5.5.18-linux2.6-i686

4、提示错误:
[root@localhost mysql-5.5.18-linux2.6-i686]# ./configure --prefix=/home/mysql
-bash: ./configure: 没有那个文件或目录

查看里面Installing文件有提示:
   Nnstall and use a MySQL binary distribution, the basic command
   sequence looks like this:
shell> groupadd mysql
shell> useradd -r -g mysql mysql
shell> cd /usr/local
shell> tar zxvf /path/to/mysql-VERSION-OS.tar.gz
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> chown -R mysql .
shell> chgrp -R mysql .
shell> scripts/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql data
# Next command is optional
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> bin/mysqld_safe --user=mysql &
# Next command is optional
shell> cp support-files/mysql.server /etc/init.d/mysql.server

   A more detailed version of the preceding description for
   installing a binary distribution follows.
   Note
看不太懂。

论坛徽章:
0
2 [报告]
发表于 2011-12-08 15:32 |只看该作者
利用cmake进行编译安装

论坛徽章:
0
3 [报告]
发表于 2011-12-08 15:45 |只看该作者
回复 2# king_819


    不行呀

论坛徽章:
0
4 [报告]
发表于 2011-12-08 15:54 |只看该作者
先安装cmake

论坛徽章:
0
5 [报告]
发表于 2011-12-08 15:55 |只看该作者
回复 1# 244159303


    5.5x 的安装方法网上很多博文  自己搜搜先去看明白再动手

论坛徽章:
0
6 [报告]
发表于 2011-12-09 09:49 |只看该作者
回复 1# 244159303


    LZ你查看下 mysql-5.5.18-linux2.6-i686
下面有没有 configure这个文件?没有的话

我想你下载的这个版本是不需要编译的,直接改名为mysql放到你的home下就可以用

论坛徽章:
0
7 [报告]
发表于 2011-12-13 11:06 |只看该作者
回复  244159303


    LZ你查看下 mysql-5.5.18-linux2.6-i686
下面有没有 configure这个文件?没有 ...
liyis永恒 发表于 2011-12-09 09:49



    没有这个文件。

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
8 [报告]
发表于 2011-12-13 11:08 |只看该作者
回复 7# 244159303


    2楼已经告诉你了,新版本的mysql,用cmake来安装,具体安装步骤,去mysql官网下载文档,里面有详细说明.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP