PKG_PROG_PKG_CONFIG: command not found

Discussion in 'Linux' started by quywz, Jul 5, 2018.

  1. quywz

    quywz MDL Member

    Jun 30, 2017
    118
    7
    10
    I check the path of pkg.m4.the result is
    Code:
    $ aclocal --print-ac-dir
    /usr/share/aclocal
    I search pkg.m4,run command
    Code:
    $ find /usr -name pkg.m4
    /usr/share/aclocal/pkg.m4
    the two results is consistent.

    I run
    Code:
    $ pkg-config --version
    0.29.2
    and
    Code:
    $ pkg-config --modversion ibus-table
    1.9.14
    ,which are right work.

    The pkg-config is compile,install by local.
    Code:
    ./configure --prefix=/usr
    make
    make install
    so
    Code:
    $dpkg -l pkg-config
    un  pkg-config
    
    the result show UN.

    how to fix PKG_PROG_PKG_CONFIG error?thx