The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

sa-compile & Token exceeds limit

Discussion in 'E-mail Discussions' started by sehh, Feb 28, 2012.

  1. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Europe
    When I run "sa-compile" I get the following error:

    Code:
    re2c: error: line 127, column 2: Token exceeds limit
    
    Apparently this is due to a bug in re2c v0.13.3 and various old posts that I found suggest to upgrade to v0.13.5 in order to fix the bug. Here is the relevant thread:

    Re: sa-compile problem

    Can someone please explain how this is done under cPanel? If I try to "fix" SA by myself, will cPanel override the changes in the next upcp cronjob?

    Any help would be appreciated.

    Thank you.
     
  2. Widmo

    Widmo Member

    Joined:
    Aug 4, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    I have the same problem...

    Its problem with:

    Code:
    re2c -i -b -o scanner4.c scanner4.re
    re2c: error: line 127, column 2: Token exceeds limit
    so i did:

    Code:
    nano +127 scanner4.re 
    and cuted ( ctrl + k ) some +5 lines and -5 lines.

    It helped, command
    Code:
    re2c -i -b -o scanner4.c scanner4.re
    run without warning, but again sa-compile does't working...

    Help?
     
  3. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Europe
    The only solution is to upgrade "re2c" as suggested in my first post, there is no other way to fix the problem.
     
Loading...
Similar Threads - compile Token exceeds
  1. JanKrohn
    Replies:
    1
    Views:
    47

Share This Page