Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> Build error:Target "package-libhdfs" does not exist in the project "Hadoop".


Copy link to this message
-
Build error:Target "package-libhdfs" does not exist in the project "Hadoop".
Got this error,configuration is :
I have checked out source
from:https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-append/

this is my build script:
//////////////////////////////////////////////////////////////////////////////////
#!/bin/bash
VERSION=0.20.0-append
ANT_HOME=/home/alex/Software/ant-1.8.2
XERCES_HOME=/home/alex/Software/xerces-c_2_8
FORREST_HOME=/home/alex/Software/forrest-0.8
ECLIPSE_HOME=/media/Backup/eclipse/eclipse_with_va
JDIFF_HOME=/home/alex/Software/jdiff-1.1.1
JAVA5_HOME=/usr/local/hadoop/jdk1.5.0_22
JAVA32_HOME=/usr/local/hadoop/jdk1.6.0_24_i586
JAVA64_HOME=/usr/local/hadoop/jdk1.6.0_24

set -x

ulimit -n 1024

### BUILD_ID is set by Hudson
#trunk=`pwd`/trunk

cd /home/alex/Software/branch-0.20-append

export JAVA_HOME=$JAVA32_HOME
export CFLAGS=-m32
export CXXFLAGS=-m32
$ANT_HOME/bin/ant -Dversion=$VERSION -Dcompile.native=true -Dcompile.c
++=true -Dlibhdfs=1 -Dlibrecordio=true -Dxercescroot=$XERCES_HOME
-Declipse.home=$ECLIPSE_HOME -Djdiff.home=$JDIFF_HOME -Djava5.home$JAVA5_HOME -Dforrest.home=$FORREST_HOME clean docs package-libhdfs
api-report tar test test-c++-libhdfs

RESULT=$?
if [ $RESULT != 0 ] ; then
  echo "Build Failed: 64-bit build not run"
  exit $RESULT
fi

export JAVA_HOME=$JAVA64_HOME
export CFLAGS=-m64
export CXXFLAGS=-m64
$ANT_HOME/bin/ant -Dversion=$VERSION -Dcompile.native=true -Dcompile.c
++=true compile-core-native compile-c++ tar
//////////////////////////////////////////////////////////////////////////////////////////////////

this is error message:
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  [exec]
     [exec]   Copying broken links file to site root.
     [exec]      
     [exec] Copying 1 file
to /home/alex/Software/branch-0.20-append-bak/src/docs/cn/build/site
     [exec]
     [exec] -----------------------------
     [exec] Static site was successfully generated at:

[exec] /home/alex/Software/branch-0.20-append-bak/src/docs/cn/build/site
     [exec] ------------------------------
     [exec]    
     [exec]
     [exec] BUILD SUCCESSFUL
     [exec] Total time: 41 seconds
     [copy] Copying 107 files
to /home/alex/Software/branch-0.20-append-bak/build/docs/cn
     [copy] Copied 7 empty directories to 3 empty directories
under /home/alex/Software/branch-0.20-append-bak/build/docs/cn
    [style] Warning: the task name <style> is deprecated. Use <xslt>
instead.
    [style] Transforming
into /home/alex/Software/branch-0.20-append-bak/build/docs/cn
    [style]
Processing /home/alex/Software/branch-0.20-append-bak/src/core/core-default.xml to /home/alex/Software/branch-0.20-append-bak/build/docs/cn/core-default.html
    [style] Loading
stylesheet /home/alex/Software/branch-0.20-append-bak/conf/configuration.xsl
    [style] Warning: the task name <style> is deprecated. Use <xslt>
instead.
    [style] Transforming
into /home/alex/Software/branch-0.20-append-bak/build/docs/cn
    [style]
Processing /home/alex/Software/branch-0.20-append-bak/src/hdfs/hdfs-default.xml to /home/alex/Software/branch-0.20-append-bak/build/docs/cn/hdfs-default.html
    [style] Loading
stylesheet /home/alex/Software/branch-0.20-append-bak/conf/configuration.xsl
    [style] Warning: the task name <style> is deprecated. Use <xslt>
instead.
    [style] Transforming
into /home/alex/Software/branch-0.20-append-bak/build/docs/cn
    [style]
Processing /home/alex/Software/branch-0.20-append-bak/src/mapred/mapred-default.xml to /home/alex/Software/branch-0.20-append-bak/build/docs/cn/mapred-default.html
    [style] Loading
stylesheet /home/alex/Software/branch-0.20-append-bak/conf/configuration.xsl

changes-to-html:

BUILD FAILED
Target "package-libhdfs" does not exist in the project "Hadoop".
///////////////////////////////////////////////////////////////////////////////////////////////////

I have tried to googling,but not solution available,can anybody to
help?Thank you.