www.danga.com
下载
* memcached-1.1.13.tar.gz — Sep 9, 2006
wget http://www.danga.com/memcached/dist/memcached-1.1.13.tar.gz
tar -zxvf memcached-1.1.13.tar.gz
cd memcached-1.1.13
sudo ./configure –prefix=/opt/memcahed
sudo make
sudo make install
/opt/memcached/bin/memcached -d -m 2
imagemagick
Jpeg v6b、libPng、FreeType 的要在安装imagemagick之前先装好,否则imagemagick没法读取jpeg和png图片
wget ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
tar zxvf jpegsrc.v6b.tar.gz
cd jpeg-6b
./configure –prefix=/usr/local/jpeg-6b –enable-shared –enable-static
make
mkdir /usr/local/jpeg-6b
mkdir /usr/local/jpeg-6b/include
mkdir /usr/local/jpeg-6b/lib
mkdir /usr/local/jpeg-6b/bin
mkdir /usr/local/jpeg-6b/man
mkdir /usr/local/jpeg-6b/man/man1
make install
———————————————————————-
wget http://download.savannah.gnu.org/releases/freetype/freetype-2.3.5.tar.gz
tar zxvf freetype-2.3.5.tar.gz
cd freetype-2.3.5.tar.gz
./configure –prefix=/usr/local/freetype
make
make install
cp /usr/local/freetype/include/freetype2/freetype/* /usr/local/include/
——————————————————————–
wget http://www.zlib.net/zlib-1.2.3.tar.gz
tar zxvf zlib-1.2.3.tar.gz
cd zlib-1.2.3
./configure –prefix=/usr/local/zlib
make
make install
—————————————————————-
wget http://jaist.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.29.tar.gz
tar zxvf libpng-1.2.29.tar.gz
cd libpng-1.2.29
./configure prefix=/usr/local/libpng
make
make install
—————————————————————–
http://www.imagemagick.org/script/install-source.php#unix
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
tar zxvf ImageMagick.tar.gz
cd ImageMagick-6.3.1
sudo ./configure –prefix=/usr/local/imagemagick –enable-shared –enable-lzw –with-modules LDFLAGS=’-L/usr/local/imagemagick/lib -R/usr/local/imagemagick/lib’ CPPFLAGS=”-I/usr/local/
jpeg-6b/include -I/usr/local/libpng/include -I/usr/local/freetype/include -I/usr/local/freetype/include/freetype2″ LDFLAGS=”-L/usr/local/lib -L/usr/local/jpeg-6b/lib -L/usr/local/libpng/lib -L/usr/local/freetype/lib”
sudo make
sudo make install
/sbin/ldconfig /usr/local/imagemagick/lib
/usr/local/imagemagick/bin/convert logo: logo.gif
No Responses (yet)
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.