You are not logged in.

#1 2016-11-01 21:13:25

KeNaCo
Member
Registered: 2012-11-01
Posts: 18

Not defined PKG_PROG_PKG_CONFIG

Hi. I mess with one project and firt step is run autoconf to create configure executable and makefile. But it eds with error:

kenaco@kenaco-arch(fix-setuptools):~/dev/fastrpc$ autoconf 
configure.ac:93: error: Please install pkg-config.
configure.ac:93: the top level
autom4te: /usr/bin/m4 failed with exit status: 1

so I open configure.ac and found this:

m4_ifndef([PKG_PROG_PKG_CONFIG], [m4_fatal([Please install pkg-config.])])
PKG_PROG_PKG_CONFIG

And now start the weird part:

kenaco@kenaco-arch(fix-setuptools):~/dev/fastrpc$ echo $PKG_PROG_PKG_CONFIG

kenaco@kenaco-arch(fix-setuptools):~/dev/fastrpc$

After some googling I found some info (mostly from ubuntu forums) that I miss installed pkg-config package. But I have..

core/pkg-config 0.29.1-2 (base-devel) [installed]
    A system for managing library compile/link flags

I cant find any problems with this related to Arch. Miss I something? Or do I something wrong?
I'll be glad for any help

Offline

#2 2016-11-03 05:05:43

ColdPhoenix2
Member
Registered: 2016-10-15
Posts: 8

Re: Not defined PKG_PROG_PKG_CONFIG

Try this:

ACLOCAL_PATH=/usr/share/aclocal autoconf

Last edited by ColdPhoenix2 (2016-11-03 05:14:24)

Offline

Board footer

Powered by FluxBB