configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
PHP5 설치시 아래와 같은 에러메세지가 나온다면 설치에 필요한 구성요소를 미리 설치하면 됩니다.
[증상]
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
[해결]
# yum -y install libc-client libc-client-devel
안될경우 아래와 같이 수동 설치
[libc-client-devel설치]
# cd/usr/local/src
# wget https://www.mirrorservice.org/sites/ftp.cac.washington.edu/imap/imap-2007f.tar.gz
# tar xvzf imap-2007f.tar.gz
# cd imap-2007f
# yum -y install pam-devel
# make lr5 PASSWDTYPE=std SSLTYPE=unix.nopwd EXTRACFLAGS=-fPIC IP=4
# mkdir /usr/local/imap-2007f/
# mkdir /usr/local/imap-2007f/include/
# mkdir /usr/local/imap-2007f/lib/
# cp c-client/*.h /usr/local/imap-2007f/include/
# cp c-client/*.c /usr/local/imap-2007f/lib/
# cp c-client/c-client.a /usr/local/imap-2007f/lib/libc-client.a
* php 컴파일중
에러 : configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
해결 : imap-2007f 설치 후 --with-imap=/usr/local/imap-2007f 옵션을 사용합니다.
'리눅스 > PHP' 카테고리의 다른 글
php 파일 실행하기 (0) | 2015.01.16 |
---|---|
mysql 5.2.10 설치중 PEAR문제 (0) | 2015.01.16 |
php 컴파일시 Cannot find libmysqlclient_r 오류 발생처리 (0) | 2015.01.16 |
Warning: main(): URL file-access is disabled in the server (0) | 2015.01.16 |
/usr/lib/libltdl.so: could not read symbols: File in wrong format (0) | 2015.01.16 |