我正在尝试在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
在谷歌搜索此错误后,在我看来这种错误与“交叉编译”相关联。虽然我是在原生环境中构建的。
在链接libblkid
然后我尝试使用./configure --disable-libblkid
构建它,然后它以相同的错误停止。这次它在构建libfdisk
时会窒息。事实证明我无法禁用构建libfdisk
。
所以我对这个错误究竟意味着什么很好奇?
编辑:
./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.