Hadoop源码编译到eclipse

将Hadoop源代码导入eclipse,是使用命令:

ant eclipse

 的,在编译过程中,出现了下面几个错误,记录下:

1. 提示1:

Execute failed: java.io.IOException: Cannot run program "autoreconf"

提示比较明确,没有:autoreconf

2.  提示2:

autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal  --output=aclocal.m4t
Can't exec "aclocal": No such file or directory at

 解决:

`aclocal' is part of automake package, try to  install it first.

需要安装:automake

之后就ok了;

参考了 

编译hadoop 1.0.3 eclipse plugin jar包

参考文档2

相关推荐