码迷,mamicode.com
首页 > 其他好文 > 详细

xlslib安装, aclocal-1.13: command not found, 安装升级autoconf-2.65.tar.gz, automake-1.13.tar.gz两个文件

时间:2016-07-11 23:54:56      阅读:3234      评论:0      收藏:0      [点我收藏+]

标签:

问题1:
$ make 
CDPATH="${ZSH_VERSION+.}:" && cd . && aclocal-1.13 -I m4 
/bin/sh: aclocal-1.13: command not found
make: *** [aclocal.m4] Error 127

需要安装升级到autoconf-2.65.tar.gz, automake-1.13.tar.gz两个文件

问题2:
再编译xlslib时出现:
In file included from xlslib/assert_assist.cpp:31:0:
./common/systype.h:253:18: error: missing binary operator before token "("
 #if __has_feature(attribute_analyzer_noreturn)
                  ^
make[1]: *** [assert_assist.lo] Error 1
make[1]: Leaving directory `/home/op/xlslib/github_xlslib/xlslib/xlslib/srcmake: *** [all-recursive] Error 1

此时需要在此处的上方,
#ifndef CLANG_ANALYZER_NORETURN
#if __has_feature(attribute_analyzer_noreturn)
#define CLANG_ANALYZER_NORETURN __attribute__((analyzer_noreturn))
#else
#define CLANG_ANALYZER_NORETURN
#endif
#endif
添加如下定义:
// GCC does not understand __has_feature.
#if !defined(__has_feature)
# define __has_feature(x) 0
#endif

 

 

参考: http://clang-analyzer.llvm.org/annotations.html

https://github.com/gcc-mirror/gcc/blob/master/libsanitizer/include/sanitizer/common_interface_defs.h

xlslib安装, aclocal-1.13: command not found, 安装升级autoconf-2.65.tar.gz, automake-1.13.tar.gz两个文件

标签:

原文地址:http://www.cnblogs.com/destim/p/5661873.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!