Nmail PHP
제품소개
데모
다운로드
구입안내
FAQ (21)
Q&A (6124)
사용후기 (20)
Home    Contact us    Sitemap
기술지원안내
FAQ
Q&A 게시판
사용자 팁


Home > Support > Q&A > Nmail PHP
Nmail PHP Q&A


제 목 Re: PHP mailparse 모듈 설치 에러
글쓴이 관리자

해당 문제는 컴파일시 필요한 일부 헤더파일이 존재하지 않아 발생한 것입니다.
설치 메뉴얼에 나와 있는 아래 내용을 참고하셔서 헤더파일을 복사후 컴파일하시면 됩니다.

====>

만약 make 시 에러가 발생한다면 아래처럼 유형에 따라 대응하시면 됩니다.



에러1)

ext/mbstring/libmbfl/mbfl/mbfilter.h: No such file or directory

# 다음처럼 소스에 포함된 libmfl 디렉토리를 PHP가 설치된 include 디렉토리를 찾아서

# 복사해넣으신후 재시도하시면 됩니다.

# 아래 경로는 서버에 따라 다를 수 있습니다.



# cp /usr/src/php-5.1.4/ext/mbstring/libmbfl /usr/local/php/include/php/ext/mbstring/




에러2)

mailparse-2.1.1/mailparse.c:34:2: error: #error The mailparse extension requires the mbstring extension!

# PHP mbstring 모듈을 별도로 추가하신 경우에 발생하는 문제입니다.

# 다음처럼 소스에서 문제의 라인들을 삭제 후 재시도하시면 됩니다.



vi mailparse-2.1.1/mailparse.c

33~35 line)

#if !HAVE_MBSTRING

#error The mailparse extension requires the mbstring extension!

#endif








--------------Original Message--------------
※ 필수입력정보 ※

▷ 제품버젼 : Version 2.1.8
▷ 오류발생 메뉴/주소 :
▷ 에러메세지 :

[****@**** mailparse-2.1.1]# make
/bin/sh /usr/src/mailparse-2.1.1/libtool --mode=compile gcc -I. -I/usr/src/mailparse-2.1.1 -DPHP_ATOM_INC -I/usr/src/mailparse-2.1.1/include -I/usr/src/mailparse-2.1.1/main -I/usr/src/mailparse-2.1.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /usr/src/mailparse-2.1.1/mailparse.c -o mailparse.lo
gcc -I. -I/usr/src/mailparse-2.1.1 -DPHP_ATOM_INC -I/usr/src/mailparse-2.1.1/include -I/usr/src/mailparse-2.1.1/main -I/usr/src/mailparse-2.1.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /usr/src/mailparse-2.1.1/mailparse.c -fPIC -DPIC -o .libs/mailparse.o
In file included from /usr/src/mailparse-2.1.1/mailparse.c:27:
/usr/src/mailparse-2.1.1/php_mailparse.h:86:49: error: ext/mbstring/libmbfl/mbfl/mbfilter.h: No such file or directory
In file included from /usr/src/mailparse-2.1.1/php_mailparse.h:95,
from /usr/src/mailparse-2.1.1/mailparse.c:27:
/usr/src/mailparse-2.1.1/php_mailparse_mime.h:68: error: expected specifier-qualifier-list before 'mbfl_convert_filter'
/usr/src/mailparse-2.1.1/mailparse.c: In function 'zif_mailparse_determine_best_xfer_encoding':
/usr/src/mailparse-2.1.1/mailparse.c:881: error: variable 'bestenc' has initializer but incomplete type
/usr/src/mailparse-2.1.1/mailparse.c:881: error: 'mbfl_no_encoding_7bit' undeclared (first use in this function)
/usr/src/mailparse-2.1.1/mailparse.c:881: error: (Each undeclared identifier is reported only once
/usr/src/mailparse-2.1.1/mailparse.c:881: error: for each function it appears in.)
/usr/src/mailparse-2.1.1/mailparse.c:881: error: storage size of 'bestenc' isn't known
/usr/src/mailparse-2.1.1/mailparse.c:897: error: 'mbfl_no_encoding_8bit' undeclared (first use in this function)
/usr/src/mailparse-2.1.1/mailparse.c:899: error: 'mbfl_no_encoding_base64' undeclared (first use in this function)
/usr/src/mailparse-2.1.1/mailparse.c:909: error: 'mbfl_no_encoding_qprint' undeclared (first use in this function)
/usr/src/mailparse-2.1.1/mailparse.c: In function 'zif_mailparse_stream_encode':
/usr/src/mailparse-2.1.1/mailparse.c:947: error: storage size of 'enc' isn't known
/usr/src/mailparse-2.1.1/mailparse.c:948: error: 'mbfl_convert_filter' undeclared (first use in this function)
/usr/src/mailparse-2.1.1/mailparse.c:948: error: 'conv' undeclared (first use in this function)
/usr/src/mailparse-2.1.1/mailparse.c:966: error: 'mbfl_no_encoding_invalid' undeclared (first use in this function)
/usr/src/mailparse-2.1.1/mailparse.c:977: error: 'mbfl_no_encoding_8bit' undeclared (first use in this function)
/usr/src/mailparse-2.1.1/mailparse.c:985: error: 'mbfl_no_encoding_qprint' undeclared (first use in this function)
make: *** [mailparse.lo] 오류 1

▷ 질문내용 :
자동 설치가 안되어 모듈 설치 해보았으나 에러가 납니다.
PHP mailparse 모듈 설치 에러입니다


       
관련 게시물
번호   제목 글쓴이 등록일 조회수
279  
신진훈
07-03-12 6308
   
관리자
07-03-12 5797

리스트
번호   제목 글쓴이 등록일 조회수
284  
활로
07-03-20 6003
   
관리자
07-03-20 7748
   
활로
07-03-20 7729
   
관리자
07-03-20 7937
283  
Nmail PHP 사용자
07-03-16 8542
   
관리자
07-03-16 7505
   
정광진
07-03-16 6340
   
관리자
07-03-16 7479
282  
변창수
07-03-15 6302
   
관리자
07-03-15 5861
281  
이용재
07-03-13 6641
   
관리자
07-03-13 6841
   
이용재
07-03-14 6755
   
관리자
07-03-14 6836
   
이용재
07-03-14 6988
   
관리자
07-03-14 6799
280  
김진형
07-03-13 7092
   
관리자
07-03-13 6828
279  
신진훈
07-03-12 6308
   
관리자
07-03-12 5797
◀◀ 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | ▶▶
패스코리아넷   경남 창원시 마산회원구 내서읍 중리상곡로 129, 한성빌딩 701호
메일 문의 : nmail@passkorea.net   I   전화 : 1544-1608   I   팩스 : 055-231-2069
사업자 등록번호 : 608-25-32288   I   대표자 : 빈경윤