help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AIX Compile problem


From: Christopher Browne
Subject: Re: AIX Compile problem
Date: Thu, 14 Apr 2005 02:48:47 GMT

The world rejoiced as "Brian E. Seppanen" <seppy@chartermi.net> wrote:
> On Wed, 13 Apr 2005, Gehring, Andrew     x66132 wrote:
>
>> I'm trying to compile CF Engine 2.1.14 on AIX (5.3).
>> 
>> I'm using Visual Age C 7.0 (IBM)
>> 
>> the error:
>> /bin/sh ../ylwrap cflex.l lex.yy.c cflex.c -- lex
>> got /export/source/SRC/cfengine-2\.1\.14/src/
>> Error: 1285-311 There are too many transitions.
>> 636/2000 nodes(%e); 10327/12000 positions(%p); 921/2000 (%n); 2427723
>> transitions
>> 227/1000 packed char classes(%k)
>> 16001/16000 packed transitions(%a)
>> 0/34096 output slots(%o)
>> 
>> make[2]: *** [cflex.c] Error 1
>> make[2]: Leaving directory `/export/source/SRC/cfengine-2.1.14/src'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory `/export/source/SRC/cfengine-2.1.14/src'
>> make: *** [all-recursive] Error 1
>> 
>> I saw a message in the archives about needing bison, but I do have it
>> 
>> # bison -V
>> bison (GNU Bison) 1.875
>> Written by Robert Corbett and Richard Stallman.
>> 
>
> I'm not sure if this will help.  I've had a problem similar to what you
> mention on solaris 9 (sparc)  with cfengine-2.1.13.  If I remember
> correctly I had to move /usr/local/bin/yacc which I believe is part of the
> bison package out of my path, and use /usr/ccs/bin/yacc.  I had to
> specifically configure with /usr/ccs/bin/yacc in my path.  Once that was
> done it compiled cleanly.   I too had a package using bison 1.875.   
> Perhaps it's a bison bug...
>
> I'm sure I'm going to encounter the issue again, because I obviously 
> wasn't keeping notes as carefully as I should have been.

It seems to me that the issue is actually backwards from that.

It is more than likely that some configuration need be done in order
to get the build process to prefer bison to yacc.

It is _vastly_ more likely that a perhaps-ancient in-the-AIX-build
version of yacc would be underconfigured than the more-or-less-latest
version of Bison that gets used to compile all sorts of pretty
pathological pieces of software.
-- 
"cbbrowne","@","ntlug.org"
http://linuxfinances.info/info/rdbms.html
"... the open research model is justified. There is a passage in the
Bible (John 8:32, and on a plaque in CIA HQ), "And ye shall know the
truth, and the truth shall set ye free." -- Dave Dittrich 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]