Configure failed in linux !!

Source: Internet
Author: User
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 !!!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.