xinn2003 发表于 2016-03-31 21:21

在我的QQ329481339

action08 发表于 2016-04-01 07:47

回复 11# xinn2003

你的问题不需要研究了,自己看
https://packages.debian.org/unstable/database/mysql-server

action08 发表于 2016-04-01 08:13

本帖最后由 action08 于 2016-04-01 08:16 编辑

我在centos6下继续装,yum install wget rpm-buildrpmbuild --rebuild --clean mysql-community-5.7.11-1.el6.src.rpm希望rpm的代码能少些麻烦yum install cmake time libaio-devel ncurses-devel numactl-devel openssl-devel zlib-devel -y另外,这里论坛讨论了,可以给别人以后遇到类似问题时,省去再次学习摸索的时间

action08 发表于 2016-04-01 08:22

还是不行,oralce mysql现在的产品代码做得真是太不严谨了,猜测放到oralce linux 6.x就可以成功编译# rpmbuild --rebuild --clean mysql-community-5.7.11-1.el6.src.rpm
Installing mysql-community-5.7.11-1.el6.src.rpm
warning: InstallSourcePackage at: psm.c:244: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed build dependencies:
        cmake28 >= 2.8.2 is needed by mysql-community-5.7.11-1.el6.i686
#
# rpm -q cmake
cmake-2.8.12.2-4.el6.i686
#
# uname -a
Linux 10.0.2.15 2.6.32-573.22.1.el6.i686 #1 SMP Wed Mar 23 00:37:12 UTC 2016 i686 i686 i386 GNU/Linux
#
# cat /etc/centos-release
CentOS release 6.7 (Final)
#
#

action08 发表于 2016-04-01 08:32

http://dev.mysql.com/doc/refman/5.7/en/installing-development-tree.html

可能是我能力有限,这是没有办法的办法了,用git大招了

shang2010 发表于 2016-04-01 15:02

本帖最后由 shang2010 于 2016-04-01 15:29 编辑

action08 发表于 2016-04-01 08:22 static/image/common/back.gif
还是不行,oralce mysql现在的产品代码做得真是太不严谨了,猜测放到oralce linux 6.x就可以成功编译

试一下yum remove mysql-libs
https://dev.mysql.com/doc/refman/5.5/en/linux-installation-rpm.html


另外yum install epel-release
yum install cmake28

SeAL80s 发表于 2016-04-01 23:16

一般好像是5.7 -> CentOS 7
5.6 -> CentOS 6
5.1 -> CentOS 5
MySQL好像没有5.4吧?
需要什么样的功能,官方默认的二进制会没有。如果说是用.tar包手动安装MySQL服务还算值得,源码编译,个人觉得除了浪费CPU时间,对个人来说没什么收获。不知道楼主遇到什么样的客户了,你确定默认的二进制包没有要的功能???????????????

asdf2110 发表于 2016-04-05 09:21

本帖最后由 asdf2110 于 2016-04-05 09:22 编辑

我用的 centos 6.7
下载了
mysql-5.7.11.tar.gz 和
mysql-boost-5.7.11.tar.gz
然后就是 cmake、make、make install 这些了
当然,中间有包找不到时,用yum 安装一下$ cat /etc/issue
CentOS release 6.7 (Final)
Kernel \r on an \m

action08 发表于 2016-04-05 22:02

回复 17# SeAL80s


    如果是自己编译安装的话,参考这里http://www.mysql.com/support/supportedplatforms/database.html

ganluo960214 发表于 2016-04-06 15:37

昨天才成功编译了。
页: 1 [2] 3 4
查看完整版本: mysql 5.7.11谁装过