Package: flex
Version: 2.5.35-10
Severity: normal

I'm trying to compile libsbook from here:

 http://simson.net/ref/sbook5/

During compilation, i get:

flex -tL8B  -i parse_address.flex  | sed s/yy/yyaddress/g | grep -v unistd.h > 
parse_address.cpp
flex: input rules are too complicated (>= 32000 NFA states)


A web search points me to this FAQ:

 
http://flex.sourceforge.net/manual/unnamed_002dfaq_002d88.html#unnamed_002dfaq_002d88

which contains this suggestion from Vern Paxson:

> Increase the definitions in flexdef.h for:
> 
> #define JAMSTATE -32766 /* marks a reference to the state that always jams */
> #define MAXIMUM_MNS 31999
> #define BAD_SUBSCRIPT -32767
> 
> recompile everything, and it should all work.

Is there a reason to avoid making these changes in debian's package of
flex?  Or can this be chosen as a run-time option?

It'd be nice to be able to build this library with debian tools.

    --dkg


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages flex depends on:
ii  debconf [debconf-2.0]  1.5.40        
ii  dpkg                   1.16.0.3      
ii  install-info           4.13a.dfsg.1-8
ii  libc6                  2.13-18       
ii  m4                     1.4.16-2      

Versions of packages flex recommends:
ii  gcc [c-compiler]      4:4.6.1-2
ii  gcc-4.5 [c-compiler]  4.5.3-5  
ii  gcc-4.6 [c-compiler]  4.6.1-4  

Versions of packages flex suggests:
ii  bison            1:2.4.1.dfsg-3
ii  build-essential  11.5          

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to