我在ubuntu上安装GCC3.4.0的时候 make时出错

dora@JYL-PC:~/gcc-build$makeConfiguringinintlloadingcache./config.cachecheckingfornon... dora@JYL-PC:~/gcc-build$ make
Configuring in intl
loading cache ./config.cache
checking for non-GNU ld... (cached) ld
checking if the linker (ld) is GNU ld... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unsigned long long... (cached) yes
checking for shared library run path origin... (cached) done
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether NLS is requested... yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking host system type... Invalid configuration `i386-redhat-linux--with-system-zlib': machine `i386-redhat-linux--with-system' not recognized

checking for ranlib... (cached) ranlib
checking for strerror in -lcposix... (cached) no

checking whether the inttypes.h PRIxNN macros are broken... (cached) no
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... (cached) /usr/bin/msgmerge
checking for iconv declaration... (cached)
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... (cached) yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
creating ./config.status
creating Makefile
creating config.intl
creating config.h
config.h is unchanged
Configuring in gcc
configure: loading cache ./config.cache
checking build system type... Invalid configuration `i386-redhat-linux--with-system-zlib': machine `i386-redhat-linux--with-system' not recognized
configure: error: /bin/sh ../../gcc-3.4.0/gcc/../config.sub i386-redhat-linux--with-system-zlib failed
make: *** [configure-gcc] 错误 1
展开
 我来答
三日月年
2012-12-18 · TA获得超过212个赞
知道小有建树答主
回答量:264
采纳率:0%
帮助的人:223万
展开全部
checking for bison... no

楼主宿主本身要装bison

bison --version | head -n1 看看显示啥,如果没有就先装bison.
另外
ldd --version | head -n1 | cut -d" " -f2- 看看显示啥, 如果没有就装一下glibc
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式