LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1510|回复: 16

我的MYSQL在虚拟机上安装成功,但在另一台机子上,又无法编译了?

[复制链接]
发表于 2004-7-27 09:59:19 | 显示全部楼层 |阅读模式
我下的时mysql-4.0.20.tar.gz这个版本,我在虚拟机上安装成功,可是我当我在刚刚装好RED HAT 9的机子上装这个时,./configure编译时出现下面这个错误,这是怎么回事,请大家帮忙指点一下,谢了!!

“checking whether build environment is sane....
configure:error:newly created file is older than
distributed files!
  check your system clock"
发表于 2004-7-27 10:05:13 | 显示全部楼层
是否安装过旧的rpm包呢。。。。。

check your system clock这个是什么呢,你的时间??
 楼主| 发表于 2004-7-27 10:11:16 | 显示全部楼层
没有安装过旧的RPM包,因为我在装LINUX时,没又选它那里面的MYSQL的安装包,

check your system clock这个是它的出错信息,我也不明白这是什么意思??
发表于 2004-7-27 10:39:56 | 显示全部楼层
能贴下完整的信息否,没遇到过类似的情况。。。不好意思
发表于 2004-7-27 11:06:56 | 显示全部楼层
你的4。20是什么版本啊
我从mysql主页下的版本不要configure的直接脚本初始化就可以了
 楼主| 发表于 2004-7-27 11:21:36 | 显示全部楼层
可以啊,大家帮帮忙解决一下,谢谢了!错误信息如下:

[root@localhost mysql.4.0.20]#././configure --prefix=/opt/mysql --with-mysqld-user=beinan --with-charset=gb2312 --with-extra-charsets=all --with-unix-socket-path=/opt/mysql/var/mysql.sock

checking build system type ... i686-pc-linux
checking host system type ... i686-pc-linux
checking target system type ... i686-pc-linux
checking for a BSD-compatible
checking install ... /usr/bin/install
checking whtether build environment is sane ...
configure:error:newly created file is older than distributed files!
check your system clock
[root@localhost mysql.4.0.20]#
发表于 2004-7-27 11:37:21 | 显示全部楼层
最初由 andyhuax 发表
可以啊,大家帮帮忙解决一下,谢谢了!错误信息如下:

checking whtether build environment is sane ...
configure:error:newly created file is older than distributed files!
check your system clock
[root@localhost mysql.4.0.20]#


说现在将要创建的文件比现在分布的文件要旧,检查时间。。。
 楼主| 发表于 2004-7-27 11:42:32 | 显示全部楼层
我也大概知道这个意思,但是我的系统是刚装的,我在虚拟机上也是这样装,但是却可以安装成功,为什么在另外一台机子上,以相同的方法,相同的版本安装,却不行,如何解决??
 楼主| 发表于 2004-7-27 12:13:45 | 显示全部楼层
会不会是装LINUX系统时,又什么工具没又安装上去,导致MYSQL编译不了呢??
发表于 2004-7-27 12:15:49 | 显示全部楼层
你的两个系统装的一样,应该没关系吧。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表