使用sudo apt-get install libglib2.0-dev安装glib时
出现依赖的问题
使用另一种方法安装
下载glib-2.43.2.tar.xz
然后 ./configure make make install
make时
出现gbacktrace.c:172:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral]
2497 | tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);