configure: error: newly created file is older than distributed files!

在一个特定的环境中遇到如下情况:

configure: error: newly created file is older than distributed files!

make: warning:  Clock skew detected.  Your build may be incomplete.


是因为现在的时钟要比文件的时间早,所以有两个方法去实现。

1.设置当前系统的时间超过文件创建时间 参考LINUX配置出现:configure: error: newly created file is older than distributed files!。

hwclock --set --date="07/24/2012 12:33:22"


2.将所有文件设置成当前时间 参考Linux下修改文件创建时间(修改文件更改时间)。

find . -name "*" -exec touch '{}' ;


然后就可以顺利地进行配置和编译了。

原文地址:https://www.cnblogs.com/kangleweb/p/12035739.html