[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: bison-2.3 build error: src/bison not found
From: |
Sieburgh,Wouter |
Subject: |
FW: bison-2.3 build error: src/bison not found |
Date: |
Thu, 14 Oct 2010 03:31:25 -0400 |
-----Original Message-----
From: Timothy Madden [mailto:address@hidden
Sent: Wednesday, October 13, 2010 5:48 PM
To: Sieburgh,Wouter
Subject: Re: bison-2.3 build error: src/bison not found
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: address@hidden
> [mailto:address@hidden On Behalf
> Of Timothy Madden
> Sent: Wednesday, October 13, 2010 2:34 PM
> To: address@hidden
> 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