spamassassin /320.pre -> Rule2XSBBody 체크시 에러 해결법

by 햇빛소년 posted Apr 13, 2011 Views 48101 Likes 0 Replies 0
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

국산 통나무 수공예 남원제기, 남원목기

자료가 도움이 되셨다면
혼수용품제수용품 필요시
남원제기 공식 홈페이지 http://남원제기.kr
남원목기 공식 홈페이지 http://otchil.kr
에서 구매 해 주세요
정성껏 모시겠습니다.
 

아래와 같은 오류가 나오길래 한참을 봐도 이유를 모르다가 삽질 끝에 해결함.

 

Wed Apr 13 11:43:32 2011 [9302] error: Can't locate Mail/SpamAssassin/CompiledRegexps/body_0.pm in @INC (@INC contains: /var/lib/spamassassin/compiled/5.008/3.003001 /var/lib/spamassassin/compiled/5.008/3.003001/auto /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8) at (eval 833) line 1.

loadplugin     Mail::SpamAssassin::Plugin::Rule2XSBody

This plugin will use native-code object files representing the ruleset, in order to provide significant speedups in rule evaluation.

Note that sa-compile must be run in advance, in order to compile the ruleset using re2c and the C compiler. See the sa-compile documentation for more details.

re2c 컴파일러가 설치 되지 않아  sa-compile가 컴파일을 설치하지 못하였기 때문이다.

Download [ 0.13.5 ] : http://downloads.sourceforge.net/re2c/re2c-0.13.5.tar.gz

이곳에서 다운 받는다. 

설치는 압축을 풀면  README에 나온데로 하면 된다.

The above version will be based on the pregenerated scanner.cc file.
If you want to build that file yourself (recommended when installing
re2c) you need the following steps:
    ./configure
    make
    rm -f scanner.cc
    make install
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=

설치 후     sa-compile   을 실행하면 컴파일하여 설치를 시작한다.

/var/lib/spamassassin/ 받아온 파일을 토대로 컴파일 설치를 스스로 한다.

위의 파일 생성은   다음의 명령으로 하면 이곳으로 생성된다.

sa-update   실행 한다음

sa- update import XXX.gpg 실행하면 /var/lib/spamassassin/으로 생성된다.

   

Articles

1 2 3 4 5 6 7 8 9 10