./configure --build=编译平台 --host=运行平台 --target=目标平台
1. configure: error: cannot guess build type; you must specify one
解决办法:指定编译平台
./configure --build=arm
2. configure: error: Either a previously installed pkg-config or "glib-2.0 >= 2.16" could not be found. Please set GLIB_CFLAGS and GLIB_LIBS to the correct values or pass --with-internal-glib to configure to use the bundled copy.
解决办法:使用自带glib,添加参数
./configure --build=arm --with-internal-glib