安装zlib tar zxvf zlib-1.2.3.tar.gz cd zlib-1.2.3 ./configure –prefix=/usr/local/zlib2 make make install 安装libpng tar zxvf libpng-1.2.10.tar.gz cd libpng-1.2.10 ./configure –prefix=/usr/local/libpng make make install 安装freetype tar zxvf freetype-2.3.5.