help-bison
[Top][All Lists]
Advanced

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

Re: FW: bison-2.3 build error: src/bison not found


From: lilei
Subject: Re: FW: bison-2.3 build error: src/bison not found
Date: Sat, 16 Apr 2011 15:12:34 +0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 ThunderBrowse/3.3.5

Yes, it works!  Just only need touch src/parse-gram.[ch], thanks a lot !

于 2011-4-15 20:11, Joel E. Denny 写道:
> On Tue, 12 Apr 2011, Ray.li wrote:
> 
>> /home/adrian/ci/home/jobs/RB-8.3.1_bds-64bit/workspace/RB-8.3.1_bds-64bi
>>  t/release_64/external/bison-2.3/tests/.././src/bison: 
>>  cannot execute: No such file or directory
> 
>>  It appears that building bison requires bison already build, which
>> would
>>
>>  be very strange to me if so.
> 
> Yes, bison's internal parser source is generated using bison.  However, 
> the bison source tarballs include copies of the generated parser source.  
> That is, we run bison for you, so you shouldn't have to.
> 
> If you've modified the grammar file or somehow set its time stamp later 
> than the generated source files, that would trigger bison to run.  In the 
> latter case, the easy solution is to touch ONLY the generated source 
> files:
> 
>   touch src/parse-gram.[ch]
> 
>> I have the same problem as Timothy Madden, but i build bison on AIX 5.3, and 
>> already touch all files in bison directory, and then ./configure, make.
>>
>> The problem not disappear. Can anyone give me some help ?
> 
> You're probably touching src/parse-gram.y after src/parse-gram.[ch].  You 
> should touch only src/parse-gram.[ch].
> 



reply via email to

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