Configure error: flex too old, install 2.5.33 or higher

Questions about Wine on Linux
Locked
Landias
Newbie
Newbie
Posts: 3
Joined: Fri Jan 11, 2013 8:09 am

Configure error: flex too old, install 2.5.33 or higher

Post by Landias »

I've managed to work out all of the sets to Wine's installation up until this 1 flex problem. Whenever I try to install Wine, or ./configure Wine, it throws an exception

checking whether flex is recent enough... no
configure: error: Your flex version is too old. Please install flex version
2.5.33 or newer.

I've downloaded 2 flex versions higher than 2.5.33

2.5.35 and 2.5.37,

but they're an rpm and a tar.bz2 file, respectively, and I'm sure what to do with ether of them. I've also tried to update flex from my root terminal, but it just sends me a message that flex 2.4 is already installed, and takes no action.

Anyone dealt with this problem before?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Configure error: flex too old, install 2.5.33 or higher

Post by dimesio »

The rpm is a binary package that would be installed via your package manager if you are on an rpm-based distro. The tar.bz2 file is source, and you would use that to build flex yourself.

Normally people just install flex via their distro's package manager. You may need to add a repository to get a newer version; ask your distro where to find a newer package.
Locked