Hi,
when I build hadoop snappy, I always encounter "Cannot run program
"autoreconf"" error, I have installed snappy at first.
Have anyone encountered such question before?
thanks!
the whole build message:
[root@master hadoop-snappy]# mvn package -Dsnappy.prefix=/usr/local/
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Hadoop Snappy 0.0.1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
hadoop-snappy ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/root/modules/hadoop-snappy/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
hadoop-snappy ---
[INFO] Compiling 4 source files to
/root/modules/hadoop-snappy/target/classes
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (compile) @ hadoop-snappy ---
[INFO] Executing tasks
main:
checkpreconditions:
compilenative:
[mkdir] Created dir:
/root/modules/hadoop-snappy/target/native-src/config
[mkdir] Created dir: /root/modules/hadoop-snappy/target/native-src/m4
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5.366s
[INFO] Finished at: Tue Jul 10 23:42:20 PDT 2012
[INFO] Final Memory: 9M/22M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.6:run (compile) on project
hadoop-snappy: An Ant BuildException has occured: The following error
occurred while executing this line:
[ERROR] /root/modules/hadoop-snappy/maven/build-compilenative.xml:62:
Execute failed: java.io.IOException: Cannot run program "autoreconf" (in
directory "/root/modules/hadoop-snappy/target/native-src"):
java.io.IOException: error=2, No such file or directory
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException