首页 新闻 会员 周边

安装wine的时候输入make总是提示“make: *** 没有指明目标并且找不到 makefile。 停止“

0
悬赏园豆:100 [已解决问题] 解决于 2013-06-26 13:12

按照步骤,解压,进入目录, ./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 但是没反应

难以忘却的云烟的主页 难以忘却的云烟 | 初学一级 | 园豆:16
提问于:2013-02-05 10:45
< >
分享
最佳答案
0

安装完bison后,重新./configure 

如果还是找不到bison,看看bison的库在不在PATH中。

 

./configure没有通过是不能make的,因为./configure之后才能生成合适的makefile

收获园豆:100
wang_yb | 老鸟四级 |园豆:4891 | 2013-02-05 14:57
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册