Skip to content

Instantly share code, notes, and snippets.

@derekjn
Last active August 21, 2019 14:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save derekjn/14f95b7ceb8029cd95f5488fb04c500a to your computer and use it in GitHub Desktop.
Save derekjn/14f95b7ceb8029cd95f5488fb04c500a to your computer and use it in GitHub Desktop.
#!/bin/bash
# pkg-config may not be necessary to install on all systems
sudo apt-get install -y wget libtool autoconf automake pkg-config
wget https://github.com/zeromq/libzmq/releases/download/v4.2.5/zeromq-4.2.5.tar.gz && \
tar -xvf zeromq-4.2.5.tar.gz && \
cd zeromq-4.2.5/ && \
./autogen.sh && \
./configure CPPFLAGS=-DPIC CFLAGS=-fPIC CXXFLAGS=-fPIC LDFLAGS=-fPIC --prefix=/usr && \
make && \
make install
@GangLiCN
Copy link

Cool ! This solution works ! pipelinedb source compile succeeded !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment