Created
September 8, 2013 13:24
-
-
Save aligusnet/6484685 to your computer and use it in GitHub Desktop.
Build Hadoop pipes for OS X 10.8. In case of pipes linker error "Cannot find libssl.so" try to replace line #4744 and #4808 and in configure LIBS="-lssl $LIBS" to LIBS="-lcrypto $LIBS". Don't forget to add -lcrypto if you build an app with -lhadooppipes.
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
#!/usr/bin/env bash | |
export PLATRORM=darwin-amd64-64 | |
# build and install utils | |
cd $HADOOP_INSTALL/src/c++/utils | |
chmod +x configure install-sh | |
./configure --prefix=$HADOOP_INSTALL/c++/$PLATFORM | |
make install | |
# build and install pipes | |
cd ../pipes | |
chmod +x configure install-sh | |
./configure --prefix=$HADOOP_INSTALL/c++/$PLATFORM | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment