hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "UsingLzoCompression" by RyanRawson
Date Wed, 06 May 2009 20:26:18 GMT
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 RyanRawson:
http://wiki.apache.org/hadoop/UsingLzoCompression

------------------------------------------------------------------------------
   * Download/checkout: [http://code.google.com/p/hadoop-gpl-compression/]
   * Apply the patch attached to this issue: [http://code.google.com/p/hadoop-gpl-compression/issues/detail?id=6]
   * On Linux you may need to apply the patch: [http://code.google.com/p/hadoop-gpl-compression/issues/detail?id=5]
+ 
+ On Mac:
   * On Mac you may be interested in: [http://code.google.com/p/hadoop-gpl-compression/issues/detail?id=7]
-  * Also you will probably have to add the line to build.xml just above the call to 'configure'
in compile-native:
+  * On Mac also you will probably have to add the line to build.xml just above the call to
'configure' in compile-native: 
+ {{{
          <env key="CFLAGS" value="-arch x86_64" />
+ }}}
+ This ensures the library is built in 64 bit mode, because java 1.6 is 64 bit only.  Also
make sure your lzo library is x64_64 as well, type: {{{
+ $ file /usr/local/lib/liblzo2.2.0.0.dylib
+ /usr/local/lib/liblzo2.2.0.0.dylib: Mach-O 64-bit dynamically linked shared library x86_64
+ }}}
+ To build lzo2 from source in 64 bit mode: {{{
+ $ CFLAGS="-arch x86_64" ./configure --build=x86_64-darwin --enable-shared --disable-asm
+ <configure output>
+ $ make 
+ $ sudo make install
+ }}}
  
  Build the native connector library:
   * ant compile-native

Mime
View raw message