树莓派源码安装glib
1、安装步骤
下载,解码,cd glib目录:
wget http://ftp.gnome.org/pub/gnome/sources/glib/2.40/glib-2.40.0.tar.xz
tar -xJf glib-2.40.0.tar.xz
cd glib-2.40.0
安装三部曲:
./configure
make
make install
2、可能的问题
常见问题可参考链接:
https://www.cnblogs.com/pcat/p/5520317.html
2.1、/configure 容易出现问题
问题:1:
No package 'libffi' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed