Created
July 27, 2011 17:32
-
-
Save electrum/1109934 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd src/hadoop-lzo | |
tar xzvf ~/Downloads/lzo-2.05.tar.gz | |
cd lzo-2.05 | |
CFLAGS="-arch x86_64" ./configure --build=x86_64-darwin --enable-shared --disable-asm --prefix=$HOME/hadoop-0.20.2/lzo | |
make -j4 | |
make install | |
cd .. | |
env \ | |
JAVA_HOME=/Library/Java/Home \ | |
C_INCLUDE_PATH=$HOME/hadoop-0.20.2/lzo/include \ | |
LIBRARY_PATH=$HOME/hadoop-0.20.2/lzo/lib \ | |
CFLAGS="-arch x86_64" \ | |
ant clean compile-native test tar | |
mkdir ~/hadoop-0.20.2/lib/native/Mac_OS_X-x86_64-64 | |
cp build/native/Mac_OS_X-x86_64-64/lib/* ~/hadoop-0.20.2/lib/native/Mac_OS_X-x86_64-64/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment