You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by Thoihen Maibam <th...@gmail.com> on 2013/04/26 21:23:29 UTC

Build failed for Hadoop-1.0.4

Hi All,

Can anybody help me in resolving the build error, below is the error I got

BUILD FAILED
F:\HADOOP COMMIT 1.1.4\Hadoop-1.0.4\build.xml:618: Execute failed:
java.io.IOException: Cannot run program "autoreconf" (in directory
"F:\HADOOP COMMIT 1.1.4\Hadoop-1.0.4\src\native"): CreateProcess error=2,
The system cannot find the file specified.

1. Downloaded Hadoop-1.0.4 in windows eclipse.
2. Configured ant in eclipse and copied ivy.jar in ant/lib file

Goal: I just wanted to build Hadoop in windows environment just to go
through the code and familiarize myself with the Hadoop code base, would
install cygwin later  on and run. Initially, I build one of the Hadoop
version(I don't remember which one but was successful in building with ant
but now I got this error, file missing.

Regards
thoihen


Regards
thoihen

Re: Build failed for Hadoop-1.0.4

Posted by Harsh J <ha...@cloudera.com>.
1. To built 1.0.4 specifically, you will also need Cygwin installed
and on your Windows PATH. I'd suggest instead using branch-1-win (no
Apache releases yet though) from the source repository.
2. You need autoconf, automake, cmake, etc. installed for building a
fully configured, native-libs including tarball. I doubt if even with
Cygwin that'd work with 1.0.4 so you can rather try to run a simple
"ant jar" instead, or specifically disable native lib building.

On Sat, Apr 27, 2013 at 12:53 AM, Thoihen Maibam <th...@gmail.com> wrote:
> Hi All,
>
> Can anybody help me in resolving the build error, below is the error I got
>
> BUILD FAILED
> F:\HADOOP COMMIT 1.1.4\Hadoop-1.0.4\build.xml:618: Execute failed:
> java.io.IOException: Cannot run program "autoreconf" (in directory
> "F:\HADOOP COMMIT 1.1.4\Hadoop-1.0.4\src\native"): CreateProcess error=2,
> The system cannot find the file specified.
>
> 1. Downloaded Hadoop-1.0.4 in windows eclipse.
> 2. Configured ant in eclipse and copied ivy.jar in ant/lib file
>
> Goal: I just wanted to build Hadoop in windows environment just to go
> through the code and familiarize myself with the Hadoop code base, would
> install cygwin later  on and run. Initially, I build one of the Hadoop
> version(I don't remember which one but was successful in building with ant
> but now I got this error, file missing.
>
> Regards
> thoihen
>
>
> Regards
> thoihen



-- 
Harsh J