読者です 読者をやめる 読者になる 読者になる

CentOS6.4 64bit にswfmillをインストールする

自分的メモ
CentOS6.4 64bit にswfmillをインストールする

wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm;
rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi;
rpm -ivh remi-release-*.rpm;
yum -y --enablerepo=remi install yum-priorities;
yum --enablerepo=remi install -y gcc-c++ autoconf automake;
yum -y --enablerepo=remi install libxml2-devel;
yum -y --enablerepo=remi install libxslt-devel;
yum -y --enablerepo=remi install freetype-devel;
yum -y --enablerepo=remi install libpng-devel;
yum -y --enablerepo=remi install zlib-devel;
cd;
wget http://swfmill.org/releases/swfmill-0.3.2.tar.gz;
tar xzf swfmill-0.3.2.tar.gz;
cd swfmill-0.3.2;
./configure
make;
make install;

下記は自前でやったもの。

yum install -y gcc-c++ autoconf automake;
cd;
wget http://xmlsoft.org/sources/old/libxml2-2.6.27.tar.gz;
tar zxvf libxml2-2.6.27.tar.gz ;
cd libxml2-2.6.27;
./configure --prefix=/usr;
make;
make install;
cd;
wget http://xmlsoft.org/sources/libxslt-1.1.28.tar.gz
tar zxvf libxslt-1.1.28.tar.gz;
cd libxslt-1.1.28;
./configure --prefix=/usr;
make;
make install;
/*
cd;
wget http://download.savannah.gnu.org/releases/freetype/freetype-2.3.12.tar.gz
tar xvzf freetype-2.3.12.tar.gz;
cd freetype-2.3.12;
./configure --prefix=/usr;
make;
make install;
*/
cd;
wget http://downloads.sourceforge.net/project/libpng/libpng16/1.6.2/libpng-1.6.2.tar.gz?r=http%3A%2F%2Fwww.libpng.org%2Fpub
%2Fpng%2Flibpng.html&ts=1369457108&use_mirror=jaist;
tar xvzf libpng-1.6.2.tar.gz;
cd libpng-1.6.2
cd;
wget http://downloads.sourceforge.net/project/libpng/zlib/1.2.8/zlib-1.2.8.tar.gz?r=http%3A%2F%2Fzlib.net
%2F&ts=1369457304&use_mirror=jaist;
tar zxvf zlib-1.2.8.tar.gz;
cd zlib-1.2.8;
./configure --prefix=/usr -s;
make;
make install;
cd;
wget http://swfmill.org/releases/swfmill-0.3.2.tar.gz;
tar xzf swfmill-0.3.2.tar.gz;
cd swfmill-0.3.2;
export LD_LIBRARY_PATH=/usr/lib;
export PKG_CONFIG_PATH=/usr/lib/pkgconfig;
./configure --prefix=/usr;
make;
make install;