APM 설치전 필수 라이브러리 다운로드 및 설치APM 설치전 필수 라이브러리 다운로드 및 설치

Posted at 2010. 10. 5. 13:04 | Posted in Server
반응형
- http://www.gzip.org/zlib/  zlib 다운로드 
- http://libpng.sourceforge.net/  libpng 다운로드
- http://www.freetype.org/  free type 다운로드
- http://www.ijg.org/  libjpeg  다운로드
- http://www.boutell.com/gd/  gd 다운로드
- http://xmlsoft.org/  libxml2 다운로드


#===========================================================
# 필수 라이브러리 설치
#===========================================================
cd /usr/local/src
wget http://nchc.dl.sourceforge.net/sourceforge/libpng/zlib-1.2.3.tar.gz
wget http://nchc.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.10.tar.gz
wget http://download.savannah.gnu.org/releases/freetype/freetype-2.2.1.tar.gz
wget http://www.ijg.org/files/jpegsrc.v6b.tar.gz
wget http://www.libgd.org/releases/oldreleases/gd-2.0.33.tar.gz
wget ftp://xmlsoft.org/libxml2/libxml2-2.6.24.tar.gz
wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.11.tar.gz
wget http://curl.haxx.se/download/curl-7.16.1.tar.gz

#-----------------------------------------------
# 1. ZLIB 설치
#-----------------------------------------------
tar xvfz zlib*
cd zlib*
./configure
make
make install
cd ..

#-----------------------------------------------
# 2. LIBPNG 설치
#-----------------------------------------------
tar xvfz libpng*
cd libpng*
cp scripts/makefile.linux makefile
make test
make install
cd ..

#-----------------------------------------------
# 3. FREETYPE 설치
#-----------------------------------------------
tar xvfz freetype*
cd freetype*
./configure
make
make install
cd ..

#-----------------------------------------------
# 4. JPEGSRC 설치
#-----------------------------------------------
tar xvfz jpegsrc*
cd jpeg-6b
./configure --enable-shared --enable-static
make
make test
make install
make install-lib
make install-headers
cd ..

#-----------------------------------------------
# 5. GD 설치
#-----------------------------------------------
tar xvfz gd*
cd gd*
./configure
make
make install
cd ..

#-----------------------------------------------
# 6. LIBXML2 설치
#-----------------------------------------------
tar xvfz libxml2*
cd libxml2*
./configure
make
make install
cd ..

#-----------------------------------------------
# 7. LIBICONV 설치
#-----------------------------------------------
tar xvfz libiconv*
cd libiconv*
./configure --prefix=/usr/local
make; make install
ln -s /usr/local/lib/libiconv.so.2 /usr/lib/libiconv.so.2
cd ..

#-----------------------------------------------
# 8. curl 설치
#-----------------------------------------------
tar xfpz curl*
cd curl*
./configure;make;make install 
cd..

반응형

//