You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by tkalfaoglu <tu...@kalfaoglu.com> on 2008/03/26 10:10:36 UTC
re2c error..
When compiling the rules, I get:
sa-compile
[10524] info: generic: base extraction starting. this can take a while...
[10524] info: generic: extracting from rules of type body_0
100%
[=======================================================================================]
5725.66 rules/sec 00m00s DONE
100%
[=======================================================================================]
353.12 bases/sec 00m04s DONE
[10524] info: body_0: 1310 base strings extracted in 5 seconds
cd /tmp/.spamassassin10524Z7fohltmp
cd Mail-SpamAssassin-CompiledRegexps-body_0
re2c -i -b -o scanner1.c scanner1.re
re2c -i -b -o scanner2.c scanner2.re
re2c -i -b -o scanner3.c scanner3.re
re2c -i -b -o scanner4.c scanner4.re
re2c -i -b -o scanner5.c scanner5.re
re2c -i -b -o scanner6.c scanner6.re
re2c: error: line 151, column 2: Token exceeds limit
command failed! at /usr/bin/sa-compile line 288, <$fh> line 1753.
# spamassassin --version
SpamAssassin version 3.2.4
running on Perl version 5.8.8
Any ideas what to do?
Thanks!
-t
--
View this message in context: http://www.nabble.com/re2c-error..-tp16297914p16297914.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
Re: re2c error..
Posted by David Filion <df...@auto123.com>.
tkalfaoglu wrote:
> Hi. I'm using
>
> [root@panel spamassassin]# re2c -v
> re2c 0.13.3
>
> To see what would happen, I changed the
> fatal("Token limit exceed")
> with
> puts("Token limit exceeded")
>
> and it put out two of these warnings and proceeded to compile them fine.
> Then I did a lint, and that worked, so I just have it running now..
> Not very safe, but it works :)
> -t
>
Slightly OT. I've only ever received this error when I've used the
SoughtRules. Standard and SARE rules have never generated this error for me.
Re: re2c error..
Posted by tkalfaoglu <tu...@kalfaoglu.com>.
Hi. I'm using
[root@panel spamassassin]# re2c -v
re2c 0.13.3
To see what would happen, I changed the
fatal("Token limit exceed")
with
puts("Token limit exceeded")
and it put out two of these warnings and proceeded to compile them fine.
Then I did a lint, and that worked, so I just have it running now..
Not very safe, but it works :)
-t
--
View this message in context: http://www.nabble.com/re2c-error..-tp16297914p16298038.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
Re: re2c error..
Posted by Jared Hall <jh...@tbi.net>.
sought or no sought, I had the same problem and had
to back down to: re2c 0.12.3
Guess that's why re2c is at 0 Major Release number.
tkalfaoglu wrote:
> When compiling the rules, I get:
> sa-compile
> [10524] info: generic: base extraction starting. this can take a while...
> [10524] info: generic: extracting from rules of type body_0
> 100%
> [=======================================================================================]
> 5725.66 rules/sec 00m00s DONE
> 100%
> [=======================================================================================]
> 353.12 bases/sec 00m04s DONE
> [10524] info: body_0: 1310 base strings extracted in 5 seconds
> cd /tmp/.spamassassin10524Z7fohltmp
> cd Mail-SpamAssassin-CompiledRegexps-body_0
> re2c -i -b -o scanner1.c scanner1.re
> re2c -i -b -o scanner2.c scanner2.re
> re2c -i -b -o scanner3.c scanner3.re
> re2c -i -b -o scanner4.c scanner4.re
> re2c -i -b -o scanner5.c scanner5.re
> re2c -i -b -o scanner6.c scanner6.re
> re2c: error: line 151, column 2: Token exceeds limit
> command failed! at /usr/bin/sa-compile line 288, <$fh> line 1753.
>
> # spamassassin --version
> SpamAssassin version 3.2.4
> running on Perl version 5.8.8
>
> Any ideas what to do?
> Thanks!
> -t
>
>