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: Ray . li
Subject: Re: FW: bison-2.3 build error: src/bison not found
Date: Tue, 12 Apr 2011 16:01:10 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Sieburgh,Wouter wrote:
 Hi

 I remember an issue like this I had some time ago, it appeared that
the timestamps of some files were not correct, this triggered the problem.

 I solved this by a silly touching of all files (before calling configure).

 This would do:

 find . -type f | xargs touch -t `date +%Y%m%d%H%M`

Wouter Sieburgh


 -----Original Message-----
 From: help-bison-bounces+wouter.sieburgh=oclc.org <at> gnu.org
 [mailto:help-bison-bounces+wouter.sieburgh=oclc.org <at> gnu.org] On Behalf
 Of Timothy Madden
 Sent: Wednesday, October 13, 2010 2:34 PM
 To: help-bison <at> gnu.org
 Subject: bison-2.3 build error: src/bison not found

 Hello

 I am trying to build bison-2.3 on a CentOS 5.5 machine, and in some 
 cases (not always and not on all branches of my project, which uses 
 bison) I get this error from the make step:

 ...
 Making all in src
 make[2]: Entering directory 

`/home/adrian/ci/home/jobs/RB-8.3.1_bds-64bit/workspace/RB-8.3.1_bds-64b
 it/release_64/external/bison-2.3/src'
 /bin/sh ../../../../external/bison-2.3/build-aux/ylwrap 
 ../../../../external/bison-2.3/src/scan-gram.l lex.yy.c scan-gram.c --
 flex
 ../tests/bison -y  "-dv"
../../../../external/bison-2.3/src/parse-gram.y
 ../tests/bison: line 8: 

/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: 
 No such file or directory
 ../tests/bison: line 8: exec: 

/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
 make[2]: *** [parse-gram.c] Error 126
 make[2]: Leaving directory 

`/home/adrian/ci/home/jobs/RB-8.3.1_bds-64bit/workspace/RB-8.3.1_bds-64b
 it/release_64/external/bison-2.3/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory 

`/home/adrian/ci/home/jobs/RB-8.3.1_bds-64bit/workspace/RB-8.3.1_bds-64b
 it/release_64/external/bison-2.3'
 make: *** [all] Error 2


 It appears that building bison requires bison already build, which
would

 be very strange to me if so. I do not really understand the automake 
 rules in the .am files in bison-2.3 distribution.

 Can anyone please help ? What am I doing wrong ?
   

Indeed, it worked ! Thank you very, very much !

Timothy Madden
----------------------------------------------------------------------------

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 ?






reply via email to

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