I had fixed the problem by changing authority of build.xml.
WuZhihua wrote: > > hello everyone, > when I download the "hadoop-2007-08-16_16-45-34.tar.gz", then run the > command " ant -Dcompile.c++=yes examples", the console display the > error: > > Buildfile: build.xml > > init: > [mkdir] Created dir: /home/dw/hadoop-t/build > [mkdir] Created dir: /home/dw/hadoop-t/build/classes > [mkdir] Created dir: /home/dw/hadoop-t/build/src > [mkdir] Created dir: /home/dw/hadoop-t/build/webapps/task/WEB-INF > [mkdir] Created dir: /home/dw/hadoop-t/build/webapps/job/WEB-INF > [mkdir] Created dir: /home/dw/hadoop-t/build/webapps/dfs/WEB-INF > [mkdir] Created > dir: /home/dw/hadoop-t/build/webapps/datanode/WEB-INF > [mkdir] Created dir: /home/dw/hadoop-t/build/examples > [mkdir] Created dir: /home/dw/hadoop-t/build/ant > [mkdir] Created dir: /home/dw/hadoop-t/build/c++ > [mkdir] Created dir: /home/dw/hadoop-t/build/test > [mkdir] Created dir: /home/dw/hadoop-t/build/test/classes > [mkdir] Created dir: /home/dw/hadoop-t/build/test/testjar > [copy] Copying 6 files to /home/dw/hadoop-t/build/webapps > [exec] svn: '.' is not a working copy > [exec] svn: '.' is not a working copy > > record-parser: > > compile-rcc-compiler: > [javac] Compiling 28 source files to /home/dw/hadoop-t/build/classes > [javac] > Note: > /home/dw/hadoop-t/src/java/org/apache/hadoop/record/compiler/generated/Rcc.java > uses unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > > compile-core-classes: > [jsp-compile] log4j:WARN No appenders could be found for logger > (org.apache.jasper.compiler.JspRuntimeContext). > [jsp-compile] log4j:WARN Please initialize the log4j system properly. > [javac] Compiling 367 source files > to /home/dw/hadoop-t/build/classes > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [copy] Copying 2 files to /home/dw/hadoop-t/build/classes > > compile-core-native: > > check-c++-makefiles: > > create-c++-pipes-makefile: > [mkdir] Created dir: /home/dw/hadoop-t/build/c > ++-build/Linux-i386-32/pipes > > BUILD FAILED > /home/dw/hadoop-t/build.xml:865: Execute failed: java.io.IOException: > java.io.IOException: /home/dw/hadoop-t/src/c++/pipes/configure: cannot > execute > > thanks. > > -- View this message in context: http://www.nabble.com/can%27t-build-the-examples-for-pipes-tf4286676.html#a12385375 Sent from the Hadoop Users mailing list archive at Nabble.com.
