bug-gnu-music
[Top][All Lists]
Advanced

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

Re: [Bug-gnu-music] problem compiling with mandrake


From: Mats Bengtsson
Subject: Re: [Bug-gnu-music] problem compiling with mandrake
Date: Fri, 15 Sep 2000 10:45:24 +0200

>               Hello,
>       A new (scool) year, a new distrbution of linux, .... some new problems.
>       So I chage my distrib for the Mandrake 7.1. And I can't compile 
> lilypond.  When I try ";/configure" there's a
> problem withe the Flex Header (that's what I can see on the screen, I don't 
> know anything about programation !!).
>       If anybody else use the Mandrake 7.1 and find the solution, Please help 
> me I realy nead to write scores.

I don't run Mandrake, but from their WWW page, it seems that
your version should include a sufficiently recent version of
Flex (2.5.4). However, the problem might be that you have
have some older version of the file FlexLexer.h which is
found instead of the correct version. 

You can check which file is used by gcc, for example by creating
the file flextest.c with the single line
---------------
#include <FlexLexer.h>
---------------
and then run 
>> gcc -E a.c | grep FlexLexer.h

Compare that file path to the location where the 
Flex RPM file has put the include file, listed with:
>> rpm -q -l flex

If this is the problem, the easiest fix is just to remove
the old file.

Of course, I'm only guessing about the cause of your problem, 
several others (including myself) have experienced similar
problems because of some old left-over FlexLexer.h file.

Regards

     /Mats




reply via email to

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