Created
March 5, 2013 13:12
-
-
Save missinglink/5090220 to your computer and use it in GitHub Desktop.
Install ZeroMq 3.x on Ubuntu / OSX
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
#!/bin/bash | |
if [[ `uname -s` == 'Darwin' ]]; then | |
brew update | |
brew install libtool autoconf automake | |
else | |
sudo apt-get update | |
sudo apt-get install -y libtool autoconf automake uuid-dev git-core | |
fi | |
cd /tmp | |
rm -rf libzmq | |
git clone [email protected]:zeromq/zeromq3-x.git libzmq | |
cd libzmq | |
git pull origin master | |
./autogen.sh | |
./configure | |
make | |
sudo make install | |
if [[ `uname -s` == 'Darwin' ]]; then | |
# TODO: OSX uses env variables for this, see `man dyld` | |
echo 'NOTE: Not finished OSX changes yet!' | |
else | |
sudo ldconfig | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment