NEW Nmail PHP 3 업그레이드 할인
자세히 보기

mailparse 설치에 대해서

최*우 2010.04.16 16:11 조회 6076

※ 필수입력정보 ※


▷ 제품버젼 : nmail 2.5.1

▷ 오류발생 메뉴/주소 :

▷ 에러메세지 :


▷ 질문내용 : os는 centos 5.4 이고 yum 으로 모두 설치를 마쳤습니다.

     php mailparse 는 설치가 안되길래  다운받아서 설치 할때 임시 디렉토리를 만들어 압축풀고

     cd mailparse-2.1.1 로 변경해서 ./configure make 를 해도 상관 없나요??

    make 할때 에러가 생기는데..   

[****@**** mailparse-2.1.5]# make
/bin/sh /home/tmp/mailparse-2.1.5/libtool --mode=compile gcc  -I. -I/home/tmp/mailparse-2.1.5 -DPHP_ATOM_INC -I/home/tmp/mailparse-2.1.5/include -I/home/tmp/mailparse-2.1.5/main -I/home/tmp/mailparse-2.1.5 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext  -DHAVE_CONFIG_H  -g -O2   -c /home/tmp/mailparse-2.1.5/mailparse.c -o mailparse.lo
mkdir .libs
 gcc -I. -I/home/tmp/mailparse-2.1.5 -DPHP_ATOM_INC -I/home/tmp/mailparse-2.1.5/include -I/home/tmp/mailparse-2.1.5/main -I/home/tmp/mailparse-2.1.5 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /home/tmp/mailparse-2.1.5/mailparse.c  -fPIC -DPIC -o .libs/mailparse.o
In file included from /home/tmp/mailparse-2.1.5/mailparse.c:27:
/home/tmp/mailparse-2.1.5/php_mailparse.h:100:49: error: ext/mbstring/libmbfl/mbfl/mbfilter.h: No such file or directory
In file included from /home/tmp/mailparse-2.1.5/php_mailparse.h:109,
                 from /home/tmp/mailparse-2.1.5/mailparse.c:27:
/home/tmp/mailparse-2.1.5/php_mailparse_mime.h:68: error: expected specifier-qualifier-list before 'mbfl_convert_filter'
/home/tmp/mailparse-2.1.5/mailparse.c: In function 'zif_mailparse_determine_best_xfer_encoding':
/home/tmp/mailparse-2.1.5/mailparse.c:887: error: variable 'bestenc' has initializer but incomplete type
/home/tmp/mailparse-2.1.5/mailparse.c:887: error: 'mbfl_no_encoding_7bit' undeclared (first use in this function)
/home/tmp/mailparse-2.1.5/mailparse.c:887: error: (Each undeclared identifier is reported only once
/home/tmp/mailparse-2.1.5/mailparse.c:887: error: for each function it appears in.)
/home/tmp/mailparse-2.1.5/mailparse.c:887: error: storage size of 'bestenc' isn't known
/home/tmp/mailparse-2.1.5/mailparse.c:903: error: 'mbfl_no_encoding_8bit' undeclared (first use in this function)
/home/tmp/mailparse-2.1.5/mailparse.c:905: error: 'mbfl_no_encoding_base64' undeclared (first use in this function)
/home/tmp/mailparse-2.1.5/mailparse.c:915: error: 'mbfl_no_encoding_qprint' undeclared (first use in this function)
/home/tmp/mailparse-2.1.5/mailparse.c: In function 'zif_mailparse_stream_encode':
/home/tmp/mailparse-2.1.5/mailparse.c:953: error: storage size of 'enc' isn't known
/home/tmp/mailparse-2.1.5/mailparse.c:954: error: 'mbfl_convert_filter' undeclared (first use in this function)
/home/tmp/mailparse-2.1.5/mailparse.c:954: error: 'conv' undeclared (first use in this function)
/home/tmp/mailparse-2.1.5/mailparse.c:972: error: 'mbfl_no_encoding_invalid' undeclared (first use in this function)
/home/tmp/mailparse-2.1.5/mailparse.c:983: error: 'mbfl_no_encoding_8bit' undeclared (first use in this function)
/home/tmp/mailparse-2.1.5/mailparse.c:991: error: 'mbfl_no_encoding_qprint' undeclared (first use in this function)
make: *** [mailparse.lo] 오류 1

메뉴얼에 에러 발생할때 처리 법이 나오는데 디렉토리 구조가 다르게 되어있어서 혹시 다른 방법이 있는지 궁금해서 물어 봅니다.  리눅스가 초자인지라 많이 헤메네요..

댓글 2
이전 글 특정회사로부터 발송된 메일이 수신이 안됩니다. 1 메*****러 2010.04.19
다음 글 메일 첨부시 에러 1 하*우 2010.04.14