
July 15th, 2008, 09:30 PM
|
|
Registered User
|
|
Join Date: Jul 2008
Posts: 1
Time spent in forums: 6 m 5 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by wererabit hi guys,
I am a newbie, and learning flex. I am setup cygwin on my pc, but when I run
$ flex test.l
I got an error
flex: fatal internal error, exec failed
anyone know what could be wrong? |
I had the same problem and decided to run flex on an Ubuntu box and simply copy the .c file to my cygwin directory. However I noticed as flex was being installed the installer asked if it was OK to install m4. I checked my cygwin install and m4 was absent.
Seems (cygwin) flex has a dependency on m4 which seems to be ignored by the cygwin installer. So I installed m4 and flex now works.
HTH
|