You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2008/08/21 01:25:25 UTC

[Hadoop Wiki] Update of "HowToRelease" by OwenOMalley

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The following page has been changed by OwenOMalley:
http://wiki.apache.org/hadoop/HowToRelease

The comment on the change is:
added changes to build the pipes library in both 32 and 64 bit mode

------------------------------------------------------------------------------
  }}}
            '''Note:''' If a 64-bit Linux platform is available as well, then both 32-bit and 64-bit libraries may be built.  Instead of the above, perform the following: {{{
  export JAVA_HOME=/path/to/32bit/jdk
+ export CFLAGS=-m32
+ export CXXFLAGS=-m32
  ant -Dversion=X.Y.Z -Dcompile.native=true -Dcompile.c++=true -Dlibhdfs=1 -Declipse.home=/usr/lib/eclipse clean package-libhdfs tar test test-libhdfs
  export JAVA_HOME=/path/to/64bit/jdk
+ export CFLAGS=-m64
+ export CXXFLAGS=-m64
- ant -Dversion=X.Y.Z -Dcompile.native compile-core-native tar
+ ant -Dversion=X.Y.Z -Dcompile.native=true -Dcompile.c++=true compile-core-native compile-c++ tar
  }}}
  	1. Check that release file looks ok - e.g. install it and run examples from tutorial.
          1. Generate the MD5 checksum of the release file. {{{