You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by diptanjan <di...@yahoo.com> on 2007/06/08 13:22:04 UTC

sa-compile error

Hi Friends,

I am getting an error when ever I am usinf sa-compile. can you please
checkout and tell me the reason behind it?

# sa-compile
[4846] info: generic: base extraction starting. this can take a while...
[4846] info: generic: extracting from rules of type body_0
100% [===================================================]  39.01 rules/sec
00m11s DONE
100% [===================================================] 100.14 bases/sec
00m10s DONE
[4846] info: body_0: 683 base strings extracted in 23 seconds
[4846] info: rules: meta test HS_PHARMA_1 has dependency
'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score
cd /tmp/.spamassassin4846ilcSlDtmp
cd Mail-SpamAssassin-CompiledRegexps-body_0
re2c -i -b -o scanner1.c scanner1.re
Can't exec "re2c": No such file or directory at /usr/bin/sa-compile line
274, <$fh> line 985.
command failed! at /usr/bin/sa-compile line 275, <$fh> line 985.

-- 
View this message in context: http://www.nabble.com/sa-compile-error-tf3889183.html#a11024668
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: sa-compile error

Posted by diptanjan <di...@yahoo.com>.
Hi Guys..

Solved the problem..

After rpm installation failed, I tried installing it from 
re2c-0.12.1.tar.gz and it worked.

Thank you Steve for suggesting

Diptanjan



diptanjan wrote:
> 
> diptanjan wrote:
>> Hi Friends,
>> 
>> I am getting an error when ever I am usinf sa-compile. can you please
>> checkout and tell me the reason behind it?
>> 
>> # sa-compile
>> [4846] info: generic: base extraction starting. this can take a while...
>> [4846] info: generic: extracting from rules of type body_0
>> 100% [===================================================]  39.01
>> rules/sec
>> 00m11s DONE
>> 100% [===================================================] 100.14
>> bases/sec
>> 00m10s DONE
>> [4846] info: body_0: 683 base strings extracted in 23 seconds
>> [4846] info: rules: meta test HS_PHARMA_1 has dependency
>> 'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score
>> cd /tmp/.spamassassin4846ilcSlDtmp
>> cd Mail-SpamAssassin-CompiledRegexps-body_0
>> re2c -i -b -o scanner1.c scanner1.re
>> Can't exec "re2c": No such file or directory at /usr/bin/sa-compile line
>> 274, <$fh> line 985.
>> command failed! at /usr/bin/sa-compile line 275, <$fh> line 985.
>> 
> 
> You need to install re2c
> 
> http://re2c.org/
> 
>  Steve
> 
> - --
> 
> I have already downloaded the rpm 
> 
> re2c-0.12.1-1.src.rpm from the site and tried.. but it didnt work...
> 
> while installing from rpm its also giving error 
> 
> warning : user marcos does not exist. using root..
> 
> Diptanjan
> 
>  
> 

-- 
View this message in context: http://www.nabble.com/sa-compile-error-tf3889183.html#a11059578
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: sa-compile error

Posted by diptanjan <di...@yahoo.com>.
diptanjan wrote:
> Hi Friends,
> 
> I am getting an error when ever I am usinf sa-compile. can you please
> checkout and tell me the reason behind it?
> 
> # sa-compile
> [4846] info: generic: base extraction starting. this can take a while...
> [4846] info: generic: extracting from rules of type body_0
> 100% [===================================================]  39.01
> rules/sec
> 00m11s DONE
> 100% [===================================================] 100.14
> bases/sec
> 00m10s DONE
> [4846] info: body_0: 683 base strings extracted in 23 seconds
> [4846] info: rules: meta test HS_PHARMA_1 has dependency
> 'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score
> cd /tmp/.spamassassin4846ilcSlDtmp
> cd Mail-SpamAssassin-CompiledRegexps-body_0
> re2c -i -b -o scanner1.c scanner1.re
> Can't exec "re2c": No such file or directory at /usr/bin/sa-compile line
> 274, <$fh> line 985.
> command failed! at /usr/bin/sa-compile line 275, <$fh> line 985.
> 

You need to install re2c

http://re2c.org/

 Steve

- --

I have already downloaded the rpm 

re2c-0.12.1-1.src.rpm from the site and tried.. but it didnt work...

while installing from rpm its also giving error 

warning : user marcos does not exist. using root..

Diptanjan

 
-- 
View this message in context: http://www.nabble.com/sa-compile-error-tf3889183.html#a11024925
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: sa-compile error

Posted by Steven Stern <su...@sterndata.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

diptanjan wrote:
> Hi Friends,
> 
> I am getting an error when ever I am usinf sa-compile. can you please
> checkout and tell me the reason behind it?
> 
> # sa-compile
> [4846] info: generic: base extraction starting. this can take a while...
> [4846] info: generic: extracting from rules of type body_0
> 100% [===================================================]  39.01 rules/sec
> 00m11s DONE
> 100% [===================================================] 100.14 bases/sec
> 00m10s DONE
> [4846] info: body_0: 683 base strings extracted in 23 seconds
> [4846] info: rules: meta test HS_PHARMA_1 has dependency
> 'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score
> cd /tmp/.spamassassin4846ilcSlDtmp
> cd Mail-SpamAssassin-CompiledRegexps-body_0
> re2c -i -b -o scanner1.c scanner1.re
> Can't exec "re2c": No such file or directory at /usr/bin/sa-compile line
> 274, <$fh> line 985.
> command failed! at /usr/bin/sa-compile line 275, <$fh> line 985.
> 

You need to install re2c

http://re2c.org/

- --

  Steve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGaT0DeERILVgMyvARAhlyAJ98qUtbGMDlTT1Jn9SZIECfsJdz7wCfSUkR
8gzVwOYOytU4pzXakEZyfqI=
=RLw/
-----END PGP SIGNATURE-----