24小时热门版块排行榜    

查看: 103  |  回复: 1
当前主题已经存档。
【悬赏金币】回答本帖问题,作者gamma337将赠送您 10 个金币

gamma337

银虫 (小有名气)

[求助] 【求助】Linux 下configure 问题【有效期至2009年6月20日】

我在linux下装软件的时候有以下的报错,

[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]$

我在configure的源文件里找到了该错的代码(如下),但我看不懂这种代码,还请大虾帮助看下这里报错是出于什么原因,如何才能解决?

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 a
      # broken ls alias from the environment.  This has actually
      # happened.  Such a system could 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

以上有下划线部分为错误输出信息。
configure的完整代码没能上传成功,如果你在看问题的时候需要完整代码,请消息我。
谢谢大虾们的热情帮助!!!

[ Last edited by gamma337 on 2008-6-20 at 09:30 ]

» 猜你喜欢

美元一起赚: http://usearn.5d6d.com/index.php
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zhanglizhi

银虫 (正式写手)

我也遇到了这种情况,难道是LINUX与软件的兼容性问题?我怀疑是这样 现在用XP了
2楼2008-06-20 20:21:47
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 gamma337 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
信息提示
请填处理意见