构建util linux:不支持的硬代码属性
我正试图在ubuntu 12.04上构建util linux 但请停止此错误:构建util linux:不支持的硬代码属性,linux,libtool,Linux,Libtool,我正试图在ubuntu 12.04上构建util linux 但请停止此错误: libtool: link: unsupported hardcode properties libtool: link: See the libtool documentation for more information. libtool: link: Fatal configuration error. make[2]: *** [libblkid.la] Error 1 在谷歌搜索这个错误后,我觉得这种错误
libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.
make[2]: *** [libblkid.la] Error 1
在谷歌搜索这个错误后,我觉得这种错误与“交叉编译”有关。虽然我是在本地环境下建造的
链接libblkid
然后我尝试使用/configure--disable libblkid
构建它,然后它停止运行,并出现相同的错误。这一次,它在构建libfdisk
时阻塞。结果是我不能禁用buildinglibfdisk
所以我很好奇这个错误到底意味着什么
编辑:
在/autogen.sh
过程中出现此错误。虽然它并没有停止这个过程
configure.ac:129: error: Could not locate the pkg-config autoconf
macros. These are usually located in /usr/share/aclocal/pkg.m4.
If your macros are in a different location, try setting the
environment variable AL_OPTS="-I/other/macro/dir" before running
./autogen.sh or autoreconf again.
无法复制。(使用默认的
/configure
)我也在使用ubuntu 12.04 AMD 64Me,我在使用util linux git repo。也许这不会发生在发布的tarballs中。稍后,我们将尝试使用git版本,并向您提供反馈。你有克隆url吗(我很懒:)?git clonegit://git.kernel.org/pub/scm/utils/util-linux/util-linux.git util linux
您可以尝试github镜像:https://github.com/karelzak/util-linux.git