怎样编译安装pkg-config

2016年7月27日 | 分类: 【技术】

官网:http://www.freedesktop.org/wiki/Software/pkg-config/
参考:http://www.linuxfromscratch.org/lfs/view/development/chapter06/pkg-config

参考:http://blog.csdn.net/ccf19881030/article/details/9042733
参考:http://linux.die.net/man/1/pkg-config
参考:http://www.xuebuyuan.com/918412

下载:https://pkg-config.freedesktop.org/releases/

wget https://pkg-config.freedesktop.org/releases/pkg-config-0.29.1.tar.gz && tar -zxvf pkg-config-0.29.1.tar.gz && cd pkg-config-0.29.1
./configure --prefix=/usr --with-internal-glib --disable-compile-warnings --disable-host-tool --docdir=/usr/share/doc/pkg-config-0.29.1
make && make check && make install

Git源:

git clone git://anongit.freedesktop.org/pkg-config