Last active
February 19, 2016 18:51
-
-
Save satosystems/55b6748f097c38c11cb2 to your computer and use it in GitHub Desktop.
さくらのレンタルサーバに ImageMagick をインストールする方法 ref: http://qiita.com/satosystems/items/b14f8a5b6b23b1f25acb
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
$ mkdir ~/works | |
$ cd ~/works | |
$ wget -c http://www.imagemagick.org/download/ImageMagick.tar.gz | |
$ tar xf ImageMagick.tar.gz | |
$ cd ImageMagick-6.9.3-4/ | |
$ ./configure --prefix=$HOME/usr --disable-openmp --disable-opencl | |
$ make | |
$ make install | |
$ echo "export PATH=\$HOME/usr/bin:\$PATH" >> ~/.bash_profile | |
$ echo "export PKG_CONFIG_PATH=\$HOME/usr/lib/pkgconfig" >> ~/.bash_profile | |
$ source ~/.bash_profile |
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
$ which convert | |
/home/xxx/usr/bin/convert |
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
$ convert -version | |
Version: ImageMagick 6.9.3-4 Q16 x86_64 2016-02-17 http://www.imagemagick.org | |
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC | |
License: http://www.imagemagick.org/script/license.php | |
Features: Cipher DPC | |
Delegates (built-in): bzlib fftw fontconfig freetype fpx jbig jng jpeg lcms lqr png tiff xml |
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
$ pkg-config --libs ImageMagick | |
-L/home/xxx/usr/lib -lMagickCore-6.Q16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment