xlslib安装, aclocal-1.13: command not found, 安装升级autoconf-2.65.tar.gz, automake-1.13.tar.gz两个文件
2016-07-11 22:27
639 查看
问题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/src' make: *** [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
相关文章推荐
- cannot change version web module 2.5
- gcc编译时对'xxxx'未定义的引用问题
- codeforces 641D. Little Artem and Random Variable
- 在stackoverflow回答被认可
- Unsupported major.minor version 52.0问题的解决
- java里面的输入流、输出流、节点流和处理流区别
- JavaScript的执行上下文
- hbase表结构模型
- matlab--特征值分解
- LeetCode 217. Contains Duplicate
- 卡尔曼滤波、粒子滤波的滤波是什么意思?
- 思科路由与交换系列--------NA系列
- iOS学习(二十九)创建第一个app应用,不用故事板,创建主页
- C语言培训_007
- leetcode题解日练--2016.7.11
- HDU 1078 FatMouse and Cheese
- CodeForces 547A Mike and Frog
- 导游 (并查集+贪心)
- 使用cobbler批量安装CentOS7
- 高项考试感言