我有Ubuntu 13.10 32位系统。最近,当我尝试通过运行进行编译时./autogen.sh,./configure我得到了
PKG_PROG_PKG_CONFIG: command not found
错误。我已经libtool安装好了。我有三个aclocal会文件usr/share/一样alocal,aclocal-1.13和aclocal-1.4
如何解决该本地错误?
编辑:
前一段时间,我从源代码编译并安装了最新版本的automake,因为源代码需要最新版本的automake才能运行配置过程。从那时起,每当我在源目录中运行标准./autogen和/configure命令来生成时,makefile我都会得到
PKG_PROG_PKG_CONFIG: command not found
错误
find /usr -name "pkg.m4"
给我
/usr/share/aclocal/pkg.m4
和
aclocal --print-ac-dir
给我
/usr/local/share/aclocal
您要编译什么?
—
Jobin 2014年
@steeldriver
—
Kenn 2014年
find /usr -name "pkg.m4"给了我/usr/share/aclocal/pkg.m4
@Jobin我试图编译这个:codeload.github.com/blazt/submarine/zip/master
—
KENN
什么
—
钢铁司机
aclocal --print-ac-dir发言权?
pkg-config安装了软件包?该文件/usr/share/aclocal/pkg.m4在您的系统上是否存在?