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

- 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..


[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]
|

댓글 2개

APM 설치후 위 라이브러리들을 설치하면 문제가 되나요??
넵, 컴파일할때 에러뜹니다.
댓글을 작성하시려면 로그인이 필요합니다. 로그인

개발자팁

개발과 관련된 유용한 정보를 공유하세요. 질문은 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
기타 18년 전 조회 4,006
JavaScript 18년 전 조회 4,639
PHP 18년 전 조회 4,016
기타 18년 전 조회 3,325
PHP 18년 전 조회 3,801
기타 18년 전 조회 3,934
기타 18년 전 조회 6,863
기타 18년 전 조회 4,128
MySQL 18년 전 조회 4,224
기타 18년 전 조회 4,867
JavaScript 18년 전 조회 4,829
JavaScript 18년 전 조회 4,190
기타 18년 전 조회 3,550
JavaScript 18년 전 조회 6,819
JavaScript 18년 전 조회 5,698
기타 18년 전 조회 3,549
JavaScript 18년 전 조회 3,357
Flash 18년 전 조회 4,568
기타 18년 전 조회 3,447
기타 18년 전 조회 3,297
PHP 18년 전 조회 4,783
기타 18년 전 조회 5,298
JavaScript 18년 전 조회 4,594
JavaScript 18년 전 조회 3,988
기타 18년 전 조회 3,037
JavaScript 18년 전 조회 3,549
JavaScript 18년 전 조회 5,063
기타 18년 전 조회 4,458
Flash 18년 전 조회 4,968
Flash 18년 전 조회 3,115
🐛 버그신고