编译Libgdiplus遇到的问题

https://github.com/mono/libgdiplus/releases 下载最新版本
解压并执行 ./autogen.sh,在执行此步时遇到如下问题,并帖出解决办法

问题:执行 ./autogen.sh时报错 Error: You must have `autoconf’ installed to compile Mono.
解决办法:apt-get install autoconf

问题:执行./autogen.sh报错 Error: You must have `libtool’ installed to compile Mono.
解决:apt-get install libtool

问题:configure: error: You need to install pkg-config
解决: apt-get install pkg-config

问题:No package ‘glib-2.0’ found
解决:apt-get install glib-2.0

问题:No package ‘cairo’ found
解决:apt-get install libcairo2-dev

都解决后,最后执行 make && make install