곱

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

· 2007-03-13 (화) 22:46:01 · 5880 · 2
- 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,403건

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

+
분류 제목 글쓴이 날짜 조회
기타 07-03-13 조회 3,475
PHP 07-03-12 조회 4,940
기타 07-03-11 조회 5,468
JavaScript 07-03-08 조회 4,761
JavaScript 07-03-08 조회 4,185
기타 07-03-08 조회 3,243
JavaScript 07-03-08 조회 3,815
JavaScript 07-03-08 조회 5,271
기타 07-03-07 조회 4,623
Flash 07-03-07 조회 5,152
Flash 07-03-07 조회 3,281
기타 07-03-06 조회 3,584
JavaScript 07-03-05 조회 4,610
기타 07-03-04 조회 3,639
기타 07-03-04 조회 4,536
JavaScript 07-03-04 조회 3,434
기타 07-03-04 조회 3,689
기타 07-03-04 조회 3,723
기타 07-03-03 조회 4,301
기타 07-03-02 조회 3,405
기타 07-03-02 조회 3,522
기타 07-03-02 조회 3,427
기타 07-03-02 조회 3,146
MySQL 07-03-02 조회 8,202
기타 07-03-01 조회 3,804
JavaScript 07-03-01 조회 9,370
JavaScript 07-02-28 조회 3,527
MySQL 07-02-27 조회 7,764
JavaScript 07-02-27 조회 4,906
JavaScript 07-02-26 조회 3,672