From: George Dunlap <dunlapg@umich.edu>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: zhihao wang <accept.acm@gmail.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: fatal error if Flex and Bison is not configured
Date: Thu, 12 Apr 2012 14:28:18 +0100 [thread overview]
Message-ID: <CAFLBxZYFPuFGAVOXJRgHvu2rqq8hL7PQFPoj_Bi26WfM_fYYRQ@mail.gmail.com> (raw)
In-Reply-To: <1334229871.16387.81.camel@zakaz.uk.xensource.com>
On Thu, Apr 12, 2012 at 12:24 PM, Ian Campbell <Ian.Campbell@citrix.com> wrote:
> On Thu, 2012-04-12 at 12:12 +0100, zhihao wang wrote:
>> Hi all,
>>
>> I try to build xen 4.2( revision number: 25161) on Ubuntu 11.10_amd64,
>> Mac pro. After running ./configure and make. I got the following fatal
>> error:
>>
>> libxlu_cfg_y.y:22:26: fatal error: libxlu_cfg_l.h: No such file or
>> directory compilation terminated.
>>
>>
>> So the original libxlu_cfg_l.h is deleted when making, and should be
>> regenerated but it is not.
>
> Actually it should never have been deleted in the first place, unless
> you have been modifying the flex source.
>
> Please can you enumerate the exact steps you took, starting from the
> initial clone of the repo, which caused the file to be deleted?
>
>> I find the path of flex and bison is not set. When I add the correct
>> path of flex and bison in tools.mk manually, This error is fixed.
>
> Those tools should be optional since the generated files are checked in.
> However perhaps configure should detect and provide the paths but behave
> in a non-fatal manner if they aren't available? Roger, what do you
> think?
FWIW, I managed to get into a state where I ran into this error too;
after a sequence of fairly random steps, it went away, and I wasn't
able to reproduce it again. I have no idea what I did to get there in
the first place, nor what I did to fix it.
Zhihao: I think if you make a clean copy of the repo and run
./configure again, the problem will probably go away.
-George
next prev parent reply other threads:[~2012-04-12 13:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-12 11:12 fatal error if Flex and Bison is not configured zhihao wang
2012-04-12 11:24 ` Ian Campbell
2012-04-12 13:28 ` George Dunlap [this message]
2012-04-12 14:05 ` Ian Campbell
2012-04-12 14:10 ` Ian Jackson
2012-04-12 14:15 ` Dario Faggioli
2012-04-13 10:04 ` Roger Pau Monne
2012-04-12 11:29 ` Re : " David TECHER
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFLBxZYFPuFGAVOXJRgHvu2rqq8hL7PQFPoj_Bi26WfM_fYYRQ@mail.gmail.com \
--to=dunlapg@umich.edu \
--cc=Ian.Campbell@citrix.com \
--cc=accept.acm@gmail.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).