How Do I install ZeroMQ on a Ubuntu 14.04.4 x64 droplet ?
Tried installing git and cmake via apt-get and the followed http://zeromq.org/intro:get-the-software trying to install using cmake
I get the following error: CMake Error: The source directory “<directory>” does not appear to contain CMakeLists.txt.
If I’m going about the correctly, what should be my current directory when installing??
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
kudos to person who has actually posted.
site ref: https://gist.github.com/cdjhlee/b8e3c927a01b0948b42d
Script:
#!/usr/bin/bash
############################################## #from http://zeromq.org/intro:get-the-software ##############################################
#get zeromq wget http://download.zeromq.org/zeromq-4.0.5.tar.gz
#unpack tarball package tar xvzf zeromq-4.0.5.tar.gz
#install dependency
sudo apt-get update &&
sudo apt-get install -y libtool pkg-config build-essential autoconf automake uuid-dev
#in zeromq dir cd zeromq-4.0.5
#create make file ./configure
#build and install(root permission only) sudo make install
#install zeromq driver on linux sudo ldconfig
#check installed ldconfig -p | grep zmq ############################################################ #libzmq.so.4 (libc6,x86-64) => /usr/local/lib/libzmq.so.4 #libzmq.so (libc6,x86-64) => /usr/local/lib/libzmq.so ############################################################
For zeromq 4.2.2 Ubuntu 16 here https://gist.github.com/katopz/8b766a5cb0ca96c816658e9407e83d00
It looks like the docs are missing a step. After cloning the repo, you’ll want to cd into the resulting directory and create cmake-build under it as CMakeLists.txt exists in the root of the repo.
- git clone https://github.com/zeromq/libzmq
- cd libzmq
- mkdir cmake-build && cd cmake-build
- cmake .. && make -j 4
- make test && make install && sudo ldconfig
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.