svn上传之前可以编译过,check下来之后无法编译通过

现象:下载的开源的ptpd2.3.1的源代码 ,在本地服务器可以好好地编译通过,但是上传到svn的库上之后,再次check下来就编译不过,同样的配置和编译链,就是无法编译过?

定位思路如下:

上传和下载之前毫无差异,无法定位到具体是哪个目录的问题,在偶然的复制时候发现,复制的操作不一样会有不一样的结果,最后定位到文件的时间问题,但是svn的文件修改时间是系统的时候,所以最后修改为check下来之后修改一下文件的修改时间,命令如下:

touch -t "201507290101"    //年月日时分 

编译错误如下:

make[1]: Entering directory `/home/liq/test/kylin430_soft/SM2000_MC_INP/work/builds/ptpd-2.3.1'
 cd . && /bin/sh /home/liq/test/kylin430_soft/SM2000_MC_INP/work/builds/ptpd-2.3.1/build-aux/missing automake-1.14 --foreign
aclocal.m4:17: warning: this file was generated for autoconf 2.69.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.
configure.ac:18: error: Autoconf version 2.65 or higher is required
aclocal.m4:438: AM_INIT_AUTOMAKE is expanded from...
configure.ac:18: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
automake-1.14: autoconf failed with exit status: 63
WARNING: 'automake-1.14' is probably too old.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make[1]: *** [Makefile.in] Error 1
make[1]: Leaving directory `/home/liq/test/kylin430_soft/SM2000_MC_INP/work/builds/ptpd-2.3.1'
make: *** [2] Error 2

 

 

 

 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值