1.官网下载自己想要的版本,我这里下载的是目前最新版

https://www.freedesktop.org/wiki/Software/pkg-config/

2.安装

tar xf XXX.tgz

cd XXX

./configure --with-internal-glib #需要加此选项,否则会报如下错:

Centos7上pkg-config的安装

make

make check

make install

相关文章:

  • 2022-12-23
  • 2021-06-29
  • 2022-12-23
  • 2021-08-09
  • 2021-07-31
猜你喜欢
  • 2022-12-23
  • 2021-06-14
  • 2022-12-23
  • 2021-07-05
相关资源
相似解决方案