Configure failed in linux !! -- Linux general technology-Linux technology and application information. For details, refer to the following section. When I installed the software in linux, the following error was reported,
[Nnzheng @ minast install] $./configure -- with-pthread
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
[Nnzheng @ minst install] $
I found the error code in the configure source file (as shown below), but I don't understand the code. Please help me to see the reason why the error is reported here. How can I solve it?
If (
Set X 'LS-Lt $ srcdir/configure conftest. file 2>/dev/null'
If test "$ *" = "X"; then
#-L didn't work.
Set X 'LS-t $ srcdir/configure conftest. file'
Fi
Rm-f conftest. file
If test "$ *"! = "X $ srcdir/configure conftest. file "\
& Test "$ *"! = "X conftest. file $ srcdir/configure"; then
# If neither matched, then we have a broken ls. This can happen
# If, for instance, CONFIG_SHELL is bash and it inherits
# Broken ls alias from the environment. This has actually
# Happened. Such a system cocould not be considered "sane ".
{Echo "$ as_me: $ LINENO: error: ls-t appears to fail. Make sure there is not a broken
Alias in your environment "> & 5
Echo "$ as_me: error: ls-t appears to fail. Make sure there is not a broken
Alias in your environment "> & 2 ;}
{(Exit 1); exit 1 ;};}
Fi
Test "$2" = conftest. file
)
Then
# OK.
:
Else
{Echo "$ as_me: $ LINENO: error: newly created file is older than distributed files!
Check your system clock "> & 5
Echo "$ as_me: error: newly created file is older than distributed files!
Check your system clock "> & 2 ;}
{(Exit 1); exit 1 ;};}
Fi
The underlined part is the error output information.
The attachment is the complete configure code.
Thank you for your enthusiastic help !!!