automake (>=1.14) error: but option ‘subdir-objects’ is disabled

What steps will reproduce the problem?

1. With automake >=1.14, ./autogen.sh fails

This is due to a change in the way automake sets subdir-objects as the default: See <a href="https://github.com/sugarlabs/automake/blob/master/PLANS/subdir-objects.txt" rel="nofollow">https://github.com/sugarlabs/automake/blob/master/PLANS/subdir-objects.txt</a>

======================

automake: warnings are treated as errors

third_party/Makefile.am:81: warning: source file ‘$(googletest)/src/gtest.cc‘ is in a subdirectory,

third_party/Makefile.am:81: but option ‘subdir-objects‘ is disabled

automake: warning: possible forward-incompatibility.

automake: At least a source file is in a subdirectory, but the ‘subdir-objects‘

automake: automake option hasn‘t been enabled.  For now, the corresponding output

automake: object file(s) will be placed in the top-level directory.  However,

automake: this behaviour will change in future Automake versions: they will

automake: unconditionally cause object files to be placed in the same subdirectory

automake: of the corresponding sources.

automake: You are advised to start using ‘subdir-objects‘ option throughout your

automake: project, to avoid future incompatibilities.

===============

Updating configure.ac to replace AM_INIT_AUTOMAKE(-Wall -Werror) with AM_INIT_AUTOMAKE(-Wall -Werror subdir-objects) resolves the autogen.sh problem, however it leads to a build problem. "Makefile:771: gtest-1.6.0/src/.deps/gtest-death-test.Plo: No such file or directory", etc... Examining the two versions of third_party/Makefile shows that indeed a Makefile change occurs. "include ./$(DEPDIR)/gtest-death-test.Plo" is replaced by "include $(googletest)/src/$(DEPDIR)/gtest-death-test.Plo".

So it would seem that gtest‘s location is no longer acceptable to automake.

时间: 2024-08-01 10:46:26

automake (>=1.14) error: but option ‘subdir-objects’ is disabled的相关文章

萌新笔记——git的问题(error: object file .git/objects/* is empty...)的解决方案及对git版本库文件的了解

由于操作不当,导致git版本库出了大问题,如下所示: error: object file .git/objects/8b/61d0135d3195966b443f6c73fb68466264c68e is empty fatal: loose object 8b61d0135d3195966b443f6c73fb68466264c68e (stored in .git/objects/8b/61d0135d3195966b443f6c73fb68466264c68e) is corrupt 即

LINK : fatal error LNK1117: syntax error in option &#39;VERSION:1.6.5&#39;

今天在用vs2015编译ogre 1.6.5的代码时发生连接错误 LINK : fatal error LNK1117: syntax error in option 'VERSION:1.6.5'. 解决:On the Settings (Project > Settings > Linker) removing the "Version" entry. 没有深入搞懂为什么,先Mark下. 参考: http://stackoverflow.com/questions/20

安装m2crypto报错swig error : Unrecognized option -builtin

M2Crypto 是最完整的为 Python 包装 OpenSSL 的 RSA,DSA,DH,EC,HMACs,消息摘要,对称密码算法(包括AES)的一个库工具.而自从 M2Crypto 升级到版本 0.22.5 后,用 pip install M2Crypto 命令来安装 M2Crypto 时总是会失败.在没有升级到此版本之前,使用 pip 安装则是没有问题的.下面来找找原因.系统环境:CentOS 6.7 x86失败关键字:swig 失败现象: swigging SWIG/_m2crypto

执行automake时报错 error while making link: Operation not supported

执行automake时报错: [[email protected] project]# automake --add-missingconfigure.in: installing `./install-sh'; error while making link: Operation not supportedconfigure.in: installing `./missing'; error while making link: Operation not supportedMakefile.

&lt;console&gt;:14: error: not found: value spark import spark.implicits.

启动 ./spark-shell 出现问题 启动 hadoop, 并创建,解决 hadoop fs -mkdir /directory 解决了 原文地址:https://www.cnblogs.com/Jomini/p/11610404.html

android error: cannot use ‘throw’ with exceptions disabled

{ 编辑 Android.mk 文件,加入下面的代码: LOCAL_CPP_FEATURES += exceptions 或者: LOCAL_CPPFLAGS += -fexceptions } 原文地址:https://www.cnblogs.com/YZFHKMS-X/p/12623964.html

解决Ubuntun 12.04编译Mesa10.3 WARNING: &#39;aclocal-1.14&#39; is missing on your system

安 装Mesa时,最后一个错误报“WARNING: 'aclocal-1.14' is missing on your system.”,虽然是个Warning,但是无法进行下一步make,所以必须解决.根据warning给的提示以及网上搜的信息判断,这是一个时间 戳变化导致的系统以为文件被修改,所以需要重新编译几个脚本文件.实际上我从官网下载来的源文件压缩包我根本没动过,应该是解压过程中系统版本不一样或者 时间差导致的文件时间戳发生了变化而已(能想到这个,因为我从本机往US的服务器传文件时,解

ERROR 2002 (HY000): Can&#39;t connect to local MySQL server through socket &#39;/var/lib/mysql/mysql.sock&#39; (13)解答

我在使用mysqll客户端连接我的mysql服务器的时候,出现了上述的问题.我的操作系统是ubuntu,安装版本是对应的64位服务器.我的服务器的启动方式是sudo service mysql start. 我对服务器的改动仅限于新增了一个mysql的配置文件,配置文件的位置在/etc/my.cnf.配置文件如下(不要在意设置的具体值): [mysqld] # GENERAL datadir = /var/lib/mysql socket = /var/lib/mysql/mysql.sock

Python中的option Parser

一般来说,Python中有两个内建的模块用于处理命令行参数: 一个是 getopt,<Deep in python>一书中也有提到,只能简单处理 命令行参数: 另一个是 optparse,它功能强大,而且易于使用,可以方便地生成标准的.符合Unix/Posix 规范的命令行说明. 示例如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 from optparse import OptionParser parser = OptionParser() parser.a