[mira_talk] Re: Problem when compile mira 3.2.1

  • From: Xiaoli Zhang <xiaoliz@xxxxxxxxxx>
  • To: mira_talk@xxxxxxxxxxxxx
  • Date: Fri, 14 Jan 2011 15:48:10 +0100

Dear Robert,

Thanks for your patient.

Do you mean after I make the flex and flex++ match with each other and then do 
the ./configure again and after these then run the rm as a single command on 
top of mira directory?

Xiaoli

Robert Bruccoleri <bruc@xxxxxxxxxxxxxxxxxxxxx> wrote:

>
>Dear Xiaoli,
>
>    The Flex mismatch is the problem. 2.5.33 and 2.5.4 generate
>different lexers, and they are not compatible.
>
>    On my system, they are the same program, which flex++ being a
>symbolic link to flex.
>
>
>
>    You will need to modify your shell's path to ensure that flex and
>flex++ point to the same executable for Flex 2.5.33. In addition, you
>will have to delete the flex output within the mira distribution so it
>will remake the lexers from the lex source code. That's why you need to
>execute the 'rm' command below.
>
>
>
>    With regard to your question below, execute the 'rm' command first
>before you configure mira for compilation. You do not have to modify
>the configure script.
>
>
>
>    Regards,
>
>    Bob
>
>
>
>
>
>Xiaoli Zhang wrote:
>
>  
>Robert Bruccoleri <bruc@xxxxxxxxxxxxxxxxxxxxx>
>(mailto:bruc@xxxxxxxxxxxxxxxxxxxxx) wrote:
>
>  
>  
>    Dear Xiaoli,
>
>   This could be due to a mismatch between Flex and Flex++ versions.
>Try the following:
>
>flex -V
>
>flex++ -V
>
>    
>  
>  
>Yes, my flex 2.5.33 and flex++ version 2.5.4
>
>Is that a must these two versions should be match each other?
>
>  
>  
>    Also, prior to the configure, try the following:
>rm `find . -iname '*flexer.cc'`
>
>    
>  
>  
>I am not very understand this. Is that meaning open the configure file and
>remove all the *flexer.cc ?
>
>Thanks.
>
>Xiaoli


-- 
You have received this mail because you are subscribed to the mira_talk mailing 
list. For information on how to subscribe or unsubscribe, please visit 
http://www.chevreux.org/mira_mailinglists.html

Other related posts: