곱

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

개발자팁

5,404건

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

+
분류 제목 글쓴이 날짜 조회
기타 07-04-11 조회 5,513
PHP 07-04-05 조회 4,636
JavaScript 07-04-05 조회 6,366
기타 07-04-04 조회 4,091
기타 07-04-04 조회 4,337
기타 07-04-02 조회 1.1만
PHP 07-03-31 조회 3,452
PHP 07-03-31 조회 4,287
PHP 07-03-30 조회 3,899
기타 07-03-30 조회 4,116
기타 07-03-29 조회 4,369
Flash 07-03-27 조회 4,424
기타 07-03-26 조회 4,191
JavaScript 07-03-24 조회 4,837
PHP 07-03-24 조회 4,218
기타 07-03-23 조회 3,512
PHP 07-03-22 조회 4,007
기타 07-03-21 조회 4,118
기타 07-03-21 조회 7,172
기타 07-03-20 조회 4,447
MySQL 07-03-20 조회 4,435
기타 07-03-20 조회 5,079
JavaScript 07-03-17 조회 5,007
JavaScript 07-03-16 조회 4,408
기타 07-03-16 조회 3,736
JavaScript 07-03-15 조회 7,070
JavaScript 07-03-13 조회 5,905
기타 07-03-13 조회 3,738
JavaScript 07-03-13 조회 3,596
Flash 07-03-13 조회 4,792