LinuxSir.cn,穿越时空的Linuxsir!

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

求助,编译E17/apps/e 出现错误!

[复制链接]
发表于 2005-11-4 10:54:59 | 显示全部楼层 |阅读模式
求助,编译E17/apps/e 出现错误!

jiang:/home/jiang/e17/apps/e # ./autogen.sh -prefix=/usr
Running aclocal...
aclocal:configure.in:172: warning: macro `AM_GNU_GETTEXT' not found in library
aclocal:configure.in:173: warning: macro `AM_GNU_GETTEXT_VERSION' not found in library
Running autoheader...
Running autoconf...
configure.in:172: error: possibly undefined macro: AM_GNU_GETTEXT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:173: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
 楼主| 发表于 2005-11-4 10:59:35 | 显示全部楼层
经过N次编译,终于到了E17/apps/e这一步,请问这个AM_GNU_GETTEXT是什么东东呀?
回复 支持 反对

使用道具 举报

发表于 2005-11-4 17:47:58 | 显示全部楼层
应该是gettext库没有安装
回复 支持 反对

使用道具 举报

发表于 2005-11-4 17:49:29 | 显示全部楼层
看e/debian/control文件的内容

看看它需要依赖的包有没有安装(虽然你可能不是使用debian 但包名基本上都一样)

另外还有gettext gettext-devel

gettext应该是做i18n需要的(直接实现支持多语言)
回复 支持 反对

使用道具 举报

发表于 2005-11-4 17:50:37 | 显示全部楼层
autoconf与automake的版本号是多少 不要太老 版本太老可能会有问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-4 18:41:39 | 显示全部楼层
我的:
autoconf 2.59-81
automake 1.9.6-2
应该差不多是最新版了

多谢无双我在几个论坛发贴都是你回的呀,太感激了!
回复 支持 反对

使用道具 举报

发表于 2005-11-5 14:06:55 | 显示全部楼层
http://enlightenment.org/Enlight ... enment/Build_Notes/
If you have problems building the source, the most common problems involve old versions of the build tools. If you can't even get autogen.sh to run properly you should check versions of libtool, automake, autoconf, and gettext. Present versions recommended are GNU m4 1.4, autoconf 2.54, automake 1.7, libtool 1.4.3, and gettext 0.11.5. It's also common to have problems with multiple aclocal directories (ie: both /usr/share/aclocal and /usr/local/share/aclocal) which you should fix by moving the contents from one to the other, then remove (or move) the directory and symlink it to the place that you copied the ac's to, that way both aclocal directories point to the same place.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-5 22:31:21 | 显示全部楼层
多谢自然平衡!!!
回复 支持 反对

使用道具 举报

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

本版积分规则

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