Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.
The following page has been changed by Arun C Murthy: http://wiki.apache.org/lucene-hadoop/NativeHadoop ------------------------------------------------------------------------------ * [http://www.zlib.net/ zlib-development package] (stable version >= 1.2.0) * [http://www.oberhumer.com/opensource/lzo/ lzo-development package] (stable version >= 2.0) - Once you have the pre-requisites use the standard ''build.xml'' and pass along the '''compile.native''' flag (set to '''true''') to build the native-hadoop library (not built by default): + Once you have the pre-requisites use the standard ''build.xml'' and pass along the '''compile.native''' flag (set to '''true''') to build the native-hadoop library: [[BR]] {{{$ ant -Dcompile.native=true <target> }}} + The native-hadoop library is not built by default since not everyone is interested in using them. That's it! You should see the newly-built native-hadoop library in: [[BR]] @@ -70, +71 @@ where <platform> is combination of the system-properties: ''{os.name}-{os.arch}-{sun.arch.data.model}''; for e.g. ''Linux-i386-32'' '''Notes''': - * It is '''mandatory''' to have both the zlib and lzo development packages on the target platform for ''building'' the native-hadoop library; however for deployment it is sufficient to have install zlib ''or'' lzo if you wish to use only one of them. + * It is '''mandatory''' to have both the zlib and lzo development packages on the target platform for ''building'' the native-hadoop library; however for deployment it is sufficient to install zlib ''or'' lzo if you wish to use only one of them. * It is necessary to have the correct 32/64 libraries of both zlib/lzo depending on the 32/64 bit jvm for the target platform for building/deployment of the native-hadoop library.