安装glib-2.44.1
先说清楚,这是一篇纠结文,正确答案请看这里
纠结开始了:
下载https://github.com/GNOME/glib
参考https://developer.gnome.org/glib/2.44/
要用到autoconf生成配置脚本
先使用apt-get install autoconf安装autoconf,这个稍微有点慢。
然后在glib-master目录下运行
autoconf configure.ac
报错了
configure.ac:66: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
这个问题还没解决,又遇到一个新的问题,就是我把glib-master在虚拟机的共享文件夹中解压然后拷贝到ubuntu的根目录下之后,
gli