按照步骤,解压,进入目录, ./configure (在这一步的时候提示了configure: error: no suitable bison found. Please install the 'bison' package.) 再输入make回车的时候就提示:make: *** 没有指明目标并且找不到 makefile。 停止。
请问该肿么解决?
[root@localhost wine-1.5.3]# ./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++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for cpp... cpp
checking for the directory containing the Wine tools... $(top_builddir)
checking for flex... flex
checking whether flex is recent enough... yes
checking for bison... no
configure: error: no suitable bison found. Please install the 'bison' package.
它这里好像是提示没有bison吧 我就装了个bison-2.5 但是没反应
安装完bison后,重新./configure
如果还是找不到bison,看看bison的库在不在PATH中。
./configure没有通过是不能make的,因为./configure之后才能生成合适的makefile