http://www.inet.co.kr/faq/stories.php?story=05/02/20/3947107

//-----------------------------------------------------

1. zlib 설치
http://www.gzip.org/zlib/ 에서 zlib 을 다운 받는다

shell>tar -xvzf zlib-1.1.4.tar.gz
shell>mv zlib-1.1.4 /usr/local/zlib
shell>cd zlib

shell>./configure -s // libz.so 관련모듈생성
shell>make

shell>./configure // libz.a 생성
shell>make test
shell>make install

shell>cp libz.so* /usr/local/lib

shell>cd /usr/local/lib
shell>rm -rf libz.so
shell>rm -rf libz.so.1
shell>ln -s libz.so.1.1.4 libz.so <==버전에 따라 틀림
shell>ln -s libz.so.1.1.4 libz.so.1 <==버전에 따라 틀림

shell>vi /etc/ld.so.conf
/usr/local/lib추가

shell>ldconfig 적용명령

2.libpng 설치
http://www.libpng.org/pub/png/libpng.html 에서 libpng의 최신 버전을 다운 받는다.

shell>tar -xvzf libpng-1.2.5.tar.gz
shell>mv libpng-1.2.5 /usr/local/libpng
shell>cp scripts/makefile.linux Makefile
shell>make test
shell>make install

3. freetype 설치
http://freetype.sourceforge.net/ 에서 freetype 의 최신 버전을 다운 받는다
shell>tar -xvzf freetype-2.1.3.tar.gz
shell>mv freetype-2.1.3 /usr/local/freetype
shell>./configure
shell>make
shell>make install

4. jpeg 설치
ftp://ftp.uu.net/graphics/jpeg/ 에서 jpeg의 최신 버전을 다운 받는다.
shell>tar -xvzf jpegsrc.v6b.tar.gz
shell>mv jpeg-6b /usr/local/jpeg
shell>./configure --enable-shared --enable-static
shell>make
shell>make test
shell>make install

5. libtiff 설치
ftp://ftp.remotesensing.org/pub/libtiff/ 에서 libtiff의 최신 버전을 다운 받는다.

shell>tar -xvzf tiff-v3.5.7.tar.gz
shell>mv tiff-v3.5.7 /usr/local/tiff
shell>./configure

...중간에 설치하다 물어보면
yes한다
...

shell>make
shell>make install

6. gd 설치
http://www.boutell.com/gd/http/ 에서 gd 2.0.7을 다운 받는다.
shell>tar xvzf gd-2.0.9.tar.gz
shell>mv gd-2.0.9 /usr/local/gd
shell>./configure
만일 ttf(트루타입폰트 부분)에서 에러가 계속 발생한다면 Makefile에서 -lttf 제거하거나 rpm으로 ttf 패키지를 설치하면 됨.
shell>make
shell>make install

7. PHP 컴파일

./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-gd --with-gif-dir=/usr/local/lib
--with-png-dir --with-zlib-dir --with-jpeg-dir --with-kerberos --with-freetype-dir --enable-ftp --enable-socket
--disable-debug --enable-track-vars --enable-magic-quotes --enable-versioning --enable-gd-native-ttf --enable-gd-imgstrttf
--enable-modules=so --enable-dba=shared
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2005/05/24 19:02 2005/05/24 19:02
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/240

Trackback URL : http://tcbs17.cafe24.com/tc/trackback/240

« Previous : 1 : ... 5322 : 5323 : 5324 : 5325 : 5326 : 5327 : 5328 : 5329 : 5330 : ... 6391 : Next »

블로그 이미지

- 홍반장

Archives

Recent Trackbacks

Calendar

«   2024/05   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Statistics Graph

Site Stats

Total hits:
186179
Today:
437
Yesterday:
745