LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 935|回复: 4

请高人救命啊!一执行./configure命令不管什么程序都会出错阿

[复制链接]
发表于 2005-10-8 05:27:26 | 显示全部楼层 |阅读模式
每个需要编译的程序都无法安装阿,好象是我装的Mandrake 不完整么?
下面是我装wine-20050930遇到的问题,请大侠们帮我看看好么


[boby@localhost wine-20050930]$ ./tools/wineinstall
WINE Installer v0.75

Running configure...

configure: creating cache config.cache
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 for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... 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... 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... $(TOPOBJDIR)
checking how to run the C preprocessor... gcc -E
checking for X... no
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking for :... no
checking for flex... no
checking for lex... no
configure: error: no suitable lex found. Please install the 'flex' package.

Configure failed, aborting install.
发表于 2005-10-8 05:57:22 | 显示全部楼层
configure: error: no suitable lex found. Please install the 'flex' package.
不是说得很明白了吗?'flex'的包未装!

另问一句,虽然wine是用C写的,不安装g++也不影响编译,但兄台既然喜欢编译西何解不装g++?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-8 20:26:47 | 显示全部楼层
谢谢doom3d兄!我在安装Mandrake的时候没有安装任何的开发工具,现在后悔啊!安装盘已经不在我这里了,是否能够从网上下载flex包或者g++包啊?我怎么在google中总是搜索不到哪里能够下载呢?在Mandrake系统更新中,我也没有找到类似于g++或者flex包的字样阿,好郁闷的。请帮帮我吧~
回复 支持 反对

使用道具 举报

发表于 2005-10-8 21:28:51 | 显示全部楼层
MDK安裝盤應該有那些包的!

Sorry,自用過MDK6.x以後己對MDK不感興趣,N年沒接觸過MDK,何處download只能讓現在用兄弟告訴你了。
checking for X... no
BTW,X的開發包好像也未裝啊?
回复 支持 反对

使用道具 举报

发表于 2005-10-8 22:07:49 | 显示全部楼层
从网上下MDK的ISO。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表