php설치시 에러 (고수님들 답변좀 해주세요)
작성자 정보
- 허태훈 작성
- 작성일
컨텐츠 정보
- 2,164 조회
- 2 댓글
- 0 추천
- 목록
본문
GD와 freetype 에 관련된 패키지가 rpm 으로 설치가 모두 설치 되었으시면 configure 옵션에서 아래 내용으로 설정 컴파일 해보시기 바랍니다. freetype 쪽에 에러가 나는 것 같네요.
./configure
--with-apxs2=/usr/local/apache/bin/apxs
--with-zlib-dir=/usr/ --with-gd=/usr/ --with-ttf --with-png-dir=/usr/ --with-jpeg-dir=/usr/
--with-gettext --with-expat-dir=/usr --with-gmp --with-xml
--with-mysql=/usr/local/mysql
--with-language=korean
--with-charset=euc_kr
--disable-debug --disable-posix --disable-rpath
--enable-safe-mode --enable-magic-quotes
--disable-dmalloc --enable-bcmath
--enable-dio --enable-gd-native-ttf
--enable-sysvsem --enable-sysvshm
--enable-wddx --enable-versioning
--enable-pic --enable-inline-optimization
--enable-memory-limit --enable-mbstring
--enable-mbregex --enable-mbstr-enc-trans
--with-config-file-path=/usr/local/lib --enable-ftp --disable-debug --enable-track-vars=yes
--with-freetype-dir=/usr/
--enable-gd-native-ttf --enable-dl
--with-imap=shared --with-imap-ssl=/usr/lib --with-kerberos
관련자료
-
이전
-
다음
안용섭님의 댓글
- 안용섭
- 작성일
다시 에러가 뜨네요.
checking for FreeType 1.x support... yes
checking for FreeType 2... /usr/
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
no - FreeType 2.x is to be used instead
configure: error: Unable to find gd.h anywhere under /usr/
암담하네요//;;
도대체 모가 문제인지.. 암담하네요.
안용섭님의 댓글
- 안용섭
- 작성일
며칠째 삽질하고 있습니다. 다시 설치해볼까 하다가도 오기가 생겨서..ㅜㅜ