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

问题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

时间: 2024-09-04 18:08:21

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

Ubuntu 13.04/12.10安装Oracle 11gR2图文教程(转)

Ubuntu 13.04/12.10安装Oracle 11gR2图文教程 原文标题:How to Install Oracle 11G R2 Enterprise Edition Database Ubuntu 12.10 / 12.04 注:原文出自:http://www.techienote.com/tag/oracle-database-11g-r2-on-ubuntu-12-04 Following is the how to for installing Oracle Database

eclipse在Ubuntu 13.04下的安装过程及问题小记

在Ubuntu 13.04下的安装eclipse - 夏雪冬日 - 博客园 一.eclipse安装过程 首先确保在安装eclipse之前已经安装好Java虚拟机 1. eclipse官网下载压缩包 ?下载地址:http://www.eclipse.org/downloads/?osType=linux&release=undefined ? 2. 解压缩到 /opt/(/opt一般为大型商业软件或第三方软件包安装的地方,我习惯将第三方软件安装在此,当然你也可以安装在/usr/local下或其他地

ubuntu 13.04下编译安装mysql

安装环境: ubuntu 桌面版13.04 安装版本: mysql-5.6.12.tar.gz1. 安装必备工具: sudo apt-get install cmake libncurses5-dev  bison g++ 2 添加组和用户及安装目录权限 sudo groupadd mysql #添加组 sudo useradd -g mysql mysql -s /bin/false #创建用户mysql并加入到mysql组,不允许mysql用户直接登录系统 sudo mkdir -p /us

#13 yum、编译安装与sed命令的使用

Linux程序包管理之二 程序包管理的前端工具: CentOS系,yum,dnf yum: Yellowdog Updater Modified Yellowdog是一款发行版linux,使用rpm作为默认的程序包管理工具 URL: yum定位软件仓库及仓库中程序包文件的主要标识方式: schema://[[email protected]]hostname[:port][/PATH/TO/DOCUMENT][parameters][method] web站点: http/https http:

MAC 命令行工具(Command Line Tools)安装

不过升级后安装命令行工具(Command Line Tools)时发现官网没有clt的下载安装包了,原来改了,使用命令在线安装. 打开终端,输入命令:xcode-select --install 选择“安装”,然后同意安装协议.

Nginx 1.13.6 源码安装

系统:Centos 7.3 Server with GUI 软件:nginx-1.13.6.tar.gz 其他所需软件:openssl pcre zlib openssl-devel 安装方式:源码编译安装 安装位置:/usr/local/nginx 下载地址: http://nginx.org/en/download.html https://www.openssl.org/source/ https://ftp.pcre.org/pub/pcre/ http://zlib.net/ 安装需要

11.10-11.13 PHP5和PHP7安装

11.10-11.12 安装PHP5 PHP官网www.php.net 当前主流版本为5.6/7.1 大部分企业都是用5比较多 1 cd #cd /usr/local/src/ 2 下载包 #wget  http://cn2.php.net/distributions/php-5.6.30.tar.bz2 3 解压 # tar jxvf php-5.6.30.tar.bz2 4 进入包进行初始化.编译.安装 #cd php-5.6.30 5 配置参数:(这配置参数是万金油,参数对应功能,一般无特

Windows下MySQL8.0.13解压版安装教程

下载 MySQL8.0.13-64位下载地址 在下载页面的底部,有三种安装包,第一种是MySQL的安装程序,下载完点击安装即可. 第二种是普通的压缩版,体积较小. 第三种是自带debug和测试的压缩版,体积较大.这种压缩包在网上暂时没有找到对应的安装文档说明,所以建议下载第二种压缩包,也就是普通版本的MySQL压缩包. 配置环境变量 新建环境变量如下: 变量名:MYSQL_HOME 变量值:D:\software\mysql-8.0.13-winx64(这里填写MySQL的安装路径) 在path

PyCurl 安装错误, ERROR: Command errored out with exit status 10: command: '...

原因分析:PyCurl 安装错误,需要安装 PyCurl 库(PyCurl 是一个Python接口,是多协议文件传输库的 libcurl.类似于urllib Python模块,PyCurl 可以用来从Python程序获取 URL 所标识的对象) 解决方法:访问 https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycurl ,下载对应的 wheel 文件, 比如我是 Windows 7 64位,Python 3.7.3,则下载 pycurl-7.43.0.3