找回密码
 注册
查看: 1333|回复: 6

明明装了Autoconf-2.59,却报错说没有2.50

[复制链接]
发表于 2004-10-8 12:07:56 | 显示全部楼层 |阅读模式
系统里明明已经Emerge了Autoconf-2.59,但在装一些软件的时候却报错没有找到Autoconf-2.50 or higher.这究竟是怎么一回事情?
 楼主| 发表于 2004-10-8 12:10:57 | 显示全部楼层
解决了,需要设置WANT_AUTOCONF_2_5=1
回复

使用道具 举报

发表于 2004-10-10 14:36:23 | 显示全部楼层
can you tell me how do you set this?
i cannt emerge emacs. it alway said that cannt find autoconf2.5 of higher


sorry
i am ok
export  ........
now, i am emerging emacs.
回复

使用道具 举报

发表于 2004-10-10 14:42:01 | 显示全部楼层
看一下你的/usr/include/linux/目录下有没有autoconf.h文件.
回复

使用道具 举报

发表于 2004-10-10 14:54:04 | 显示全部楼层
help!
i cannt emerge emacs successly!
it is first time i installed gentoo!
help!


cd /var/tmp/portage/emacs-21.3-r3/work/emacs-21.3 && autoconf
aclocal.m4:30: error: m4_defn: undefined macro: _m4_divert_diversion
autoconf/c.m4:870: AC_PROG_CC_STDC is expanded from...
aclocal.m4:30: the top level
autom4te-2.59: /usr/bin/m4 failed with exit status: 1
make: *** [/var/tmp/portage/emacs-21.3-r3/work/emacs-21.3/configure] Error 1
creating lib-src/Makefile
creating src/Makefile
cd /var/tmp/portage/emacs-21.3-r3/work/emacs-21.3 && autoconf
aclocal.m4:30: error: m4_defn: undefined macro: _m4_divert_diversion
autoconf/c.m4:870: AC_PROG_CC_STDC is expanded from...
aclocal.m4:30: the top level
autom4te-2.59: /usr/bin/m4 failed with exit status: 1
make: *** [/var/tmp/portage/emacs-21.3-r3/work/emacs-21.3/configure] Error 1

!!! ERROR: app-editors/emacs-21.3-r3 failed.
!!! Function src_compile, Line 82, Exitcode 2
!!! (no error message)
回复

使用道具 举报

发表于 2004-10-10 20:33:36 | 显示全部楼层
过两天update一下,看看可不可以解决,以前是autoconf的版本问题,现在不是很清楚.
回复

使用道具 举报

 楼主| 发表于 2004-11-2 08:51:17 | 显示全部楼层
autoconf可以根据需要自动选择版本。
如果你需要2.5版本系列,设置环境参数即可
#export WANT_AUTOCONF_2_5=1
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-7-20 20:59 , Processed in 0.025253 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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