zvv

centos 安装 wine时候 flex版本报错

[root@localhost wine-1.3.11]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for cpp... cpp
checking for the directory containing the Wine tools... $(top_builddir)
checking for flex... flex
checking whether flex is recent enough... no
configure: error: Your flex version is too old. Please install flex version 2.5.33 or newer.

已经用yum 安装了flex 但是还是说版本旧

[root@localhost wine-1.3.11]# yum install *flex*
Setting up Install Process
Parsing package install arguments
Package flex - 2.5.4a-41.fc6.i386 is already installed.
Nothing to do

https://bugzilla.redhat.com/show_bug.cgi?id=554210

后来把2.5.4版本卸载 安装2.5.33版本就可以了

wget ftp://210.45.78.55/pub/yum/flex-2.5.33-9.fc7.i386.rpm
rpm -ivh flex-2.5.33-9.fc7.i386.rpm

via.http://xinnian.iteye.com/blog/871192

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »

因本文不是用Markdown格式的编辑器书写的,转换的页面可能不符合AMP标准。