I have Ubuntu 13.10 32 bit system. Recently when I try to to compile by running ./autogen.sh
and ./configure
I get
PKG_PROG_PKG_CONFIG: command not found
error. I have libtool
installed. I have three aclocal files in usr/share/
like alocal
, aclocal-1.13
and aclocal-1.4
How can I fix that alocal error?
EDIT:
Some time ago I compiled latest version of automake from source and installed it because a source code needed recent version of automake to run configure process.
Since then whenever I run standard ./autogen
and /configure
commands in source directory to generate makefile
I get
PKG_PROG_PKG_CONFIG: command not found
error
find /usr -name "pkg.m4"
gives me
/usr/share/aclocal/pkg.m4
and
aclocal --print-ac-dir
gives me
/usr/local/share/aclocal
pkg-config
package installed? does the file/usr/share/aclocal/pkg.m4
exist on your system?find /usr -name "pkg.m4"
gives me/usr/share/aclocal/pkg.m4
aclocal --print-ac-dir
say?