[SOLVED] cannot compile MySQL: "Newly created file is older than distributed files!"


Results 1 to 3 of 3

Thread: [SOLVED] cannot compile MySQL: "Newly created file is older than distributed files!"

  1. #1
    Join Date
    Jan 2004
    Location
    France
    Posts
    19

    Unhappy [SOLVED] cannot compile MySQL: "Newly created file is older than distributed files!"

    Config : Linux MDK-9.2 with KDE-3.1 & all updates done yesterday.

    I cannot configure MySQL-4.0.17, because of this error (inside the QUOTE below)
    Please help me

    [... mysql-4.0.17]# CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions \
    -fno-rtti" ./configure --prefix=/usr/local/mysql \
    [...]


    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 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

    The BIOS Time is correct, as well as that on the desktop.
    How do one understand this error message ?
    Couldn't find any help on several newsgroups or Google

    It seems that this message is relying on thoses lines in aclocal.m4 (lines 361-379) :

    # Check to make sure that the build environment is sane.
    #

    AC_DEFUN(AM_SANITY_CHECK,
    [AC_MSG_CHECKING([whether build environment is sane])
    sleep 1
    echo timestamp > conftestfile
    # Do this in a subshell so we don't clobber the current shell's
    # arguments. FIXME: maybe try `-L' hack like GETLOADAVG test?
    if (set X `ls -t $srcdir/configure conftestfile`; test "[$]2" = conftestfile)
    then
    # Ok.
    :
    else
    AC_MSG_ERROR([newly created file is older than distributed files!
    Check your system clock])
    fi
    rm -f conftest*
    AC_MSG_RESULT(yes)])
    Last edited by kozaki; 01-09-2004 at 09:30 AM.
    Internet was created to share knowledge !
    Linux related howtos in French http://guides-info.org/linux/

  2. #2
    Join Date
    Apr 1999
    Location
    Toronto
    Posts
    6,707
    I know you said the desktop time is right, but what about the year? When I first got this error everything looked in order but then I realized my computer was set to 1970 or something. Make sure the year is right.

  3. #3
    Join Date
    Jan 2004
    Location
    France
    Posts
    19
    > You guessed right X_console : the year was 2003
    It's compiling now
    Internet was created to share knowledge !
    Linux related howtos in French http://guides-info.org/linux/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •