[
https://issues.apache.org/jira/browse/MAPREDUCE-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Yang updated MAPREDUCE-2559:
---------------------------------
Attachment: MAPREDUCE-2559-1.patch
Option #1, ant binary must provide -D for a proper build, or the build fails
with this message:
{noformat}
check-xercescroot:
BUILD FAILED
/home/eyang/sandbox/hadoop/git/hadoop-mapreduce/build.xml:1826: 'xercescroot'
is not defined. Please pass -Dxercescroot=<base of xerces 2.8.0 installation>
to Ant on the command-line.
{noformat}
> ant binary fails due to missing c++ lib dir
> -------------------------------------------
>
> Key: MAPREDUCE-2559
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2559
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: build
> Affects Versions: 0.20.3
> Environment: Redhat 5.5, Java 6
> Reporter: Eric Yang
> Assignee: Eric Yang
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-2559-1.patch, MAPREDUCE-2559.patch
>
>
> Post MAPRED-2521 ant binary fails without "-Dcompile.c++=true
> -Dcompile.native=true". The bin-package is trying to copy from the c++ lib
> dir which doesn't exist yet. The binary target should check for the existence
> of this dir or would also be reasonable to depend on the compile-c++ (since
> this is the binary target).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira