8.21. Pkgconf-3.0.2

#### Linux From Scratch - Version r13.0-154-systemd

### Chapter 8. Installing Basic System Software

- Prev

  Ninja-1.13.2

- Next

  Binutils-2.46.1

- Up
- Home

# 8.21. Pkgconf-3.0.2

The pkgconf package is a successor to pkg-config and contains a tool for passing the include path and/or library paths to build tools during the configure and make phases of package installations.

Approximate build time: less than 0.1 SBU
Required disk space: 5.0 MB

## 8.21.1. Installation of Pkgconf

First, work around a circular dependency on meson:

    tar -xf ../meson-1.11.2.tar.gz

Prepare Pkgconf for compilation:

    mkdir build
    cd    build

    python3 ../meson-1.11.2/meson.py setup --prefix=/usr --buildtype=release ..

Compile the package:

    ninja

Install the package:

    ninja install
    mv /usr/share/doc/pkgconf{,-3.0.2}

To maintain compatibility with the original Pkg-config create two symlinks:

    ln -sv pkgconf   /usr/bin/pkg-config
    ln -sv pkgconf.1 /usr/share/man/man1/pkg-config.1

## 8.21.2. Contents of Pkgconf

Installed programs: pkgconf, pkg-config (link to pkgconf), and bomtool
Installed library: libpkgconf.so
Installed directory: /usr/share/doc/pkgconf-3.0.2

### Short Descriptions

pkgconf | Returns meta information for the specified library or package
bomtool | Generates a Software Bill Of Materials from pkg-config .pc files
`libpkgconf.so` | Contains most of pkgconf's functionality, while allowing other tools like IDEs and compilers to use its frameworks

- Prev

  Ninja-1.13.2

- Next

  Binutils-2.46.1

- Up
- Home