cfengine error check your system clock

When compiling cfengine we get the following error:

[root@computer cfengine-3.1.5]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... configure: error: newly created file is older than distributed files!
Check your system clock

This may be due to the files within the tar having a timestamp that is different from our system clock. It is recommended that you check your system click to ensure it is accurate for your time zone. The next alternative is to modify the file times.

To accomplish this you can touch all the files within the directory tree, thereby updating the time on all the files to your system’s recent time. This can be done as follows:

[root@computer software]# find cfengine-3.1.5 -exec touch {} \;

You should now be able to configure the code again without the error.

Be the first to comment

Leave a Reply