所需软件
准备
yum install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel -y
新版还加了下面的cmake freetype-devel mercurial
编译yasm
tar-zxvfyasm-1.2.0.tar.gz
cd yasm-1.2.0
./configure --prefix=/usr/local
make && make install
. ~/.bash_profile