Created
November 23, 2016 00:16
-
-
Save AlecYawata/870c5f15757ebb3b35702d1e34c222e4 to your computer and use it in GitHub Desktop.
Lambdaで日本語が表示できるPhantomJSを使うために必要な/tmpで動くfontconfigをec2のami-383c1956でビルドする手順
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install -y libtool autoconf libxml2-devel libxslt-devel | |
sudo easy_install lxml | |
sudo yum install gperf freetype-devel python-lxml | |
git clone http://anongit.freedesktop.org/git/fontconfig | |
cd fontconfig | |
./autogen.sh --sysconfdir=/tmp/fontconfig/etc --prefix=/tmp/fontconfig/usr --mandir=/tmp/fontconfig/usr/share/man --enable-libxml2 | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment