发表于 2018-9-18 08:27:52

在CentOS上安装Git

make: Warning: File `Makefile' has modification time 3e+06 s in the future  
/usr/bin/perl Makefile.PL PREFIX='/usr/local' INSTALL_BASE='' --localedir='/usr/local/share/locale'
  
Writing perl.mak for Git
  
make: warning:Clock skew detected.Your build may be incomplete.
  GEN git-add--interactive
  
make: Warning: File `Makefile' has modification time 3e+06 s in the future
  
Writing perl.mak for Git
  
make: Warning: File `Makefile.PL' has modification time 3e+06 s in the future
  
Use of uninitialized value $localedir in concatenation (.) or string at Makefile.PL line 52.
  
Writing perl.mak for Git
  
make: *** Error 1
  
make: *** Error 2
  
make: *** Error 2
  

  
在网上搜索了一些,根据出错的warning发现是机器时间设置的问题。。是机器系统的时间比版本的时间早。所以要系统时间重新设置。
  



页: [1]
查看完整版本: 在CentOS上安装Git